lsst.ap.association

The ap_association package provides tools for associating DIAObjects to DIASources, persisting this association, and computing DIAObject summary statistics.

Contributing

lsst.ap.association is developed at https://github.com/lsst/ap_association. You can find Jira issues for this module under the ap_association component.

Task reference

Tasks

FractionUpdatedDiaObjectsMetricTask
Task that computes the fraction of previously created DIAObjects that have a new association in this image, visit, etc..
NumberNewDiaObjectsMetricTask
Task that computes the number of DIASources that create new DIAObjects in an image, visit, etc..
NumberUnassociatedDiaObjectsMetricTask
Task that computes the number of previously-known DIAObjects that do not have detected DIASources in an image, visit, etc..
TotalUnassociatedDiaObjectsMetricTask
Task that computes the number of DIAObjects with only one associated DIASource.

Python API reference

lsst.ap.association Package

Functions

getCcdVisitSchemaSql() Define the schema for the CcdVisit table.
make_dia_forced_source_schema() Define and create the minimal schema required for a DiaForcedSource.
make_dia_object_schema([filter_names]) Define and create the minimal schema required for a DIAObject.
make_dia_source_schema() Define and create the minimal schema required for a DIASource.

Classes

AssociationConfig Config class for AssociationTask.
AssociationTask(**kwargs) Associate DIAOSources into existing DIAObjects.
DiaForcedSourceTask(**kwargs) Task for measuring and storing forced sources at DiaObject locations in both difference and direct images.
DiaForcedSourcedConfig Configuration for the generic DiaForcedSourcedTask class.
DiaObjectCalculationConfig Config class for the catalog calculation driver task.
DiaObjectCalculationPlugin(config, name, …) Base class for DIA catalog calculation plugins.
DiaObjectCalculationPluginConfig Default configuration class for DIA catalog calculation plugins.
DiaObjectCalculationTask([plugMetadata]) Run plugins which operate on a catalog of DIA sources.
MapApDataConfig Configuration for the generic MapApDataTask class.
MapApDataTask(inputSchema, outputSchema, …) Generic mapper class for copying values from a science pipelines catalog into a product for use in ap_association or the PPDB.
MapDiaSourceConfig Config for the DiaSourceMapperTask
MapDiaSourceTask(inputSchema, **kwargs) Task specific for copying columns from science pipelines catalogs, calibrating them, for use in ap_association and the PPDB.
MeanDiaPosition(config, name, metadata) Compute the mean position of a DiaObject given a set of DiaSources.
MeanDiaPositionConfig
UnpackPpdbFlags(flag_map_file, table_name) Class for unpacking bits from integer flag fields stored in the Ppdb.
WeightedMeanDiaPsFlux(config, name, metadata) Compute the weighted mean and mean error on the point source fluxes of the DiaSource measured on the difference image.
WeightedMeanDiaPsFluxConfig

lsst.ap.association.metrics Module

Classes

NumberNewDiaObjectsMetricTask(**kwargs) Task that computes the number of DIASources that create new DIAObjects in an image, visit, etc..
NumberUnassociatedDiaObjectsMetricTask(**kwargs) Task that computes the number of previously-known DIAObjects that do not have detected DIASources in an image, visit, etc..
FractionUpdatedDiaObjectsMetricTask(**kwargs) Task that computes the fraction of previously created DIAObjects that have a new association in this image, visit, etc..
TotalUnassociatedDiaObjectsMetricTask(**kwargs) Task that computes the number of DIAObjects with only one associated DIASource.