Catalog field names and keys needed to aperture correct a particular
instrument flux.
Parameters
----------
schema : `lsst.afw.table`
Source catalog schema. Three fields are used to generate keys:
- ``{name}_instFlux``
- ``{name}_instFluxErr``
- ``{name}_flag``
Three fields are added:
- ``{name}_apCorr`` (only if not already added by proxy)
- ``{name}_apCorrErr`` (only if not already added by proxy)
- ``{name}_flag_apCorr``
model : `str`
Field name prefix for instFlux with aperture correction model, e.g.
"base_PsfFlux"
name : `str`
Field name prefix for instFlux needing aperture correction; may be
`None` if it is the same as ``model``
Notes
-----
The aperture correction can be derived from the meaasurements in the
column being aperture-corrected or from measurements in a different
column (a "proxy"). In the first case, we will add columns to contain
the aperture correction values; in the second case (using a proxy),
we will add an alias to the proxy's aperture correction values. In
all cases, we add a flag.
Attributes
----------
name : str
Field name prefix for flux needing aperture correction.
modelName : str
Field name for aperture correction model for flux.
modelSigmaName : str
Field name for aperture correction model for fluxErr.
doApCorrColumn : bool
Should we write the aperture correction values?
They should not be written if they're already being written by a proxy.
instFluxName : str
Name of ``instFlux`` field.
instFluxErrName : str
Name of ``instFlux`` sigma field.
Definition at line 41 of file applyApCorr.py.