PlotImageSubtractionCutoutsConfig#

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

Bases: Config

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.

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)

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)