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
DataFrameParameters: - rest_lines (list of str or list of float) – Names (as defined here) or positions of the lines at rest.
- fit (dict) – the
fit_paramsin the output of a fit from orcs (e.g. output fromorcs.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: