File BasisEvaluator.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
BasisEvaluator
- #include <BasisEvaluator.h>
Evaluates a standard shapelet Basis.
Public Functions
-
BasisEvaluator
(int order, BasisTypeEnum basisType) Construct an evaluator for a shapelet basis with the given order and type.
-
int
getOrder
() const Return the order of the shapelet expansion.
-
BasisTypeEnum
getBasisType
() const Return the type of the shapelet expansion.
-
void
fillEvaluation
(Array1d const &array, double x, double y, Array1d const &dx = Array1d(), Array1d const &dy = Array1d()) const Fill an array with an evaluation vector that can be used to evaluate a shapelet model at a point.
- Parameters
[out] array
: Output array. Must be preallocated to the correct size.[in] x
: x coordinate at which to evaluate the basis.[in] y
: y coordinate at which to evaluate the basis.[out] dx
: Optional output array for the derivative w.r.t. the x coordinate.[out] dy
: Optional output array for the derivative w.r.t. the y coordinate.
-
void
fillEvaluation
(Array1d const &array, geom::Point2D const &point, Array1d const &dx = Array1d(), Array1d const &dy = Array1d()) const Fill an array with an evaluation vector that can be used to evaluate a shapelet model at a point.
- Parameters
[out] array
: Output array. Must be preallocated to the correct size.[in] point
: Coordinates at which to evaluate the basis.[out] dx
: Optional output array for the derivative w.r.t. the x coordinate.[out] dy
: Optional output array for the derivative w.r.t. the y coordinate.
-
void
fillEvaluation
(Array1d const &array, geom::Extent2D const &point, Array1d const &dx = Array1d(), Array1d const &dy = Array1d()) const Fill an array with an evaluation vector that can be used to evaluate a shapelet model at a point.
- Parameters
[out] array
: Output array. Must be preallocated to the correct size.[in] point
: Coordinates at which to evaluate the basis.[out] dx
: Optional output array for the derivative w.r.t. the x coordinate.[out] dy
: Optional output array for the derivative w.r.t. the y coordinate.
-
void
fillIntegration
(Array1d const &array, int xMoment = 0, int yMoment = 0) const Fill an array with an integration vector that can be used to integrate a shapelet model.
- Parameters
[out] array
: Output array. Must be preallocated to the correct size.[in] xMoment
: Integrate the expansion multiplied by this power of x.[in] yMoment
: Integrate the expansion multiplied by this power of y.
-
-
class