lsst.afw
tickets.DM-23835-g31c64b24f1
|
Go to the documentation of this file.
24 #ifndef LSST_AFW_IMAGE_ApCorrMap_h_INCLUDED
25 #define LSST_AFW_IMAGE_ApCorrMap_h_INCLUDED
100 #endif // !LSST_AFW_IMAGE_ApCorrMap_h_INCLUDED
Backwards-compatibility support for depersisting the old Calib (FluxMag0/FluxMag0Err) objects.
~ApCorrMap() override=default
Interface supporting iteration over heterogenous containers.
static const std::size_t MAX_NAME_LENGTH
Maximum number of characters for an aperture correction name (required for persistence).
Internal::const_iterator Iterator
Iterator type returned by begin() and end().
const std::shared_ptr< math::BoundedField > operator[](std::string const &name) const
Return the field with the given name, throwing NotFoundError when the name is not present.
A base class for image defects.
void set(std::string const &name, std::shared_ptr< math::BoundedField > field)
Add or replace an aperture correction.
A CRTP facade class for subclasses of Persistable.
def scale(algorithm, min, max=None, frame=None)
const std::shared_ptr< math::BoundedField > get(std::string const &name) const
Return the field with the given name, returning an empty pointer when the name is not present.
A thin wrapper around std::map to allow aperture corrections to be attached to Exposures.
bool isPersistable() const noexcept override
Whether the map is persistable (true IFF all contained BoundedFields are persistable).
std::shared_ptr< typehandling::Storable > cloneStorable() const override
Create a new ApCorrMap that is a copy of this one.
io::OutputArchiveHandle OutputArchiveHandle
ApCorrMap & operator=(ApCorrMap const &)=default