lsst.afw  13.0-109-g62eb66483
Public Member Functions | Static Public Member Functions | List of all members
lsst::afw::image::FilterProperty Class Reference

Describe the properties of a Filter (e.g. More...

#include <Filter.h>

Public Member Functions

 FilterProperty (std::string const &name, double lambdaEff, bool force=false)
 
 FilterProperty (std::string const &name, lsst::daf::base::PropertySet const &prop=lsst::daf::base::PropertySet(), bool force=false)
 
 FilterProperty (std::string const &name, lsst::pex::policy::Policy const &pol, bool force=false)
 Create a new FilterProperty, setting values from a Policy. More...
 
std::string const & getName () const
 Return a filter's name. More...
 
double getLambdaEff () const
 Return the filter's effective wavelength (nm) More...
 
bool operator== (FilterProperty const &rhs) const
 Return true iff two FilterProperties are identical. More...
 
bool operator!= (FilterProperty const &rhs) const
 Return true iff rhs != this. More...
 

Static Public Member Functions

static void reset ()
 Clear all definitions. More...
 
static FilterProperty const & lookup (std::string const &name)
 Lookup the properties of a filter "name". More...
 

Detailed Description

Describe the properties of a Filter (e.g.

effective wavelength)

Definition at line 55 of file Filter.h.

Constructor & Destructor Documentation

◆ FilterProperty() [1/3]

lsst::afw::image::FilterProperty::FilterProperty ( std::string const &  name,
double  lambdaEff,
bool  force = false 
)
inlineexplicit

Definition at line 57 of file Filter.h.

◆ FilterProperty() [2/3]

lsst::afw::image::FilterProperty::FilterProperty ( std::string const &  name,
lsst::daf::base::PropertySet const &  prop = lsst::daf::base::PropertySet(),
bool  force = false 
)
explicit
Parameters
namename of filter
propvalues describing the Filter
forceAllow this name to replace a previous one

Definition at line 45 of file Filter.cc.

◆ FilterProperty() [3/3]

lsst::afw::image::FilterProperty::FilterProperty ( std::string const &  name,
lsst::pex::policy::Policy const &  pol,
bool  force = false 
)
explicit

Create a new FilterProperty, setting values from a Policy.

Parameters
namename of filter
polvalues describing the Filter
forceAllow this name to replace a previous one

Definition at line 53 of file Filter.cc.

Member Function Documentation

◆ getLambdaEff()

double lsst::afw::image::FilterProperty::getLambdaEff ( ) const
inline

Return the filter's effective wavelength (nm)

Definition at line 85 of file Filter.h.

◆ getName()

std::string const& lsst::afw::image::FilterProperty::getName ( ) const
inline

Return a filter's name.

Definition at line 81 of file Filter.h.

◆ lookup()

FilterProperty const & lsst::afw::image::FilterProperty::lookup ( std::string const &  name)
static

Lookup the properties of a filter "name".

Parameters
namename of desired filter

Definition at line 92 of file Filter.cc.

◆ operator!=()

bool lsst::afw::image::FilterProperty::operator!= ( FilterProperty const &  rhs) const
inline

Return true iff rhs != this.

Parameters
rhsObject to compare with this

Definition at line 95 of file Filter.h.

◆ operator==()

bool lsst::afw::image::FilterProperty::operator== ( FilterProperty const &  rhs) const

Return true iff two FilterProperties are identical.

Parameters
rhsObject to compare with this

Definition at line 82 of file Filter.cc.

◆ reset()

static void lsst::afw::image::FilterProperty::reset ( )
inlinestatic

Clear all definitions.

Definition at line 102 of file Filter.h.


The documentation for this class was generated from the following files: