autowisp.diagnostics.detrending module
Class Inheritance Diagram

Functions for extracting diagnostics for the detrending steps.
- autowisp.diagnostics.detrending.detect_magfit_stat_columns(stat, num_stat_columns, skip_first_stat=False)[source]
Automatically detect the relevant columns in the magfit statistics file.
- Parameters:
stat (pandas.DataFrame) – The statistics .
- Returns:
- list:
The indices of the columns (starting from zero) containing the number of unrejected frames for each extracted photometry.
- list:
The indices of the columns (starting from zero) containing the scatter (e.g. median deviation around the median for magfit).
- list:
The indices of the columns (starting from zero) containing the median of the formal magnitude error, or None if that is not tracked.
- Return type:
- autowisp.diagnostics.detrending.find_magfit_stat_catalog(master_id)[source]
Return the statistics and catalog generated during given magfit step.