parse_line_params

sitelle.fit.parse_line_params(rest_lines, fit, error=True, wavenumber=True)

Parse the fitted parameters to display them as a nice DataFrame

Parameters:
  • rest_lines (list of str or list of float) – Names (as defined here) or positions of the lines at rest.
  • fit (dict) – the fit_params in the output of a fit from orcs (e.g. output from orcs.core.HDFCube.fit_lines_in_spectrum)
  • error (bool) – if True, the errors are also parsed (Default = True)
  • wavenumber (bool) – if True, output is in wavenumber (else in wavelength). Default = True
Returns:

table – Table containing all information about the fitted lines, easier to read

Return type:

DataFrame