lsst.pipe.tasks gc07e1c2157+f6e5778202
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | Static Protected Member Functions | Static Protected Attributes | List of all members
lsst.pipe.tasks.match_tract_catalog_probabilistic.MatchTractCatalogProbabilisticTask Class Reference
Inheritance diagram for lsst.pipe.tasks.match_tract_catalog_probabilistic.MatchTractCatalogProbabilisticTask:
lsst::meas::astrom::match_probabilistic_task::MatchProbabilisticTask lsst.pipe.tasks.match_tract_catalog.MatchTractCatalogSubTask

Public Member Functions

 __init__ (self, **kwargs)
 
pipeBase.Struct run (self, pd.DataFrame catalog_ref, pd.DataFrame catalog_target, afwGeom.SkyWcs wcs=None)
 
Set[str] columns_in_ref (self)
 
Set[str] columns_in_target (self)
 
Tuple[pd.DataFrame, pd.DataFrame, Dict[int, str]] match (self, pd.DataFrame catalog_ref, pd.DataFrame catalog_target, np.array select_ref=None, np.array select_target=None, afwGeom.SkyWcs wcs=None, logging.Logger logger=None, int logging_n_rows=None)
 
pipeBase.Struct run (self, pd.DataFrame catalog_ref, pd.DataFrame catalog_target, afwGeom.SkyWcs wcs=None, **kwargs)
 
 __init__ (self, **kwargs)
 

Public Attributes

 matcher
 

Static Public Attributes

 ConfigClass = MatchTractCatalogProbabilisticConfig
 

Static Protected Member Functions

np.array _apply_select_bool (pd.DataFrame catalog, List[str] columns_true, List[str] columns_false, Optional[np.array] selection)
 

Static Protected Attributes

str _DefaultName
 

Detailed Description

An abstract interface for subtasks of MatchTractCatalogTask to match
two tract object catalogs.

Parameters
----------
**kwargs
    Additional arguments to be passed to the `lsst.pipe.base.Task`
    constructor.

Definition at line 51 of file match_tract_catalog_probabilistic.py.

Constructor & Destructor Documentation

◆ __init__()

lsst.pipe.tasks.match_tract_catalog_probabilistic.MatchTractCatalogProbabilisticTask.__init__ ( self,
** kwargs )

Member Function Documentation

◆ run()

pipeBase.Struct lsst.pipe.tasks.match_tract_catalog_probabilistic.MatchTractCatalogProbabilisticTask.run ( self,
pd.DataFrame catalog_ref,
pd.DataFrame catalog_target,
afwGeom.SkyWcs wcs = None )
Match sources in a reference tract catalog with a target catalog.

Parameters
----------
catalog_ref : `pandas.DataFrame`
    A reference catalog to match objects/sources from.
catalog_target : `pandas.DataFrame`
    A target catalog to match reference objects/sources to.
wcs : `lsst.afw.image.SkyWcs`
    A coordinate system to convert catalog positions to sky coordinates.
    Only needed if `config.coords_ref_to_convert` is used to convert
    reference catalog sky coordinates to pixel positions.

Returns
-------
retStruct : `lsst.pipe.base.Struct`
    A struct with output_ref and output_target attribute containing the
    output matched catalogs.

Reimplemented from lsst.pipe.tasks.match_tract_catalog.MatchTractCatalogSubTask.

Definition at line 66 of file match_tract_catalog_probabilistic.py.

Member Data Documentation

◆ ConfigClass

lsst.pipe.tasks.match_tract_catalog_probabilistic.MatchTractCatalogProbabilisticTask.ConfigClass = MatchTractCatalogProbabilisticConfig
static

Definition at line 61 of file match_tract_catalog_probabilistic.py.


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