calc_residual#

stellarphot.utils.calc_residual(new_cal, catalog)[source]#

Calculate the standard deviations of the residuals between the new calibrated magnitude and the catalog magnitude.

Parameters:
new_calnumpy.ndarray

New calibrated magnitudes.

catalognumpy.ndarray

Catalog magnitudes.

Returns:
float

Standard deviation of the residual.