File Field.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
template<typename T>
struct Field : public lsst::afw::table::FieldBase<T>
#include <Field.h>

A description of a field in a table.

Field combines a type with the field name, documentation, units, and in some cases, the size of the field.

Specializations for different field types are inherited through FieldBase; see the documentation for those specializations for additional information about particular field types.

Public Types

typedef FieldBase<T>::Element Element

Type used to store field data in the table (a field may have multiple elements).

Public Functions

Field(std::string const &name, std::string const &doc, std::string const &units = "", FieldBase<T> const &size = FieldBase<T>())

Construct a new field.

Parameters
  • [in] name: Name of the field. Schemas provide extra functionality for names whose components are separated by underscores. Field names should be limited to letters, numbers, and underscores.

  • [in] doc: Documentation for the field. Should not contain single-quotes to avoid FITS round-trip problems.

  • [in] units: Units for the field. Should not contain single-quotes to avoid FITS round-trip problems.

  • [in] size: Size of the field as an integer, if appropriate. Field types that accept a size have a FieldBase that is implicitly constructable from an integer, so the argument type should be considered to effectively be int; using FieldBase here allows use to throw when the signature does not match the field type.

Field(std::string const &name, std::string const &doc, FieldBase<T> const &size)

Construct a new field.

Parameters
  • [in] name: Name of the field. Schemas provide extra functionality for names whose components are separated by underscores. Field names should be limited to letters, numbers, and underscores.

  • [in] doc: Documentation for the field.

  • [in] size: Size of the field as an integer, if appropriate. Field types that accept a size have a FieldBase that is implicitly constructable from an integer, so the argument type should be considered to effectively be int; using FieldBase here allows use to throw when the signature does not match the field type.

Field(Field const&)
Field(Field&&)
Field &operator=(Field const&)
Field &operator=(Field&&)
~Field()
std::string const &getName() const

Return the name of the field.

std::string const &getDoc() const

Return the documentation for the field.

std::string const &getUnits() const

Return the units for the field.

Field<T> copyRenamed(std::string const &newName) const

Return a new Field with a new name and other properties the same as this.

Private Members

std::string _name
std::string _doc
std::string _units

Friends

std::ostream &operator<<(std::ostream &os, Field<T> const &field)

Stringification.