KernelCandidateQa

class lsst.ip.diffim.KernelCandidateQa(nKernelSpatial)

Bases: object

Quality Assessment class for Kernel Candidates

Methods Summary

addToSchema(inSourceCatalog) Add the to-be-generated QA keys to the Source schema
aggregate(sourceCatalog, metadata, wcsresids) Generate aggregate metrics (e.g.
apply(candidateList, spatialKernel, …[, dof]) Evaluate the QA metrics for all KernelCandidates in the candidateList; set the values of the metrics in their associated Sources
makeMetricMap()

Methods Documentation

addToSchema(inSourceCatalog)

Add the to-be-generated QA keys to the Source schema

static aggregate(sourceCatalog, metadata, wcsresids, diaSources=None)

Generate aggregate metrics (e.g. total numbers of false positives) from all the Sources in the sourceCatalog

classmethod apply(candidateList, spatialKernel, spatialBackground, dof=0)

Evaluate the QA metrics for all KernelCandidates in the candidateList; set the values of the metrics in their associated Sources

makeMetricMap()