FitInfo

class sedfitter.fit_info.FitInfo(source=None)

Bases: object

Results from a fit of a set of models to a source.

Methods Summary

filter_table(input_table[, additional]) Given an input table, return only the rows matching the FitInfo object, and in the same order.
keep(select_format) Keep only a fraction of fits.
sort() Sort the fit results from best to worst based on the chi^2 value.

Methods Documentation

filter_table(input_table, additional={})

Given an input table, return only the rows matching the FitInfo object, and in the same order.

Parameters:
input_table : ~astropy.table.Table

The input table to filter and sort

additional : dict, optional

Additional columns to include in the table. This can be specified as a dictionary of Numpy arrays, where the key of the dictionary is the name of the column to add to the table.

keep(select_format)

Keep only a fraction of fits.

Parameters:
select_format : tuple, optional

Tuple specifying which fits should be output. See the documentation for a description of the tuple syntax.

sort()

Sort the fit results from best to worst based on the chi^2 value.