autoRead

ChiantiPy.tools.io.autoRead(ions, filename=None, total=True, verbose=False)[source] [edit on github]

Read CHIANTI autoionization rates from a .auto file.

Parameters:

ions : str

Ion, e.g. ‘c_5’ for C V

filename : str

Custom filename, will override that specified by ions

elvlcname : str

If specified, the lsj term labels are returned in the ‘pretty1’ and ‘pretty2’ keys of ‘Wgfa’ dict

total : bool

Return the summed level 2 autoionization rates in ‘Auto’

verbose : bool

Returns:

Auto : dict

Information read from the .wgfa file. The dictionary structure is {“lvl1”, “lvl2”, “avalue”, “pretty1”, “pretty2”, “ref”,”ionS”, “filename”}