wgfaRead¶
-
ChiantiPy.tools.archival.wgfaRead(ions, filename=None, elvlcname=-1, total=False, verbose=False)[source] [edit on github]¶ Read CHIANTI data from a .wgfa file.
Parameters: ions :
strIon, e.g. ‘c_5’ for C V
filename :
strCustom filename, will override that specified by
ionselvlcname :
strIf specified, the lsj term labels are returned in the
pretty1andpretty2keys ofWgfatotal :
boolReturn the level 2 avalue data in
Wgfaverbose :
boolReturns: Wgfa :
dictInformation read from the .wgfa file. The dictionary structure is {“lvl1”,”lvl2”,”wvl”,”gf”,”avalue”,”ref”,”ionS”,”filename”}
See also
ChiantiPy.tools.io.wgfaRead- Read .wgfa file with the new format.
Notes
This is text-wise not different than the v8 version except that it uses the archival elvlcRead in
archivalthough this has now been commented out. Can this routine be removed? Should the elvlcRead routine be uncommented?