File Observatory.h

template<>
struct hash<lsst::afw::coord::Observatory>

Public Types

template<>
using argument_type = lsst::afw::coord::Observatory
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 coord

Functions

std::ostream &operator<<(std::ostream &os, Observatory const &obs)

Print an Observatory to the stream

Parameters
  • [inout] os: Stream to print to

  • [in] obs: the Observatory to print

class Observatory
#include <Observatory.h>

Hold the location of an observatory

Public Functions

Observatory(lsst::geom::Angle const longitude, lsst::geom::Angle const latitude, double const elevation)

Construct an Observatory with longitude and latitude specified as lsst::geom::Angle

Parameters
  • [in] longitude: telescope longitude (positive values are E of Greenwich)

  • [in] latitude: telescope latitude

  • [in] elevation: telescope elevation (meters above reference spheroid)

Observatory(std::string const &longitude, std::string const &latitude, double const elevation)

Construct an Observatory with longitude and latitude specified as sexagesimal strings

Parameters
  • [in] longitude: telescope longitude (dd:mm:ss.s, positive values are E of Greenwich)

  • [in] latitude: telescope latitude (dd:mm:ss.s)

  • [in] elevation: telescope elevation (meters above reference spheroid)

~Observatory()
Observatory(Observatory const&)
Observatory(Observatory&&)
Observatory &operator=(Observatory const&)
Observatory &operator=(Observatory&&)
void setLongitude(lsst::geom::Angle const longitude)

set telescope longitude

void setLatitude(lsst::geom::Angle const latitude)

set telescope latitude (positive values are E of Greenwich)

void setElevation(double const elevation)

set telescope elevation (meters above reference spheroid)

lsst::geom::Angle getLongitude() const

get telescope longitude (positive values are E of Greenwich)

lsst::geom::Angle getLatitude() const

get telescope latitude

double getElevation() const

get telescope elevation (meters above reference spheroid)

std::string toString() const

get string representation

bool operator==(Observatory const &rhs) const
bool operator!=(Observatory const &rhs) const
std::size_t hash_value() const

Return a hash of this object.

Private Members

lsst::geom::Angle _latitude
lsst::geom::Angle _longitude
double _elevation
namespace std
template<>
struct hash<lsst::afw::coord::Observatory>

Public Types

template<>
using argument_type = lsst::afw::coord::Observatory
template<>
using result_type = size_t

Public Functions

size_t operator()(argument_type const &obj) const