lsst.afw  15.0-24-g02ed2a30c+2
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, 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)
 
 FilterProperty (std::string const &name, lsst::pex::policy::Policy const &pol, bool force=false)
 Create a new FilterProperty, setting values from a Policy. More...
 
 FilterProperty (FilterProperty const &)=default
 
 FilterProperty (FilterProperty &&)=default
 
FilterProperty & operator= (FilterProperty const &)=default
 
FilterProperty & operator= (FilterProperty &&)=default
 
 ~FilterProperty ()=default
 
std::string const & getName () const
 Return a filter's name. More...
 
double getLambdaEff () const
 Return the filter's effective wavelength (nm) More...
 
double getLambdaMin () const
 Return the filter's minimum wavelength (nm) where the transmission is above 1% of the maximum. More...
 
double getLambdaMax () const
 Return the filter's maximum wavelength (nm) where the transmission is above 1% of the maximum. 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 56 of file Filter.h.

Constructor & Destructor Documentation

◆ FilterProperty() [1/5]

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

Definition at line 58 of file Filter.h.

◆ FilterProperty() [2/5]

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 46 of file Filter.cc.

◆ FilterProperty() [3/5]

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 60 of file Filter.cc.

◆ FilterProperty() [4/5]

lsst::afw::image::FilterProperty::FilterProperty ( FilterProperty const &  )
default

◆ FilterProperty() [5/5]

lsst::afw::image::FilterProperty::FilterProperty ( FilterProperty &&  )
default

◆ ~FilterProperty()

lsst::afw::image::FilterProperty::~FilterProperty ( )
default

Member Function Documentation

◆ getLambdaEff()

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

Return the filter's effective wavelength (nm)

Definition at line 94 of file Filter.h.

◆ getLambdaMax()

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

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

Definition at line 102 of file Filter.h.

◆ getLambdaMin()

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

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

Definition at line 98 of file Filter.h.

◆ getName()

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

Return a filter's name.

Definition at line 90 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 105 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 112 of file Filter.h.

◆ operator=() [1/2]

FilterProperty& lsst::afw::image::FilterProperty::operator= ( FilterProperty const &  )
default

◆ operator=() [2/2]

FilterProperty& lsst::afw::image::FilterProperty::operator= ( FilterProperty &&  )
default

◆ 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 95 of file Filter.cc.

◆ reset()

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

Clear all definitions.

Definition at line 119 of file Filter.h.


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