Class FilterProperty

Class Documentation

class FilterProperty

Describe the properties of a Filter (e.g. effective wavelength)

Public Functions

FilterProperty(std::string const &name, double lambdaEff, double lambdaMin = NAN, double lambdaMax = NAN, bool force = false)
FilterProperty(std::string const &name, lsst::daf::base::PropertySet const &prop = lsst::daf::base::PropertySet(), bool force = false)

Parameters
  • name: name of filter

  • prop: values describing the Filter

  • force: Allow this name to replace a previous one

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

Return a filter’s name

double getLambdaEff() const

Return the filter’s effective wavelength (nm)

double getLambdaMin() const

Return the filter’s minimum wavelength (nm) where the transmission is above 1% of the maximum.

double getLambdaMax() const

Return the filter’s maximum wavelength (nm) where the transmission is above 1% of the maximum.

bool operator==(FilterProperty const &rhs) const

Return true iff two FilterProperties are identical

Parameters
  • rhs: Object to compare with this

bool operator!=(FilterProperty const &rhs) const

Parameters
  • rhs: Object to compare with this

Return true iff rhs != this

std::size_t hash_value() const

Return a hash of this object.

Public Static Functions

static void reset()

Clear all definitions

static FilterProperty const &lookup(std::string const &name)

Lookup the properties of a filter “name”

Parameters
  • name: name of desired filter