File InputArchive.h

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 table
namespace io
class InputArchive
#include <InputArchive.h>

A multi-catalog archive object used to load table::io::Persistable objects.

An InputArchive can be constructed directly from the catalogs produced by OutputArchive, or more usefully, read from a multi-extension FITS file.

See

OutputArchive

Public Types

typedef std::map<int, std::shared_ptr<Persistable>> Map

Public Functions

InputArchive()

Construct an empty InputArchive that contains no objects.

InputArchive(BaseCatalog const &index, CatalogVector const &dataCatalogs)

Construct an archive from catalogs.

InputArchive(InputArchive const &other)

Copy-constructor. Does not deep-copy loaded Persistables.

InputArchive(InputArchive &&other)
InputArchive &operator=(InputArchive const &other)

Assignment. Does not deep-copy loaded Persistables.

InputArchive &operator=(InputArchive &&other)
~InputArchive()
std::shared_ptr<Persistable> get(int id) const

Load the Persistable with the given ID and return it.

If the object has already been loaded once, the same instance will be returned again.

template<typename T>
std::shared_ptr<T> get(int id) const

Load an object of the given type and ID with error checking.

Map const &getAll() const

Load and return all objects in the archive.

Public Static Functions

static InputArchive readFits(fits::Fits &fitsfile)

Read an object from an already open FITS object.

Parameters
  • [in] fitsfile: FITS object to read from, already positioned at the desired HDU.

Private Functions

InputArchive(std::shared_ptr<Impl> impl)

Private Members

std::shared_ptr<Impl> _impl