|
| | runQuantum (self, butlerQC, inputRefs, outputRefs) |
| |
| | run (self, visit, band, isolated_star_cat_dict, isolated_star_source_dict, src_dict, calexp_dict, fgcm_standard_star_dict=None) |
| |
| | concat_isolated_star_cats (self, band, isolated_star_cat_dict, isolated_star_source_dict, visit=None, detector=None) |
| |
| | add_src_colors (self, srcCat, fgcmCat, band) |
| |
| | add_fgcm_photometry (self, srcCat, fgcmCat) |
| |
| | compute_psf_and_ap_corr_map (self, visit, detector, exposure, src, isolated_source_table, fgcm_standard_star_cat) |
| |
|
| | _make_output_schema_mapper (self, input_schema) |
| |
| | _make_selection_schema_mapper (self, input_schema) |
| |
| | _compute_sky_moments (self, wcs, x, y, ixx, iyy, ixy) |
| |
| | _rotate_moments_to_altaz (self, iuu, ivv, iuv, parallactic_angle) |
| |
Run final characterization on full visits.
Definition at line 1149 of file finalizeCharacterization.py.
◆ _compute_sky_moments()
| lsst.pipe.tasks.finalizeCharacterization.FinalizeCharacterizationTaskBase._compute_sky_moments |
( |
| self, |
|
|
| wcs, |
|
|
| x, |
|
|
| y, |
|
|
| ixx, |
|
|
| iyy, |
|
|
| ixy ) |
|
protectedinherited |
Compute second moments in sky coordinates from pixel moments.
Transforms the second moments tensor from pixel coordinates to sky
coordinates (RA/Dec) using the local WCS CD matrix at each source
position.
Parameters
----------
wcs : `lsst.afw.geom.SkyWcs`
The WCS of the exposure.
x : `numpy.ndarray`
X pixel coordinates of the sources.
y : `numpy.ndarray`
Y pixel coordinates of the sources.
ixx : `numpy.ndarray`
Second moment Ixx in pixel coordinates (pixels^2).
iyy : `numpy.ndarray`
Second moment Iyy in pixel coordinates (pixels^2).
ixy : `numpy.ndarray`
Second moment Ixy in pixel coordinates (pixels^2).
Returns
-------
iuu : `numpy.ndarray`
Second moment along RA axis in sky coordinates (arcsec^2).
ivv : `numpy.ndarray`
Second moment along Dec axis in sky coordinates (arcsec^2).
iuv : `numpy.ndarray`
Cross-term of second moments in sky coordinates (arcsec^2).
Definition at line 593 of file finalizeCharacterization.py.
◆ _make_output_schema_mapper()
| lsst.pipe.tasks.finalizeCharacterization.FinalizeCharacterizationTaskBase._make_output_schema_mapper |
( |
| self, |
|
|
| input_schema ) |
|
protectedinherited |
Make the schema mapper from the input schema to the output schema.
Parameters
----------
input_schema : `lsst.afw.table.Schema`
Input schema.
Returns
-------
mapper : `lsst.afw.table.SchemaMapper`
Schema mapper
output_schema : `lsst.afw.table.Schema`
Output schema (with alias map)
Definition at line 372 of file finalizeCharacterization.py.
◆ _make_selection_schema_mapper()
| lsst.pipe.tasks.finalizeCharacterization.FinalizeCharacterizationTaskBase._make_selection_schema_mapper |
( |
| self, |
|
|
| input_schema ) |
|
protectedinherited |
Make the schema mapper from the input schema to the selection schema.
Parameters
----------
input_schema : `lsst.afw.table.Schema`
Input schema.
Returns
-------
mapper : `lsst.afw.table.SchemaMapper`
Schema mapper
selection_schema : `lsst.afw.table.Schema`
Selection schema (with alias map)
Definition at line 551 of file finalizeCharacterization.py.
◆ _rotate_moments_to_altaz()
| lsst.pipe.tasks.finalizeCharacterization.FinalizeCharacterizationTaskBase._rotate_moments_to_altaz |
( |
| self, |
|
|
| iuu, |
|
|
| ivv, |
|
|
| iuv, |
|
|
| parallactic_angle ) |
|
protectedinherited |
Rotate second moments from RA/Dec to Alt/Az coordinates.
Rotates the second moments tensor from equatorial (RA/Dec) coordinates
to horizontal (Alt/Az) coordinates using the parallactic angle.
Parameters
----------
iuu : `numpy.ndarray`
Second moment along RA axis in sky coordinates (arcsec^2).
ivv : `numpy.ndarray`
Second moment along Dec axis in sky coordinates (arcsec^2).
iuv : `numpy.ndarray`
Cross-term of second moments in sky coordinates (arcsec^2).
parallactic_angle : `lsst.geom.Angle`
The parallactic angle (from visitInfo.boresightParAngle).
Returns
-------
ialtalt : `numpy.ndarray`
Second moment along altitude axis (arcsec^2).
iazaz : `numpy.ndarray`
Second moment along azimuth axis (arcsec^2).
ialtaz : `numpy.ndarray`
Cross-term of second moments in alt/az coordinates (arcsec^2).
Definition at line 664 of file finalizeCharacterization.py.
◆ add_fgcm_photometry()
| lsst.pipe.tasks.finalizeCharacterization.FinalizeCharacterizationTaskBase.add_fgcm_photometry |
( |
| self, |
|
|
| srcCat, |
|
|
| fgcmCat ) |
|
inherited |
Add FGCM photometry for all configured bands to the source catalog.
Parameters
----------
srcCat : `lsst.afw.table.SourceCatalog`
Source catalog to add photometry to.
fgcmCat : `numpy.ndarray`
FGCM standard star catalog with ra, dec, and mag_* columns.
Definition at line 894 of file finalizeCharacterization.py.
◆ add_src_colors()
| lsst.pipe.tasks.finalizeCharacterization.FinalizeCharacterizationTaskBase.add_src_colors |
( |
| self, |
|
|
| srcCat, |
|
|
| fgcmCat, |
|
|
| band ) |
|
inherited |
◆ compute_psf_and_ap_corr_map()
| lsst.pipe.tasks.finalizeCharacterization.FinalizeCharacterizationTaskBase.compute_psf_and_ap_corr_map |
( |
| self, |
|
|
| visit, |
|
|
| detector, |
|
|
| exposure, |
|
|
| src, |
|
|
| isolated_source_table, |
|
|
| fgcm_standard_star_cat ) |
|
inherited |
Compute psf model and aperture correction map for a single exposure.
Parameters
----------
visit : `int`
Visit number (for logging).
detector : `int`
Detector number (for logging).
exposure : `lsst.afw.image.ExposureF`
src : `lsst.afw.table.SourceCatalog`
isolated_source_table : `np.ndarray` or `astropy.table.Table`
fgcm_standard_star_cat : `np.ndarray`
Returns
-------
psf : `lsst.meas.algorithms.ImagePsf`
PSF Model
ap_corr_map : `lsst.afw.image.ApCorrMap`
Aperture correction map.
measured_src : `lsst.afw.table.SourceCatalog`
Updated source catalog with measurements, flags and aperture corrections.
Definition at line 931 of file finalizeCharacterization.py.
◆ concat_isolated_star_cats()
| lsst.pipe.tasks.finalizeCharacterization.FinalizeCharacterizationTaskBase.concat_isolated_star_cats |
( |
| self, |
|
|
| band, |
|
|
| isolated_star_cat_dict, |
|
|
| isolated_star_source_dict, |
|
|
| visit = None, |
|
|
| detector = None ) |
|
inherited |
Concatenate isolated star catalogs and make reserve selection.
Parameters
----------
band : `str`
Band name. Used to select reserved stars.
isolated_star_cat_dict : `dict`
Per-tract dict of isolated star catalog handles.
isolated_star_source_dict : `dict`
Per-tract dict of isolated star source catalog handles.
visit : `int`, optional
Visit to down-select sources.
detector : `int`, optional
Detector to down-select sources. Will only be used if visit
is also set.
Returns
-------
isolated_table : `astropy.table.Table` (N,)
Table of isolated stars, with indexes to isolated sources.
Returns None if there are no usable isolated catalogs.
isolated_source_table : `astropy.table.Table` (M,)
Table of isolated sources, with indexes to isolated stars.
Returns None if there are no usable isolated catalogs.
Definition at line 714 of file finalizeCharacterization.py.
◆ run()
| lsst.pipe.tasks.finalizeCharacterization.FinalizeCharacterizationTask.run |
( |
| self, |
|
|
| visit, |
|
|
| band, |
|
|
| isolated_star_cat_dict, |
|
|
| isolated_star_source_dict, |
|
|
| src_dict, |
|
|
| calexp_dict, |
|
|
| fgcm_standard_star_dict = None ) |
Run the FinalizeCharacterizationTask.
Parameters
----------
visit : `int`
Visit number. Used in the output catalogs.
band : `str`
Band name. Used to select reserved stars.
isolated_star_cat_dict : `dict`
Per-tract dict of isolated star catalog handles.
isolated_star_source_dict : `dict`
Per-tract dict of isolated star source catalog handles.
src_dict : `dict`
Per-detector dict of src catalog handles.
calexp_dict : `dict`
Per-detector dict of calibrated exposure handles.
fgcm_standard_star_dict : `dict`
Per tract dict of fgcm isolated stars.
Returns
-------
struct : `lsst.pipe.base.struct`
Struct with outputs for persistence.
Raises
------
NoWorkFound
Raised if the selector returns no good sources.
Definition at line 1201 of file finalizeCharacterization.py.
◆ runQuantum()
| lsst.pipe.tasks.finalizeCharacterization.FinalizeCharacterizationTask.runQuantum |
( |
| self, |
|
|
| butlerQC, |
|
|
| inputRefs, |
|
|
| outputRefs ) |
◆ _DefaultName
| str lsst.pipe.tasks.finalizeCharacterization.FinalizeCharacterizationTaskBase._DefaultName = 'finalize_characterization_base' |
|
staticprotectedinherited |
◆ ConfigClass
◆ isPsfDeterminerPiff
| bool lsst.pipe.tasks.finalizeCharacterization.FinalizeCharacterizationTaskBase.isPsfDeterminerPiff = False |
|
inherited |
◆ psf_determiner
| lsst.pipe.tasks.finalizeCharacterization.FinalizeCharacterizationTaskBase.psf_determiner |
|
inherited |
◆ schema
| lsst.pipe.tasks.finalizeCharacterization.FinalizeCharacterizationTaskBase.schema |
|
inherited |
◆ schema_mapper
| lsst.pipe.tasks.finalizeCharacterization.FinalizeCharacterizationTaskBase.schema_mapper |
|
inherited |
The documentation for this class was generated from the following file: