lsst.pipe.tasks g260ff8ed1d+3fe987bc49
Classes | Functions | Variables
lsst.pipe.tasks.diff_matched_tract_catalog Namespace Reference

Classes

class  DiffMatchedTractCatalogConfig
 
class  DiffMatchedTractCatalogConnections
 
class  DiffMatchedTractCatalogTask
 
class  MatchedCatalogFluxesConfig
 
class  Measurement
 
class  Median
 
class  Percentile
 
class  SigmaIQR
 
class  SigmaMAD
 
class  Statistic
 

Functions

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` [`str`, `Measurement`]
    A dict of measurement types are the only valid values),
    keyed by the column suffix.
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 326 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 46 of file diff_matched_tract_catalog.py.