elvlcWrite¶
-
ChiantiPy.tools.io.elvlcWrite(info, outfile=None, round=0, addLvl=0, includeRyd=False, includeEv=False)[source] [edit on github]¶ Write Chianti data to .elvlc file.
Parameters: info :
dictInformation about the Chianti data to write. Should contain the following keys: ionS, the Chianti style name of the ion such as c_4 term, a string showing the configuration spin, an integer of the spin of the state in LS coupling l, an integer of the angular momentum quantum number spd, an string for the alphabetic symbol of the angular momemtum, S, P, D, etc j, a floating point number, the total angular momentum ecm, the observed energy in inverse cm, if unknown, the value is 0. eryd, the observed energy in Rydbergs, if unknown, the value is 0. ecmth, the calculated energy from the scattering calculation, in inverse cm erydth, the calculated energy from the scattering calculation in Rydbergs ref, the references in the literature to the data in the input info
outfile :
strOutput filename. ionS+’.elvlc’ (in current directory) if None
round :
intinput to `np.round’ to round input values to maintain the correct number of significant figures
addLvl :
intAdd a constant value to the index of all levels
includeRyd :
boolIf True, write the Rydberg energies in the extended area, delimited by a comma
includeEv :
boolIf True, write the energies in eV in the extended area, delimited by a comma
See also
ChiantiPy.tools.archival.elvlcWrite- Write .elvlc file using the old format.
Notes
For use with files created after elvlc format change in November 2012