File Color.h¶
-
template<>
structhash
<lsst::afw::image::Color>¶ Public Types
-
template<>
usingresult_type
= size_t¶
Public Functions
-
size_t
operator()
(argument_type const &obj) const
-
template<>
-
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
image
-
class
Color
- #include <Color.h>
Describe the colour of a source
We need a concept of colour more general than “g - r” in order to calculate e.g. atmospheric dispersion or a source’s PSF
- Note
This is very much just a place holder until we work out what we need. A full SED may be required, in which case a constructor from an SED name might be appropriate, or a couple of colours, or …
Unnamed Group
-
bool
operator==
(Color const &other) const Equality comparison for colors
Just a placeholder like everything else, but we explicitly let indeterminate colors compare as equal.
In the future, we’ll probably want some way of doing fuzzy comparisons on colors, but then we’d have to define some kind of “color difference” matric, and it’s not worthwhile doing that yet.
-
bool
operator!=
(Color const &other) const
Public Functions
-
Color
(double g_r = std::numeric_limits<double>::quiet_NaN())
-
Color
(Color const&)
-
Color
(Color&&)
-
~Color
()
-
bool
isIndeterminate
() const Whether the color is the special value that indicates that it is unspecified.
-
std::size_t
hash_value
() const Return a hash of this object.
-
double
getLambdaEff
(Filter const&) const Return the effective wavelength for this object in the given filter
Private Members
-
double
_g_r
¶
-
class
-
namespace