autowisp.magnitude_fitting.linear module
Class Inheritance Diagram

Implement magnitude fitting using linear regression.
- class autowisp.magnitude_fitting.linear.LinearMagnitudeFit(*, config, **kwargs)[source]
Bases:
MagnitudeFit
Differential photometry correction using linear regression.
- __init__(*, config, **kwargs)[source]
Initialize a magnitude fitting object using linear least squares.
- Parameters:
config –
An object with attributes configuring how to perform magnitude fitting. It should provide at least the arguments required by the parent class and the following:
correction_parametrization: As string that expands to the terms to include in the magnitude fitting correction.
max_mag_err: The largest the formal magnitude error is allowed to be before the source is excluded.
noise_offset: Additional offset to format magnitude error estimates when they are used to determine the fitting weights.
error_avg: See same name argument to autowisp.fit_expression.iterative_fit().
rej_level: See same name argument to autowisp.fit_expression.iterative_fit().
max_rej_iter: See same name argument to autowisp.fit_expression.iterative_fit().
- Returns:
None