scale_classical

ChiantiPy.tools.util.scale_classical(inDict, ip)[source] [edit on github]

to apply the ‘classical’ scaling to the input data

Parameters:

inDict: dictionary

the input dictionary should have the following key pairs

energy and cross or temperature and rate

energy: array-like

energy values of the cross-section

cross: array-like

a cross-section

temperature: array-like

rate: array-like

ip: float

the ionization potential. Typically in eV.

Returns

the following keys are added to inDict

——-

{‘csEnergy’, ‘csCross’, ‘ip’} or {‘csTemperature’, ‘csRate’, ‘ip’}