wgfaRead¶
-
ChiantiPy.tools.io.wgfaRead(ions, filename=None, elvlcname=0, 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 ‘pretty1’ and ‘pretty2’ keys of ‘Wgfa’ dict
total :
boolReturn the summed level 2 avalue data in ‘Wgfa’
verbose :
boolReturns: Wgfa :
dictInformation read from the .wgfa file. The dictionary structure is {“lvl1”,”lvl2”,”wvl”,”gf”,”avalue”,”ref”,”ionS”,”filename”}
See also
ChiantiPy.tools.archival.wgfaRead- Read .wgfa file with the old format.