23 """Registry for names of flux fields that should be aperture corrected
25 from builtins
import str
27 __all__ = (
"addApCorrName",
"getApCorrNameSet")
30 _ApCorrNameSet = set()
34 """!Add to the set of field name prefixes for fluxes that should be aperture corrected
36 @param[in] name field name prefix for a flux that should be aperture corrected.
37 The corresponding field names are {name}_flux, {name}_fluxSigma and {name}_flag.
38 For example name "base_PsfFlux" corresponds to fields base_PsfFlux_flux,
39 base_PsfFlux_fluxSigma and base_PsfFlux_flag.
42 _ApCorrNameSet.add(str(name))
46 """!Return a copy of the set of field name prefixes for fluxes that should be aperture corrected
48 For example the returned set will likely include "base_PsfFlux" and "base_GaussianFlux".
51 return _ApCorrNameSet.copy()
def getApCorrNameSet
Return a copy of the set of field name prefixes for fluxes that should be aperture corrected...
def addApCorrName
Add to the set of field name prefixes for fluxes that should be aperture corrected.