|
lsst.afw gba399f52f3+9b61cfce8e
|
A simple Persistable struct containing ExposureCatalogs that record the inputs to a coadd. More...
#include <CoaddInputs.h>
Public Member Functions | |
| CoaddInputs () | |
| Default constructor. | |
| CoaddInputs (table::Schema const &visitSchema, table::Schema const &ccdSchema) | |
| Construct new catalogs from the given schemas. | |
| CoaddInputs (table::ExposureCatalog const &visits_, table::ExposureCatalog const &ccds_) | |
| Construct from shallow copies of the given catalogs. | |
| CoaddInputs (CoaddInputs const &) | |
| CoaddInputs (CoaddInputs &&) | |
| CoaddInputs & | operator= (CoaddInputs const &) |
| CoaddInputs & | operator= (CoaddInputs &&) |
| ~CoaddInputs () override | |
| bool | isPersistable () const noexcept override |
| Whether the object is in fact persistable - in this case, always true. | |
| std::shared_ptr< typehandling::Storable > | cloneStorable () const override |
| Create a new CoaddInputs that is a copy of this one. | |
Static Public Member Functions | |
| static std::shared_ptr< CoaddInputs > | readFits (fits::Fits &fitsfile) |
| Read an object from an already open FITS object. | |
| static std::shared_ptr< CoaddInputs > | dynamicCast (std::shared_ptr< Persistable > const &ptr) |
| Dynamically cast a shared_ptr. | |
Public Attributes | |
| table::ExposureCatalog | visits |
| table::ExposureCatalog | ccds |
Protected Member Functions | |
| std::string | getPersistenceName () const override |
| std::string | getPythonModule () const override |
| void | write (OutputArchiveHandle &handle) const override |
A simple Persistable struct containing ExposureCatalogs that record the inputs to a coadd.
The visits catalog corresponds to what task code refers to as coaddTempExps, while the ccds catalog corresponds to individual input CCD images (calexps), and has a "visitId" column that points back to the visits catalog.
The records in the visits catalog will all have the same Wcs as the coadd, as they represent images that have already been warped to the coadd frame. Regardless of whether or not the coadd is PSF-matched, the visit record Psf will generally be CoaddPsfs (albeit single-depth ones, so they simply pick out the single non-coadd-Psf that is valid for each point).
Definition at line 49 of file CoaddInputs.h.
| lsst::afw::image::CoaddInputs::CoaddInputs | ( | ) |
Default constructor.
This simply calls the Catalog default constructors, which means the catalogs have no associated Table and hence cannot be used for anything until a valid Catalog is assigned to them.
Definition at line 56 of file CoaddInputs.cc.
| lsst::afw::image::CoaddInputs::CoaddInputs | ( | table::Schema const & | visitSchema, |
| table::Schema const & | ccdSchema ) |
Construct new catalogs from the given schemas.
Definition at line 58 of file CoaddInputs.cc.
| lsst::afw::image::CoaddInputs::CoaddInputs | ( | table::ExposureCatalog const & | visits_, |
| table::ExposureCatalog const & | ccds_ ) |
Construct from shallow copies of the given catalogs.
Definition at line 61 of file CoaddInputs.cc.
|
default |
|
default |
|
overridedefault |
|
override |
Create a new CoaddInputs that is a copy of this one.
Definition at line 72 of file CoaddInputs.cc.
|
staticinherited |
Dynamically cast a shared_ptr.
Dynamically cast a shared pointer and raise on failure.
You must provide an explicit template instantiation in the .cc file for each class that inherits from PersistableFacade. Designed to work around RTTI issues on macOS with hidden symbols;
| lsst::pex::exceptions::LogicError | if the cast fails |
param[in] ptr The pointer to be cast.
| lsst::pex::exceptions::TypeError | If the dynamic cast fails. |
Definition at line 218 of file Persistable.cc.
|
overrideprotected |
Definition at line 76 of file CoaddInputs.cc.
|
overrideprotected |
Definition at line 78 of file CoaddInputs.cc.
|
overridenoexcept |
Whether the object is in fact persistable - in this case, always true.
To avoid letting coadd provenance prevent coadd code from running, if a nested Wcs or Psf is not persistable, it will silently not be saved, instead of throwing an exception.
Definition at line 70 of file CoaddInputs.cc.
|
default |
|
default |
|
inlinestaticinherited |
Read an object from an already open FITS object.
| [in] | fitsfile | FITS object to read from, already positioned at the desired HDU. |
Definition at line 183 of file Persistable.h.
|
overrideprotected |
Definition at line 80 of file CoaddInputs.cc.
| table::ExposureCatalog lsst::afw::image::CoaddInputs::ccds |
Definition at line 52 of file CoaddInputs.h.
| table::ExposureCatalog lsst::afw::image::CoaddInputs::visits |
Definition at line 51 of file CoaddInputs.h.