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

Pipeline Tasks

DiaPipelineTask

Task for loading, associating and storing Difference Image Analysis (DIA) Objects and Sources.

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.

Tasks

No topics.

Python API reference

lsst.ap.association Package

Functions

convertTableToSdmSchema(apdbSchema, ...)

Force a table to conform to the schema defined by the APDB.

dropEmptyColumns(apdbSchema, sourceTable, ...)

Drop empty columns that are nullable.

make_empty_catalog(apdbSchema, tableName)

Make an empty catalog for a table with a given name.

readSchemaFromApdb(apdb)

Extract the schema from an APDB instance.

readSdmSchemaFile(schemaFile[, schemaName])

Read a schema file in YAML format.

Classes

AssociationConfig(*args, **kw)

Config class for AssociationTask.

AssociationTask([config, name, parentTask, log])

Associate DIAOSources into existing DIAObjects.

DiaForcedSourceTask(**kwargs)

Task for measuring and storing forced sources at DiaObject locations in both difference and direct images.

DiaForcedSourcedConfig(*args, **kw)

Configuration for the generic DiaForcedSourcedTask class.

DiaPipelineConfig(*args, **kw)

Config for DiaPipelineTask.

DiaPipelineConnections(*[, config])

Butler connections for DiaPipelineTask.

DiaPipelineTask([initInputs])

Task for loading, associating and storing Difference Image Analysis (DIA) Objects and Sources.

FilterDiaSourceCatalogConfig(*args, **kw)

Config class for FilterDiaSourceCatalogTask.

FilterDiaSourceCatalogTask(*[, config, log, ...])

Filter out sky sources from a DiaSource catalog.

LoadDiaCatalogsConfig(*args, **kw)

Config class for LoadDiaCatalogsConfig.

LoadDiaCatalogsTask(**kwargs)

Retrieve DiaObjects and associated DiaSources from the Apdb given an input exposure.

PackageAlertsConfig(*args, **kw)

Config class for AssociationTask.

PackageAlertsTask(**kwargs)

Tasks for packaging Dia and Pipelines data into Avro alert packages.

TransformDiaSourceCatalogConfig(*args, **kw)

TransformDiaSourceCatalogConnections(*[, config])

TransformDiaSourceCatalogTask(initInputs, ...)

Transform a DiaSource catalog by calibrating and renaming columns to produce a table ready to insert into the Apdb.

UnpackApdbFlags(flag_map_file, table_name)

Class for unpacking bits from integer flag fields stored in the Apdb.

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..

NumberSolarSystemObjectsMetricTask(**kwargs)

Task that computes the number of SolarSystemObjects that are observable within this detectorVisit.

NumberAssociatedSolarSystemObjectsMetricTask(...)

Number of SolarSystemObjects that were associated with new DiaSources for this detectorVisit.

TotalUnassociatedDiaObjectsMetricTask(**kwargs)

Task that computes the number of DIAObjects with only one associated DIASource.