|
|
| __init__ (self, initInputs=None, **kwargs) |
|
| runQuantum (self, butlerQC, inputRefs, outputRefs) |
| | run (self, *, camera, visit_summary_handle_dict, isolated_star_cat_handle_dict, isolated_star_source_handle_dict, lookup_table_handle) |
|
| __init__ (self, initInputs=None, **kwargs) |
| | fgcmMakeAllStarObservations (self, groupedHandles, visitCat, sourceSchema, camera, calibFluxApertureRadius=None) |
| | fgcmMakeVisitCatalog (self, camera, groupedHandles, useScienceDetectors=False) |
| | fgcmMatchStars (self, visitCat, obsCat, lutHandle=None) |
|
| | _make_all_star_obs_from_isolated_stars (self, isolated_star_cat_handle_dict, isolated_star_source_handle_dict, visit_cat, camera, calib_flux_aperture_radius=None, use_science_detectors=False, input_star_ids=None, return_observations=False) |
| | _density_downsample (self, fgcm_obj) |
| | _mark_reserve_stars (self, fgcm_obj) |
| | _associate_reference_stars (self, lookup_table_handle, visit_cat, fgcm_obj) |
| | _compute_delta_aper_summary_statistics (self, visit_cat, star_obs) |
| | _fillVisitCatalog (self, visitCat, groupedHandles, defaultPixelScale) |
| | _makeSourceMapper (self, sourceSchema) |
| | _makeFgcmVisitSchema (self, nCcd) |
| | _makeFgcmObjSchema (self) |
| | _makeFgcmObsSchema (self) |
| | _makeFgcmRefSchema (self, nReferenceBands) |
| | _getReferenceFilterNames (self, visitCat, stdFilterDict, stdLambdaDict) |
Build star catalog for FGCM global calibration, using the isolated star catalogs.
| lsst.fgcmcal.fgcmBuildFromIsolatedStars.FgcmBuildFromIsolatedStarsTask._make_all_star_obs_from_isolated_stars |
( |
| self, |
|
|
| isolated_star_cat_handle_dict, |
|
|
| isolated_star_source_handle_dict, |
|
|
| visit_cat, |
|
|
| camera, |
|
|
| calib_flux_aperture_radius = None, |
|
|
| use_science_detectors = False, |
|
|
| input_star_ids = None, |
|
|
| return_observations = False ) |
|
protected |
Make all the star observations from isolated star catalogs.
This is intended to be run in two passes. In the first pass, a limited
set of columns is read in (only what is required to select potential
"good stars") and the stars are returned. In the second pass, the full
set of columns is read and only stars that are in input_star_ids
are put into the aggregated tables.
Parameters
----------
isolated_star_cat_handle_dict : `dict` [`int`, `lsst.daf.butler.DeferredDatasetHandle`]
Isolated star catalog dataset handles, with the tract as key.
isolated_star_source_handle_dict : `dict` [`int`, `lsst.daf.butler.DeferredDatasetHandle`]
Isolated star source dataset handles, with the tract as key.
visit_cat : `lsst.afw.table.ExposureCatalog`
Catalog of per-visit data.
camera : `lsst.afw.cameraGeom.Camera`
The camera object.
calib_flux_aperture_radius : `float`, optional
Radius for the calibration flux aperture.
use_science_detectors : `bool`, optional
Only use science detectors?
input_star_ids : `np.ndarray`, optional
Array of star IDs to use. Used for second pass and
full load.
return_observations : `bool`, optional
Return the observations? Should be False for first pass.
Returns
-------
fgcm_obj : `astropy.table.Table`
Catalog of ids and positions for each star.
star_obs : `astropy.table.Table`
Catalog of individual star observations if
return_observations is True.
| lsst.fgcmcal.fgcmBuildFromIsolatedStars.FgcmBuildFromIsolatedStarsTask.run |
( |
| self, |
|
|
* | , |
|
|
| camera, |
|
|
| visit_summary_handle_dict, |
|
|
| isolated_star_cat_handle_dict, |
|
|
| isolated_star_source_handle_dict, |
|
|
| lookup_table_handle ) |
Run the fgcmBuildFromIsolatedStarsTask.
Parameters
----------
camera : `lsst.afw.cameraGeom.Camera`
Camera object.
visit_summary_handle_dict : `dict` [`int`, [`lsst.daf.butler.DeferredDatasetHandle`]]
Visit summary dataset handles, with the visit as key.
isolated_star_cat_handle_dict : `dict` [`int`, `lsst.daf.butler.DeferredDatasetHandle`]
Isolated star catalog dataset handles, with the tract as key.
isolated_star_source_handle_dict : `dict` [`int`, `lsst.daf.butler.DeferredDatasetHandle`]
Isolated star source dataset handles, with the tract as key.
lookup_table_handle : `lsst.daf.butler.DeferredDatasetHandle`
Data reference to fgcm look-up table.
Returns
-------
struct : `lsst.pipe.base.struct`
Catalogs for persistence, with attributes:
``fgcm_visit_catalog``
Catalog of per-visit data (`lsst.afw.table.ExposureCatalog`).
``fgcm_star_observations``
Catalog of individual star observations (`astropy.table.Table`).
``fgcm_star_ids``
Catalog of per-star ids and positions (`astropy.table.Table`).
``fgcm_reference_stars``
Catalog of reference stars matched to fgcm stars (`astropy.table.Table`).