_get_integrand#
- sunkit_spex.legacy.emission._get_integrand(x_log, *, model, electron_dist, photon_energy, z, efd=True)[source]#
Return the value of the integrand for the thick- or thin-target bremsstrahlung models.
- Parameters:
x_log (
numpy.array) – Log of the electron energiesmodel (
str) – Eitherthick-targetorthin-targetelectron_dist (
BrokenPowerLawElectronDistribution) – Electron distribution as function of energyphoton_energy (
numpy.array) – Photon energiesz (
float) – Mean atomic number of plasmaefd (
bool(optional)) – True (default) the electron flux distribution (electrons cm^-2 s^-1 keV^-1) is calculated withflux. False, the electron density distribution (electrons cm^-3 keV^-1) is calculated withdensity.
- Returns:
The values of the integrand at the given electron_energies
- Return type:
References
See SSW brm2_fthin.pro and brm2_fouter.pro.