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