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¶
| Define the schema for the CcdVisit table. | |
| Define and create the minimal schema required for a DiaForcedSource. | |
| 
 | Define and create the minimal schema required for a DIAObject. | 
| Define and create the schema required for a DIASource with additional needed columns for later calculation in  | 
Classes¶
| 
 | Config class for AssociationTask. | 
| 
 | Associate DIAOSources into existing DIAObjects. | 
| 
 | Compute chi2 of diaSource fluxes. | 
| 
 | |
| 
 | Task for measuring and storing forced sources at DiaObject locations in both difference and direct images. | 
| 
 | Configuration for the generic DiaForcedSourcedTask class. | 
| 
 | Config class for the catalog calculation driver task. | 
| 
 | Base class for DIA catalog calculation plugins. | 
| 
 | Default configuration class for DIA catalog calculation plugins. | 
| 
 | Run plugins which operate on a catalog of DIA sources. | 
| 
 | Config for DiaPipelineTask. | 
| 
 | Butler connections for DiaPipelineTask. | 
| 
 | Task for loading, associating and storing Difference Image Analysis (DIA) Objects and Sources. | 
| 
 | Compute the mean of the dia source errors. | 
| 
 | |
| 
 | Compute the mean position of a DiaObject given a set of DiaSources. | 
| 
 | |
| 
 | Compute fit a linear model to flux vs time. | 
| 
 | |
| 
 | Config class for LoadDiaCatalogsConfig. | 
| 
 | Retrieve DiaObjects and associated DiaSources from the Apdb given an input exposure. | 
| 
 | Compute median absolute deviation of diaSource fluxes. | 
| 
 | |
| 
 | Configuration for the generic MapApDataTask class. | 
| 
 | Generic mapper class for copying values from a science pipelines catalog into a product for use in ap_association or the APDB. | 
| 
 | Config for the DiaSourceMapperTask | 
| 
 | Task specific for copying columns from science pipelines catalogs, calibrating them, for use in ap_association and the APDB. | 
| 
 | Compute the maximum ratio time ordered deltaFlux / deltaTime. | 
| 
 | |
| 
 | Compute the mean position of a DiaObject given a set of DiaSources. | 
| 
 | |
| 
 | Compute min/max of diaSource fluxes. | 
| 
 | |
| 
 | Compute the total number of DiaSources associated with this DiaObject. | 
| 
 | |
| 
 | Config class for AssociationTask. | 
| 
 | Tasks for packaging Dia and Pipelines data into Avro alert packages. | 
| 
 | Compute percentiles of diaSource fluxes. | 
| 
 | |
| 
 | Compute scatter of diaSource fluxes. | 
| 
 | |
| 
 | Compute scatter of diaSource fluxes. | 
| 
 | |
| 
 | Find if any DiaSource is flagged. | 
| 
 | |
| 
 | Compute the skew of diaSource fluxes. | 
| 
 | |
| 
 | Compute the StetsonJ statistic on the DIA point source fluxes. | 
| 
 | |
| 
 | Class for unpacking bits from integer flag fields stored in the Apdb. | 
| 
 | Compute the weighted mean and mean error on the point source fluxes of the DiaSource measured on the difference image. | 
| 
 | |
| 
 | Compute the weighted mean and mean error on the point source fluxes forced photometered at the DiaSource location in the calibrated image. | 
| 
 | 
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 DIAObjects with only one associated DIASource. |