PackageAlertsConfig#

class lsst.ap.association.PackageAlertsConfig(*args, **kw)#

Bases: Config

Config class for AssociationTask.

Attributes Summary

alertWriteLocation

Location to write alerts to.

deliveryTimeout

Sets the time to wait for the producer to wait to deliver an alert in milliseconds.

doProduceAlerts

Turn on alert production to kafka if true and if confluent_kafka is in the environment.

doWriteAlerts

Write alerts to disk if true.

doWriteFailedAlerts

If an alert cannot be sent when doProduceAlerts is set, write it to disk for debugging purposes.

maxCutoutSize

Dimension of the square image cutouts to package in the alert.

maxTimeout

Sets the maximum time in seconds to wait for the alert stream broker to respond to a query before timing out.

minCutoutSize

Dimension of the square image cutouts to package in the alert.

schemaFile

Schema definition file URI for the avro alerts.

useAveragePsf

Use the average PSF for the image, instead of the PSF for each cutout.

Attributes Documentation

alertWriteLocation#

Location to write alerts to. (str, default '/j/workspace/sqre/infra/documenteer/doc_template/alerts')

deliveryTimeout#

Sets the time to wait for the producer to wait to deliver an alert in milliseconds. (float, default 1200.0)

doProduceAlerts#

Turn on alert production to kafka if true and if confluent_kafka is in the environment. (bool, default False)

doWriteAlerts#

Write alerts to disk if true. (bool, default False)

doWriteFailedAlerts#

If an alert cannot be sent when doProduceAlerts is set, write it to disk for debugging purposes. (bool, default False)

maxCutoutSize#

Dimension of the square image cutouts to package in the alert. Thedefault size comes from the max trail length in arcseconds (10 deg/day) for a 30 second observation divided by thearcseconds per pixel (0.2), which is 62.5 pixels. The effectivesize of the psf (40 pixels) is then added for a total of 102 pixels. (int, default 102)

Valid Range = [0,1000)

maxTimeout#

Sets the maximum time in seconds to wait for the alert stream broker to respond to a query before timing out. (float, default 15.0)

minCutoutSize#

Dimension of the square image cutouts to package in the alert. (int, default 30)

Valid Range = [0,1000)

schemaFile#

Schema definition file URI for the avro alerts. (str, default 'resource://lsst.alert.packet/schema/10/0/lsst.v10_0.alert.avsc')

useAveragePsf#

Use the average PSF for the image, instead of the PSF for each cutout. This option is much less accurate, but much faster. (bool, default False)