trident.line_database.LineDatabase.load_line_list_from_file

LineDatabase.load_line_list_from_file(filename)[source]

Load a line list from a file into the LineDatabase. Line list file is a tab-delimited text file in the format:

element, ion_state, wavelength, gamma, f_value, (name)

H, I, 1215.67, 4.69e8, 4.16e-1, Ly a

Parameters

filename : string

The filename of the list to add. First looks in trident.__path__/data/line_lists directory, then in cwd.