PlotDiaSourceLightcurveConfig#
- class lsst.analysis.ap.PlotDiaSourceLightcurveConfig(*args, **kw)#
Bases:
PlotImageSubtractionCutoutsConfigAttributes Summary
Annotate the cutouts with catalog metadata, including coordinates, fluxes, flags, etc.
Chunk up files into subdirectories, with at most this many files per directory.
Optional partial dataset name of template and difference image to use for cutouts; will have '_templateExp' and '_differenceExp' appended for butler.get(), respectively.
Draw a vertical line and open ring on the lightcurve at the MJD/flux of the diaSource being cut out.
Pass exclude_flagged=True to the APDB query when loading diaSources for the lightcurve.
Height in inches reserved for the lightcurve panel below the cutouts.
Matplotlib marker style for visits that have a forced measurement but no diaSource.
Matplotlib marker style for visits that have a diaSource detection.
Save the raw cutout images in numpy format.
Dataset type of science image to use for cutouts; older processings could be
calexporinitial_pvi.List of widths of cutout to extract for image from science, template, and difference exposures.
URL that the resulting images will be served to Zooniverse from, for the manifest file.
Use source footprint to to define cutout region; If set, ignore
sizeand use the footprint bbox instead.Attributes Documentation
- add_metadata#
Annotate the cutouts with catalog metadata, including coordinates, fluxes, flags, etc. (
bool, defaultTrue)
- 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, default10000)
- 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_detectoranddifference_image, respectively. (str, defaultNone)
- highlight_current_source#
Draw a vertical line and open ring on the lightcurve at the MJD/flux of the diaSource being cut out. (
bool, defaultTrue)
- 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, defaultFalse)
- lightcurve_height#
Height in inches reserved for the lightcurve panel below the cutouts. (
float, default2.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, defaultFalse)
- science_image_type#
Dataset type of science image to use for cutouts; older processings could be
calexporinitial_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, defaultNone)
- use_footprint#
Use source footprint to to define cutout region; If set, ignore
sizeand use the footprint bbox instead. (bool, defaultFalse)