Package chianti :: Module archival
[hide private]
[frames] | no frames]

Module archival

source code

Functions [hide private]
 
elvlcWrite(info, outfile=0, addLvl=0)
creates a .elvlc in the current directory info is a dictionary that must contain the following keys ionS, the Chianti style name of the ion such as c_4 conf, an integer denoting the configuration - not too essential 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.
source code
 
wgfaRead(ions, filename=0, elvlcname=-1, total=0, verbose=0)
this is text-wise not different that the v8.0 util.wgfaRead except that it uses the archival elvlcRead above
source code
Variables [hide private]
  __package__ = 'chianti'
Function Details [hide private]

elvlcWrite(info, outfile=0, addLvl=0)

source code 

creates a .elvlc in the current directory info is a dictionary that must contain the following keys ionS, the Chianti style name of the ion such as c_4 conf, an integer denoting the configuration - not too essential 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 the output filename will be ionS+'.elvlc' unless outfile is specified addLvl is to add a constant value to the index of all levels

wgfaRead(ions, filename=0, elvlcname=-1, total=0, verbose=0)

source code 

this is text-wise not different that the v8.0 util.wgfaRead except that it uses the archival elvlcRead above

reads chianti wgfa file and returns {"lvl1":lvl1,"lvl2":lvl2,"wvl":wvl,"gf":gf,"avalue":avalue,"ref":ref} if elvlcname is specified, the lsj term labels are returned as 'pretty1' and 'pretty2'