The slbw module provides utility functions to generate resonant cross-sections using the Single-Level Breit-Wigner formalism.
More...
The slbw module provides utility functions to generate resonant cross-sections using the Single-Level Breit-Wigner formalism.
This is most helpful for PINSPEC applications which are temperature- dependent and require doppler broadening effects to be treated for resonant absorbers.
- Author
- Jessica Hunter
- Date
- April 17, 2013
def pinspec.slbw.buildSLBWXS |
( |
|
isotope, |
|
|
|
temp, |
|
|
|
xs_type = 'capture' , |
|
|
|
number_of_pos_res = 14 , |
|
|
|
energy_min = 1e-5 , |
|
|
|
energy_max = 20E6 , |
|
|
|
upper_energy_limit_identical_res = 1000.0 , |
|
|
|
energy_bin_width = 0.075 , |
|
|
|
resonance_spacing_identical_res = 25 , |
|
|
|
lower_bound_identical_res = 300 , |
|
|
|
gamma_gamma_identical_res = 0.023 , |
|
|
|
flat_xs = 0.1 |
|
) |
| |
Function to create resonant capture and scatter cross-sections.
Generates the cross-section at some temperature using resonance data and the Single-Level Breit-Wigner formalism. Function broadens a specific number of resonances from the ENDFB-VII library, then creates identical resonances with even spacing to a specified energy limit, and then a specific flat cross section for the remaining energy. When generating elastic cross sections, the flat cross section is set to the potential scattering value.
2 slbw.SLBWXS(u238, temp,
'capture')
- Parameters
-
isotope | the isotope of interest |
temp | the temperature in degrees Kelvin |
xs_type | an optional argument string for the cross-section type |
number_of_pos_res | the number of positive resonance to use with |
energy_min | the minimum energy at which to generate the cross-section (eV) |
energy_max | the maximum energy of the cross section (eV) |
upper_energy_limit_identical_res | the upper energy limit of the equally spaced, identical resonances section |
energy_bin_width | the width of the energy bin for the cross section |
resonance_spacing_identical_res | the spacing between resonance peaks for the identical resonances section |
lower_bound_identical_res | the lower energy bound for the identical resonances section |
gamma_gamma_identical_res | the value for the identical resonances section |
flat_xs | a flat cross section used for the capture cross section above the identical resonances region |