File Storable.h

template<>
struct hash<lsst::afw::typehandling::Storable>
#include <Storable.h>

Generic hash to allow polymorphic access to Storable

Exceptions
  • UnsupportedOperationException: Thrown if the argument is not hashable.

Public Types

template<>
using argument_type = lsst::afw::typehandling::Storable
template<>
using result_type = size_t

Public Functions

size_t operator()(argument_type const &obj) const
namespace lsst

Class for a simple mapping implementing a generic AstrometryTransform.

Remove all non-astronomical counts from the Chunk Exposure’s pixels.

Forward declarations for lsst::utils::Cache

For details on the Cache class, see the Cache.h file.

It uses a template rather than a pointer so that the derived classes can use the specifics of the transform. The class simplePolyMapping overloads a few routines.

A base class for image defects

Numeric constants used by the Integrate.h integrator routines.

Compute Image Statistics

Note

Gauss-Kronrod-Patterson quadrature coefficients for use in quadpack routine qng. These coefficients were calculated with 101 decimal digit arithmetic by L. W. Fullerton, Bell Labs, Nov 1981.

Note

The Statistics class itself can only handle lsst::afw::image::MaskedImage() types. The philosophy has been to handle other types by making them look like lsst::afw::image::MaskedImage() and reusing that code. Users should have no need to instantiate a Statistics object directly, but should use the overloaded makeStatistics() factory functions.

namespace afw
namespace typehandling

Functions

LSST_EXCEPTION_TYPE (UnsupportedOperationException, pex::exceptions::RuntimeError, lsst::afw::typehandling::UnsupportedOperationException) class Storable std::ostream& lsst::afw::typehandling::operator<<(std::ostream & os, Storable const & storable)

Exception thrown by Storable operations for unimplemented operations.

As with all RuntimeError, callers should assume that this exception may be thrown at any time. Interface supporting iteration over heterogenous containers.

Storable may be subclassed by either C++ or Python classes. Many operations defined by Storable are optional, and may throw UnsupportedOperationException if they are not defined.

Note

Any C++ subclass X of Storable that supports Python subclasses must have a pybind11 wrapper that uses StorableHelper<X> (or a subclass) and lsst::utils::python::PySharedPtr. Output operator for Storable.

Return

a reference to os

Parameters
  • os: the desired output stream

  • storable: the object to print

Exceptions
  • UnsupportedOperationException: Thrown if storable does not have an implementation of Storable::toString.

namespace std
template<>
struct hash<lsst::afw::typehandling::Storable>
#include <Storable.h>

Generic hash to allow polymorphic access to Storable

Exceptions
  • UnsupportedOperationException: Thrown if the argument is not hashable.

Public Types

template<>
using argument_type = lsst::afw::typehandling::Storable
template<>
using result_type = size_t

Public Functions

size_t operator()(argument_type const &obj) const