|
lsst.pipe.tasks g2c8cee2ce7+8fcb1119d8
|
Public Member Functions | |
| runQuantum (self, butlerQC, inputRefs, outputRefs) | |
| run (self, visit, band, detector, isolated_star_cat_dict, isolated_star_source_dict, src, exposure, 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) | |
Public Attributes | |
| schema_mapper | |
| schema | |
| bool | isPsfDeterminerPiff = False |
| psf_determiner | |
Static Public Attributes | |
| ConfigClass = FinalizeCharacterizationConfigBase | |
Protected Member Functions | |
| _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) | |
Static Protected Attributes | |
| str | _DefaultName = 'finalize_characterization_base' |
Run final characterization per detector.
Definition at line 1328 of file finalizeCharacterization.py.
|
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.
|
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.
|
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.
|
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.
|
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.
|
inherited |
Definition at line 868 of file finalizeCharacterization.py.
|
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.
|
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.
| lsst.pipe.tasks.finalizeCharacterization.FinalizeCharacterizationDetectorTask.run | ( | self, | |
| visit, | |||
| band, | |||
| detector, | |||
| isolated_star_cat_dict, | |||
| isolated_star_source_dict, | |||
| src, | |||
| exposure, | |||
| fgcm_standard_star_dict = None ) |
Run the FinalizeCharacterizationDetectorTask.
Parameters
----------
visit : `int`
Visit number. Used in the output catalogs.
band : `str`
Band name. Used to select reserved stars.
detector : `int`
Detector number.
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 : `lsst.afw.table.SourceCatalog`
Src catalog.
exposure : `lsst.afw.image.Exposure`
Calexp exposure.
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 1380 of file finalizeCharacterization.py.
| lsst.pipe.tasks.finalizeCharacterization.FinalizeCharacterizationDetectorTask.runQuantum | ( | self, | |
| butlerQC, | |||
| inputRefs, | |||
| outputRefs ) |
Definition at line 1333 of file finalizeCharacterization.py.
|
staticprotectedinherited |
Definition at line 349 of file finalizeCharacterization.py.
|
staticinherited |
Definition at line 348 of file finalizeCharacterization.py.
|
inherited |
Definition at line 368 of file finalizeCharacterization.py.
|
inherited |
Definition at line 369 of file finalizeCharacterization.py.
|
inherited |
Definition at line 354 of file finalizeCharacterization.py.
|
inherited |
Definition at line 354 of file finalizeCharacterization.py.