opticam.fitting.routines

Functions

fit_rms_vs_flux(data)

Iteratively fit a straight line (in log space) to the RMS vs flux plots for each catalog. This can be used to

Module Contents

opticam.fitting.routines.fit_rms_vs_flux(data)

Iteratively fit a straight line (in log space) to the RMS vs flux plots for each catalog. This can be used to identify variable sources and good comparison sources.

Parameters

dataDict

The RMS vs flux data.

Returns

Dict[str, Dict[str, NDArray]]

The power law fits for each filter {filter: {‘flux’: NDArray, ‘rms’: NDArray}}.

Parameters:

data (Dict)

Return type:

Dict[str, Dict[str, numpy.typing.NDArray]]