Dose simulation

I’m new to openmc。
I am currently doing dose simulation of BNCT, which needs to simulate neutron dose, gamma dose, boron dose, hydrogen dose and so on.

On the forum, you see that you use the.dose_Coefficients function to simulate the dose. Such as:

particle_filte = openmc.ParticleFilter('neutron')
filter_cell = openmc.CellFilter((cell1))

tally1 = openmc.Tally()
energy, dose = openmc.data.dose_coefficients('neutron','AP' )
dose_filter = openmc.EnergyFunctionFilter(energy, dose)
tally1.filters = [filter_cell, particle_filte, dose_filter]
tally1.scores = ['flux']

AP refers to frontal incidence and has a corresponding kerma factor。
MOW,I want to replace the kerma factor for AP with the kerma factor for boron dose in order to calculate the boron dose。
I want to know, what do I do?
thanks!

Hi Zengjie

The dose_coefficients returns this data which is list of energy and dose values. Perhaps you can replace these lists with your own list of values.