LOAD_XRAY_ABS#
Name#
LOAD_XRAY_ABS
Purpose#
Loads the specified X-ray absorption model,and interpolates it to the input wavelength grid.
Calling Sequence#
exp_neg_tau_xray = load_xray_abs(wave, xray_abs_model)
Inputs#
waveint, float or double array(Nwave)A grid of wavelengths to be interpolated from the read in X-ray absorption model \([\mu \rm m]\).
xray_abs_modelstring scalarThe name of the X-ray absorption model to apply to the X-ray emission. Current options are
'TBABS-WILM','ATTEN', and'NONE'.
Output#
exp_neg_tau_xrayfloat or double array(Nwave)The absorption in terms of \(e^{-\tau}\) interpolated from the read in X-ray absorption model.
Modification History#
2021/09/21: Created (Erik B. Monson).
2022/06/21: Added documentation (Keith Doore)
2022/06/21: Converted to using
configfromcurvekeyword (Keith Doore)2022/07/01: Converted from
configtoxray_abs_modelkeyword since it was the only accessed value fromconfig(Keith Doore)