PlotDiaSourceLightcurveConfig#

class lsst.analysis.ap.PlotDiaSourceLightcurveConfig(*args, **kw)#

Bases: PlotImageSubtractionCutoutsConfig

Attributes Summary

add_metadata

Annotate the cutouts with catalog metadata, including coordinates, fluxes, flags, etc.

chunk_size

Chunk up files into subdirectories, with at most this many files per directory.

diff_image_type

Optional partial dataset name of template and difference image to use for cutouts; will have '_templateExp' and '_differenceExp' appended for butler.get(), respectively.

highlight_current_source

Draw a vertical line and open ring on the lightcurve at the MJD/flux of the diaSource being cut out.

lightcurve_exclude_flagged

Pass exclude_flagged=True to the APDB query when loading diaSources for the lightcurve.

lightcurve_height

Height in inches reserved for the lightcurve panel below the cutouts.

lightcurve_marker_forced_only

Matplotlib marker style for visits that have a forced measurement but no diaSource.

lightcurve_marker_source

Matplotlib marker style for visits that have a diaSource detection.

save_as_numpy

Save the raw cutout images in numpy format.

science_image_type

Dataset type of science image to use for cutouts; older processings could be calexp or initial_pvi.

sizes

List of widths of cutout to extract for image from science, template, and difference exposures.

url_root

URL that the resulting images will be served to Zooniverse from, for the manifest file.

use_footprint

Use source footprint to to define cutout region; If set, ignore size and use the footprint bbox instead.

Attributes Documentation

add_metadata#

Annotate the cutouts with catalog metadata, including coordinates, fluxes, flags, etc. (bool, default True)

chunk_size#

Chunk up files into subdirectories, with at most this many files per directory. None means write all the files to one images/ directory. (int, default 10000)

diff_image_type#

Optional partial dataset name of template and difference image to use for cutouts; will have ‘_templateExp’ and ‘_differenceExp’ appended for butler.get(), respectively. If not specified, use template_detector and difference_image, respectively. (str, default None)

highlight_current_source#

Draw a vertical line and open ring on the lightcurve at the MJD/flux of the diaSource being cut out. (bool, default True)

lightcurve_exclude_flagged#

Pass exclude_flagged=True to the APDB query when loading diaSources for the lightcurve. Defaults to False so the lightcurve matches the row count of a direct APDB query; set True to drop diaSources matching the configured bad-flag list. DiaForcedSources are always loaded unfiltered. (bool, default False)

lightcurve_height#

Height in inches reserved for the lightcurve panel below the cutouts. (float, default 2.5)

lightcurve_marker_forced_only#

Matplotlib marker style for visits that have a forced measurement but no diaSource. (str, default 'v')

lightcurve_marker_source#

Matplotlib marker style for visits that have a diaSource detection. (str, default 'o')

save_as_numpy#

Save the raw cutout images in numpy format. (bool, default False)

science_image_type#

Dataset type of science image to use for cutouts; older processings could be calexp or initial_pvi. (str, default 'preliminary_visit_image')

sizes#

List of widths of cutout to extract for image from science, template, and difference exposures. (List, default [30])

url_root#

URL that the resulting images will be served to Zooniverse from, for the manifest file. If not set, no manifest file will be written. (str, default None)

use_footprint#

Use source footprint to to define cutout region; If set, ignore size and use the footprint bbox instead. (bool, default False)