File MultiShapeletFunction.h¶
-
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
shapelet
-
class
MultiShapeletFunction
- #include <MultiShapeletFunction.h>
A multi-scale shapelet function.
Public Types
-
typedef std::shared_ptr<MultiShapeletFunction>
Ptr
-
typedef std::shared_ptr<MultiShapeletFunction const>
ConstPtr
-
typedef MultiShapeletFunctionEvaluator
Evaluator
-
typedef ShapeletFunction
Component
Public Functions
-
ComponentList &
getComponents
()
-
ComponentList const &
getComponents
() const
-
void
normalize
(double value = 1.0) Normalize the integral of the shapelet function to the given value.
-
void
shiftInPlace
(geom::Extent2D const &offset) Shift the shapelet function by shifting the ellipse of each component.
-
void
transformInPlace
(geom::AffineTransform const &transform) Transform the shapelet function by transforming the ellipse of each component.
-
MultiShapeletFunction
convolve
(ShapeletFunction const &other) const Convolve the multi-shapelet function.
-
MultiShapeletFunction
convolve
(MultiShapeletFunction const &other) const Convolve the multi-shapelet function.
-
MultiShapeletFunctionEvaluator
evaluate
() const Construct a helper object that can efficiently evaluate the function.
-
MultiShapeletFunction
()
-
MultiShapeletFunction
(MultiShapeletFunction const &other)
-
MultiShapeletFunction
(ComponentList const &components)
-
MultiShapeletFunction
(ShapeletFunction const &component)
Private Members
-
ComponentList
_components
¶
-
typedef std::shared_ptr<MultiShapeletFunction>
-
class
MultiShapeletFunctionEvaluator
- #include <MultiShapeletFunction.h>
Evaluates a MultiShapeletFunction.
This is distinct from MultiShapeletFunction to allow the evaluator to construct temporaries and allocate workspace that will be reused when evaluating at multiple points.
A MultiShapeletFunctionEvaluator is invalidated whenever the MultiShapeletFunction it was constructed from is modified.
Public Types
-
typedef std::shared_ptr<MultiShapeletFunctionEvaluator>
Ptr
-
typedef std::shared_ptr<MultiShapeletFunctionEvaluator const>
ConstPtr
Public Functions
-
double
operator()
(double x, double y) const Evaluate at the given point.
-
double
operator()
(geom::Point2D const &point) const Evaluate at the given point.
-
double
operator()
(geom::Extent2D const &point) const Evaluate at the given point.
-
ndarray::Array<double, 1, 1>
operator()
(ndarray::Array<double const, 1> const &x, ndarray::Array<double const, 1> const &y) const Evaluate at the given points, returning a newly-allocated array.
-
void
addToImage
(ndarray::Array<double, 2, 1> const &array, geom::Point2I const &xy0 = geom::Point2I()) const Add the function to the given image-like array.
-
double
integrate
() const Compute the definite integral or integral moments.
-
afw::geom::ellipses::Ellipse
computeMoments
() const Return the unweighted dipole and quadrupole moments of the function as an ellipse.
-
void
update
(MultiShapeletFunction const &function) Update the evaluator from the given function.
-
MultiShapeletFunctionEvaluator
(MultiShapeletFunction const &function) Construct an evaluator for the given function.
Private Types
-
typedef ShapeletFunctionEvaluator
Component
¶
Private Members
-
ComponentList
_components
¶
-
typedef std::shared_ptr<MultiShapeletFunctionEvaluator>
-
class