LSST Applications 27.0.0,g0265f82a02+469cd937ee,g02d81e74bb+21ad69e7e1,g1470d8bcf6+cbe83ee85a,g2079a07aa2+e67c6346a6,g212a7c68fe+04a9158687,g2305ad1205+94392ce272,g295015adf3+81dd352a9d,g2bbee38e9b+469cd937ee,g337abbeb29+469cd937ee,g3939d97d7f+72a9f7b576,g487adcacf7+71499e7cba,g50ff169b8f+5929b3527e,g52b1c1532d+a6fc98d2e7,g591dd9f2cf+df404f777f,g5a732f18d5+be83d3ecdb,g64a986408d+21ad69e7e1,g858d7b2824+21ad69e7e1,g8a8a8dda67+a6fc98d2e7,g99cad8db69+f62e5b0af5,g9ddcbc5298+d4bad12328,ga1e77700b3+9c366c4306,ga8c6da7877+71e4819109,gb0e22166c9+25ba2f69a1,gb6a65358fc+469cd937ee,gbb8dafda3b+69d3c0e320,gc07e1c2157+a98bf949bb,gc120e1dc64+615ec43309,gc28159a63d+469cd937ee,gcf0d15dbbd+72a9f7b576,gdaeeff99f8+a38ce5ea23,ge6526c86ff+3a7c1ac5f1,ge79ae78c31+469cd937ee,gee10cc3b42+a6fc98d2e7,gf1cff7945b+21ad69e7e1,gfbcc870c63+9a11dc8c8f
LSST Data Management Base Package
|
Implementation of code to determine spatial model of PSF. More...
#include <numeric>
#include "Eigen/Core"
#include "Eigen/Cholesky"
#include "Eigen/SVD"
#include "lsst/geom/Box.h"
#include "lsst/geom/Point.h"
#include "lsst/afw/detection/Footprint.h"
#include "lsst/afw/math/SpatialCell.h"
#include "lsst/afw/math/FunctionLibrary.h"
#include "lsst/meas/algorithms/ImagePca.h"
#include "lsst/meas/algorithms/SpatialModelPsf.h"
#include "lsst/meas/algorithms/PsfCandidate.h"
Go to the source code of this file.
Classes | |
class | lsst::meas::algorithms::evalChi2Visitor< PixelT > |
A class to pass around to all our PsfCandidates to evaluate the PSF fit's X^2. More... | |
class | lsst::meas::algorithms::MinimizeChi2< PixelT > |
Namespaces | |
namespace | lsst |
namespace | lsst::meas |
namespace | lsst::meas::algorithms |
Functions | |
template<typename PixelT > | |
std::pair< std::shared_ptr< afw::math::LinearCombinationKernel >, std::vector< double > > | lsst::meas::algorithms::createKernelFromPsfCandidates (afw::math::SpatialCellSet const &psfCells, lsst::geom::Extent2I const &dims, lsst::geom::Point2I const &xy0, int const nEigenComponents, int const spatialOrder, int const ksize, int const nStarPerCell, bool const constantWeight, int const border) |
Return a Kernel pointer and a list of eigenvalues resulting from analysing the provided SpatialCellSet. | |
template<typename PixelT > | |
int | lsst::meas::algorithms::countPsfCandidates (afw::math::SpatialCellSet const &psfCells, int const nStarPerCell) |
Count the number of candidates in use. | |
void | lsst::meas::algorithms::setSpatialParameters (afw::math::Kernel *kernel, std::vector< double > const &coeffs) |
Fit a Kernel's spatial variability from a set of stars. | |
void | lsst::meas::algorithms::setSpatialParameters (afw::math::Kernel *kernel, Eigen::VectorXd const &vec) |
Fit a Kernel's spatial variability from a set of stars. | |
template<typename PixelT > | |
std::pair< bool, double > | lsst::meas::algorithms::fitSpatialKernelFromPsfCandidates (afw::math::Kernel *kernel, afw::math::SpatialCellSet const &psfCells, int const nStarPerCell, double const tolerance, double const lambda) |
Fit spatial kernel using full-nonlinear optimization to estimate candidate amplitudes. | |
template<typename PixelT > | |
std::pair< bool, double > | lsst::meas::algorithms::fitSpatialKernelFromPsfCandidates (afw::math::Kernel *kernel, afw::math::SpatialCellSet const &psfCells, bool const doNonLinearFit, int const nStarPerCell, double const tolerance, double const lambda) |
Fit spatial kernel using approximate fluxes for candidates, and solving a linear system of equations. | |
template<typename MaskedImageT > | |
double | lsst::meas::algorithms::subtractPsf (afw::detection::Psf const &psf, MaskedImageT *data, double x, double y, double psfFlux) |
Subtract a PSF from an image at a given position. | |
template<typename Image > | |
std::pair< std::vector< double >, afw::math::KernelList > | lsst::meas::algorithms::fitKernelParamsToImage (afw::math::LinearCombinationKernel const &kernel, Image const &image, geom::Point2D const &pos) |
Fit a LinearCombinationKernel to an Image, allowing the coefficients of the components to vary. | |
template<typename Image > | |
std::pair< std::shared_ptr< afw::math::Kernel >, std::pair< double, double > > | lsst::meas::algorithms::fitKernelToImage (afw::math::LinearCombinationKernel const &kernel, Image const &image, geom::Point2D const &pos) |
Fit a LinearCombinationKernel to an Image, allowing the coefficients of the components to vary. | |
Implementation of code to determine spatial model of PSF.
Definition in file SpatialModelPsf.cc.