lsst.pipe.tasks gcd7e190081+5a4539d720
Loading...
Searching...
No Matches
Classes | Functions | Variables
lsst.pipe.tasks.diff_matched_tract_catalog Namespace Reference

Classes

class  DiffMatchedTractCatalogConfig
 
class  DiffMatchedTractCatalogConnections
 
class  DiffMatchedTractCatalogTask
 
class  MatchedCatalogFluxesConfig
 
class  MatchType
 
class  MeasurementType
 
class  MeasurementTypeInfo
 
class  Median
 
class  Percentile
 
class  SigmaIQR
 
class  SigmaMAD
 
class  SourceType
 
class  SourceTypeInfo
 
class  Statistic
 

Functions

def is_sequence_set (Sequence x)
 
def is_percentile (str x)
 
def compute_stats (values_ref, values_target, errors_target, row, stats, suffixes, prefix, skip_diff=False)
 

Variables

dictionary DiffMatchedTractCatalogBaseTemplates
 

Function Documentation

◆ compute_stats()

def lsst.pipe.tasks.diff_matched_tract_catalog.compute_stats (   values_ref,
  values_target,
  errors_target,
  row,
  stats,
  suffixes,
  prefix,
  skip_diff = False 
)
Compute statistics on differences and store results in a row.

Parameters
----------
values_ref : `numpy.ndarray`, (N,)
    Reference values.
values_target : `numpy.ndarray`, (N,)
    Measured values.
errors_target : `numpy.ndarray`, (N,)
    Errors (standard deviations) on `values_target`.
row : `numpy.ndarray`, (1, C)
    A numpy array with pre-assigned column names.
stats : `Dict` [`str`, `Statistic`]
    A dict of `Statistic` values to measure, keyed by their column suffix.
suffixes : `Dict` [`MeasurementType`, `str`]
    A dict of measurement type column suffixes, keyed by the measurement type.
prefix : `str`
    A prefix for all column names (e.g. band).
skip_diff : `bool`
    Whether to skip computing statistics on differences. Note that
    differences will still be computed for chi statistics.

Returns
-------
row_with_stats : `numpy.ndarray`, (1, C)
    The original `row` with statistic values assigned.

Definition at line 409 of file diff_matched_tract_catalog.py.

◆ is_percentile()

def lsst.pipe.tasks.diff_matched_tract_catalog.is_percentile ( str  x)

Definition at line 53 of file diff_matched_tract_catalog.py.

◆ is_sequence_set()

def lsst.pipe.tasks.diff_matched_tract_catalog.is_sequence_set ( Sequence  x)

Definition at line 49 of file diff_matched_tract_catalog.py.

Variable Documentation

◆ DiffMatchedTractCatalogBaseTemplates

dictionary lsst.pipe.tasks.diff_matched_tract_catalog.DiffMatchedTractCatalogBaseTemplates
Initial value:
1= {
2 "name_input_cat_ref": "truth_summary",
3 "name_input_cat_target": "objectTable_tract",
4 "name_skymap": BaseSkyMap.SKYMAP_DATASET_TYPE_NAME,
5}

Definition at line 57 of file diff_matched_tract_catalog.py.