File GaussianPsf.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
afw
-
namespace
detection
-
class
GaussianPsf
: public lsst::afw::table::io::PersistableFacade<GaussianPsf>, public lsst::afw::detection::Psf - #include <GaussianPsf.h>
A circularly symmetric Gaussian Psf class with no spatial variation, intended mostly for testing purposes.
This class is essentially an alternate implementation of meas::algorithms::SingleGaussianPsf; While SingleGaussianPsf inherits from ImagePsf and KernelPsf, and hence delegates to those various operations relating to the PSF model image (e.g. computeShape()), GaussianPsf computes these analytically.
Public Functions
-
GaussianPsf
(int width, int height, double sigma) Constructor for a GaussianPsf
- Parameters
[in] width
: Number of columns in realizations of the PSF at a point.[in] height
: Number of rows in realizations of the PSF at a point.[in] sigma
: Radius of the Gaussian.
-
GaussianPsf
(lsst::geom::Extent2I const &dimensions, double sigma) Constructor for a GaussianPsf
- Parameters
[in] dimensions
: Number of columns, rows in realizations of the PSF at a point.[in] sigma
: Radius of the Gaussian.
-
~GaussianPsf
()
-
GaussianPsf
(GaussianPsf const&)
-
GaussianPsf
(GaussianPsf&&)
-
GaussianPsf &
operator=
(GaussianPsf const&)
-
GaussianPsf &
operator=
(GaussianPsf&&)
-
std::shared_ptr<afw::detection::Psf>
clone
() const Polymorphic deep copy; should usually be unnecessary because Psfs are immutable.
-
std::shared_ptr<afw::detection::Psf>
resized
(int width, int height) const Return a clone with specified kernel dimensions.
-
lsst::geom::Extent2I
getDimensions
() const Return the dimensions of the images returned by computeImage()
-
double
getSigma
() const Return the radius of the Gaussian.
-
bool
isPersistable
() const Whether the Psf is persistable; always true.
Protected Functions
-
std::string
getPersistenceName
() const
-
std::string
getPythonModule
() const
-
void
write
(OutputArchiveHandle &handle) const
Private Functions
-
std::shared_ptr<Image>
doComputeKernelImage
(lsst::geom::Point2D const &position, image::Color const &color) const¶
-
double
doComputeApertureFlux
(double radius, lsst::geom::Point2D const &position, image::Color const &color) const¶
-
-
class
-
namespace