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¶
| 
 | Force a table to conform to the schema defined by the APDB. | 
| 
 | Drop empty columns that are nullable. | 
| 
 | Safely retrieve the midpoint in TAI from a Timespan. | 
| 
 | Return a dataframe with the correct columns for diaForcedSources table. | 
| 
 | Make an empty catalog for a table with a given name. | 
| 
 | Extract the schema from an APDB instance. | 
| 
 | Read a schema file in YAML format. | 
Classes¶
| 
 | Config class for AssociationTask. | 
| 
 | Associate DIAOSources into existing DIAObjects. | 
| 
 | Task for measuring and storing forced sources at DiaObject locations in both difference and direct images. | 
| 
 | Configuration for the generic DiaForcedSourcedTask class. | 
| 
 | Config for DiaPipelineTask. | 
| 
 | Butler connections for DiaPipelineTask. | 
| 
 | Task for loading, associating and storing Difference Image Analysis (DIA) Objects and Sources. | 
| 
 | Config class for FilterDiaSourceCatalogTask. | 
| 
 | Filter sources from a DiaSource catalog. | 
| 
 | Config class for LoadDiaCatalogsConfig. | 
| 
 | Retrieve DiaObjects and associated DiaSources from the Apdb given an input exposure. | 
| 
 | |
| 
 | Task to query the MPSky service and retrieve the solar system objects that are observable within the input visit. | 
| 
 | Config class for AssociationTask. | 
| 
 | Tasks for packaging Dia and Pipelines data into Avro alert packages. | 
| 
 | Config for DiaPipelineTask. | 
| 
 | Butler connections for SsSingleFrameAssociationTask. | 
| 
 | Task for loading, associating and storing Difference Image Analysis (DIA) Objects and Sources. | 
| 
 | |
| 
 | |
| 
 | Transform a DiaSource catalog by calibrating and renaming columns to produce a table ready to insert into the Apdb. | 
| 
 | Class for unpacking bits from integer flag fields stored in the Apdb. | 
lsst.ap.association.metrics Module¶
Classes¶
| 
 | Task that computes the number of DIASources that create new DIAObjects in an image, visit, etc.. | 
| 
 | Task that computes the number of previously-known DIAObjects that do not have detected DIASources in an image, visit, etc.. | 
| 
 | Task that computes the fraction of previously created DIAObjects that have a new association in this image, visit, etc.. | 
| 
 | Task that computes the number of SolarSystemObjects that are observable within this detectorVisit. | 
| Number of SolarSystemObjects that were associated with new DiaSources for this detectorVisit. | |
| 
 | Task that computes the number of DIAObjects with only one associated DIASource. |