GenericParser#

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

Bases: object

Base class for CHIANTI file parsers

Attributes Summary

Methods Summary

extract_footer(lines)

Extract metadata from raw text and format appropriately.

parse()

Generate Astropy QTable from a CHIANTI ion file

postprocessor(df)

Default postprocessor method run on the whole dataframe

preprocessor(table, line, *args)

Default preprocessor method run on each line ingested.

to_hdf5(*args, **kwargs)

Attributes Documentation

descriptions = []#
dtypes = []#
headings = []#
units = []#

Methods Documentation

Extract metadata from raw text and format appropriately.

parse()[source]#

Generate Astropy QTable from a CHIANTI ion file

postprocessor(df)[source]#

Default postprocessor method run on the whole dataframe

preprocessor(table, line, *args)[source]#

Default preprocessor method run on each line ingested.

to_hdf5(*args, **kwargs)[source]#