lsst.fgcmcal gb8350603e9+df21b64eba
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | Protected Member Functions | Static Protected Attributes | List of all members
lsst.fgcmcal.fgcmBuildFromIsolatedStars.FgcmBuildFromIsolatedStarsTask Class Reference
Inheritance diagram for lsst.fgcmcal.fgcmBuildFromIsolatedStars.FgcmBuildFromIsolatedStarsTask:
lsst.fgcmcal.fgcmBuildStarsBase.FgcmBuildStarsBaseTask

Public Member Functions

 __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=None)
 

Static Public Attributes

 ConfigClass = FgcmBuildFromIsolatedStarsConfig
 
bool canMultiprocess = False
 

Protected Member Functions

 _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)
 
 _density_downsample (self, fgcm_obj, star_obs)
 
 _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)
 

Static Protected Attributes

str _DefaultName = "fgcmBuildFromIsolatedStars"
 

Detailed Description

Build star catalog for FGCM global calibration, using the isolated star catalogs.

Definition at line 185 of file fgcmBuildFromIsolatedStars.py.

Constructor & Destructor Documentation

◆ __init__()

lsst.fgcmcal.fgcmBuildFromIsolatedStars.FgcmBuildFromIsolatedStarsTask.__init__ ( self,
initInputs = None,
** kwargs )

Member Function Documentation

◆ _associate_reference_stars()

lsst.fgcmcal.fgcmBuildFromIsolatedStars.FgcmBuildFromIsolatedStarsTask._associate_reference_stars ( self,
lookup_table_handle,
visit_cat,
fgcm_obj )
protected
Associate fgcm isolated stars with reference stars.

Parameters
----------
lookup_table_handle : `lsst.daf.butler.DeferredDatasetHandle`, optional
    Data reference to fgcm look-up table (used if matching reference stars).
visit_cat : `lsst.afw.table.ExposureCatalog`
    Catalog of per-visit data.
fgcm_obj : `astropy.table.Table`
    Catalog of per-star ids and positions

Returns
-------
ref_cat : `astropy.table.Table`
    Catalog of reference stars matched to fgcm stars.

Definition at line 684 of file fgcmBuildFromIsolatedStars.py.

◆ _compute_delta_aper_summary_statistics()

lsst.fgcmcal.fgcmBuildFromIsolatedStars.FgcmBuildFromIsolatedStarsTask._compute_delta_aper_summary_statistics ( self,
visit_cat,
star_obs )
protected
Compute delta aperture summary statistics (per visit).

Parameters
----------
visit_cat : `lsst.afw.table.ExposureCatalog`
    Catalog of per-visit data.
star_obs : `astropy.table.Table`
    Catalog of individual star observations.

Definition at line 797 of file fgcmBuildFromIsolatedStars.py.

◆ _density_downsample()

lsst.fgcmcal.fgcmBuildFromIsolatedStars.FgcmBuildFromIsolatedStarsTask._density_downsample ( self,
fgcm_obj,
star_obs )
protected
Downsample stars according to density.

Catalogs are modified in-place.

Parameters
----------
fgcm_obj : `astropy.table.Table`
    Catalog of per-star ids and positions.
star_obs : `astropy.table.Table`
    Catalog of individual star observations.

Definition at line 618 of file fgcmBuildFromIsolatedStars.py.

◆ _make_all_star_obs_from_isolated_stars()

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 )
protected
Make all star observations from isolated star catalogs.

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.

Returns
-------
fgcm_obj : `astropy.table.Table`
    Catalog of ids and positions for each star.
star_obs : `astropy.table.Table`
    Catalog of individual star observations.

Definition at line 340 of file fgcmBuildFromIsolatedStars.py.

◆ _mark_reserve_stars()

lsst.fgcmcal.fgcmBuildFromIsolatedStars.FgcmBuildFromIsolatedStarsTask._mark_reserve_stars ( self,
fgcm_obj )
protected
Run the star reservation task to flag reserved stars.

Parameters
----------
fgcm_obj : `astropy.table.Table`
    Catalog of per-star ids and positions.

Definition at line 670 of file fgcmBuildFromIsolatedStars.py.

◆ run()

lsst.fgcmcal.fgcmBuildFromIsolatedStars.FgcmBuildFromIsolatedStarsTask.run ( self,
* camera,
visit_summary_handle_dict,
isolated_star_cat_handle_dict,
isolated_star_source_handle_dict,
lookup_table_handle = None )
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`, optional
    Data reference to fgcm look-up table (used if matching reference stars).

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`).

Definition at line 258 of file fgcmBuildFromIsolatedStars.py.

◆ runQuantum()

lsst.fgcmcal.fgcmBuildFromIsolatedStars.FgcmBuildFromIsolatedStarsTask.runQuantum ( self,
butlerQC,
inputRefs,
outputRefs )

Definition at line 197 of file fgcmBuildFromIsolatedStars.py.

Member Data Documentation

◆ _DefaultName

str lsst.fgcmcal.fgcmBuildFromIsolatedStars.FgcmBuildFromIsolatedStarsTask._DefaultName = "fgcmBuildFromIsolatedStars"
staticprotected

Definition at line 189 of file fgcmBuildFromIsolatedStars.py.

◆ canMultiprocess

bool lsst.fgcmcal.fgcmBuildFromIsolatedStars.FgcmBuildFromIsolatedStarsTask.canMultiprocess = False
static

Definition at line 191 of file fgcmBuildFromIsolatedStars.py.

◆ ConfigClass

lsst.fgcmcal.fgcmBuildFromIsolatedStars.FgcmBuildFromIsolatedStarsTask.ConfigClass = FgcmBuildFromIsolatedStarsConfig
static

Definition at line 188 of file fgcmBuildFromIsolatedStars.py.


The documentation for this class was generated from the following file: