FgcmBuildStarsTableTask¶
FgcmBuildStarsTableTask
finds all the single-visit sources in a repository (or a subset based on command-line parameters) from sourceTable_visit
parquet tables and extracts all the potential photometric calibration stars for input into fgcm.
This task additionally uses fgcm to match star observations into unique stars, and performs as much cleaning of the input catalog as possible.
This is the second task in a typical fgcmcal
processing chain.
The first is FgcmMakeLutTask, the third is FgcmFitCycleTask, and the fourth is FgcmOutputProductsTask.
Processing summary¶
FgcmBuildStarsTableTask
runs this sequence of operations:
Finds unique visits and collates visit metadata, including exposure time, pointing, typical psf size, background level.
Reads in all sources, selecting good stars according to the chosen source selector.
Matches sources internally across bands to get a unique multi-band list of possible calibration stars.
Matches possible calibration stars to a reference catalog.
All results are stored in the output repo
fgcm-process
directory.
Python API summary¶
from lsst.fgcmcal.fgcmBuildStarsTable import FgcmBuildStarsTableTask
-
class
FgcmBuildStarsTableTask
(initInputs=None, **kwargs) Build stars for the FGCM global calibration, using sourceTable_visit catalogs
...
- attributeconfig
Access configuration fields and retargetable subtasks.
See also
See the FgcmBuildStarsTableTask
API reference for complete details.
Retargetable subtasks¶
fgcmLoadReferenceCatalog¶
- Default
lsst.fgcmcal.fgcmLoadReferenceCatalog.FgcmLoadReferenceCatalogTask
- Field type
FGCM reference object loader
sourceSelector¶
- Default
'science'
- Field type
Single-selection
RegistryField
- Choices
'science'
lsst.meas.algorithms.sourceSelector.ScienceSourceSelectorTask
'references'
lsst.meas.algorithms.sourceSelector.ReferenceSourceSelectorTask
'null'
lsst.meas.algorithms.sourceSelector.NullSourceSelectorTask
'objectSize'
lsst.meas.algorithms.objectSizeStarSelector.ObjectSizeStarSelectorTask
'flagged'
lsst.meas.algorithms.flaggedSourceSelector.FlaggedSourceSelectorTask
'astrometry'
lsst.meas.algorithms.astrometrySourceSelector.AstrometrySourceSelectorTask
'matcher'
lsst.meas.algorithms.matcherSourceSelector.MatcherSourceSelectorTask
'diaCatalog'
lsst.ip.diffim.diaCatalogSourceSelector.DiaCatalogSourceSelectorTask
How to select sources
Configuration fields¶
apertureInnerInstFluxField¶
Full name of instFlux field that contains inner aperture flux for aperture correction proxy
apertureOuterInstFluxField¶
Full name of instFlux field that contains outer aperture flux for aperture correction proxy
coarseNside¶
Healpix coarse Nside for partitioning matches
connections¶
- Data type
lsst.pipe.base.config.FgcmBuildStarsTableConfigConnections
- Field type
Configurations describing the connections of the PipelineTask to datatypes
densityCutMaxPerPixel¶
Density cut number of stars per pixel
densityCutNside¶
Density cut healpix nside
doApplyWcsJacobian¶
Apply the jacobian of the WCS to the star observations prior to fit?
doModelErrorsWithBackground¶
Model flux errors with background term?
doReferenceMatches¶
Match reference catalog as additional constraint on calibration
doSubtractLocalBackground¶
Subtract the local background before performing calibration? This is only supported for circular aperture calibration fluxes.
instFluxField¶
Faull name of the source instFlux field to use, including ‘instFlux’. The associated flag will be implicitly included in badFlags
isolationRadius¶
Isolation radius (arcseconds)
localBackgroundFluxField¶
Full name of the local background instFlux field to use.
matchNside¶
Healpix Nside for matching
matchRadius¶
Match radius (arcseconds)
minPerBand¶
Minimum observations per band
nVisitsPerCheckpoint¶
Number of visits read between checkpoints
physicalFilterMap¶
Mapping from ‘physicalFilter’ to band.
primaryBands¶
Bands for ‘primary’ star matches. A star must be observed in one of these bands to be considered as a calibration star.
psfCandidateName¶
Name of field with psf candidate flag for propagation
randomSeed¶
Random seed for high density down-sampling.
referenceCCD¶
Reference CCD for checking PSF and background
requiredBands¶
Bands required for each star
saveLogOutput¶
Flag to enable/disable saving of log output for a task, enabled by default.