Standard Star Fields

We need to calibrate our data. The first step is to photometer our standard star images and then compare these measurements to the Landolt standard star data.

In the following, I concentrate on inferring the B and V calibrations without corrections for atmospheric extinction (the airmass term). With some close reading, this notebook can be extended to cover R (and even I) band calibrations and atmospheric extinction.

Now we need to read in our images. THese images must be fully processed (e.g., bias-, dark-, and flat field-corrected) and must have a world-coordinate system (WCS) (from, e.g., astrometry.net: link) and airmasses in their headers.

Now we fit the data to produce the calibrations to give magnitude differences from the "true" (Landolt) magnitudes in terms of color (and airmass, if the range is large enough).

Apply the calibration

The calibrations are given in the form $$X_{true}-X_{instrumental} = a_0 + a_1 \times (X-Y)_{true}\\ Y_{true}-Y_{instrumental} = b_0 + b_1 \times (X-Y)_{true},$$ so they need to be inverted to solve for $X_{true}$ (and $(X-Y)_{true}$) in terms of $X_{instrumental}$ and $(X-Y)_{instrumental}$.

Here we assume that the $B$- and $V$-band photometry results are stored in astropy.Table tables called photB and photV, respectively.