fiasco currently only supports version 8 of the CHIANTI database.

KlgfbParser#

class fiasco.io.sources.KlgfbParser(filename, **kwargs)[source]#

Bases: GenericParser

Free-bound gaunt factor as a function of photon energy for several different energy levels.

Attributes Summary

descriptions

dtypes

filetype

headings

units

Methods Summary

extract_footer(*args)

Extract metadata from raw text and format appropriately.

preprocessor(table, line, index)

Default preprocessor method run on each line ingested.

to_hdf5(hf, df, **kwargs)

Attributes Documentation

descriptions = ['principal quantum number', 'orbital angular momentum number', 'log photon energy divided by ionization potential', 'log free-bound Gaunt factor']#
dtypes = [<class 'int'>, <class 'int'>, <class 'float'>, <class 'float'>]#
filetype = 'klgfb'#
headings = ['n', 'l', 'log_pe', 'log_gaunt_factor']#
units = [None, None, Unit(dimensionless), Unit(dimensionless)]#

Methods Documentation

Extract metadata from raw text and format appropriately.

preprocessor(table, line, index)[source]#

Default preprocessor method run on each line ingested.

to_hdf5(hf, df, **kwargs)[source]#