|
LSSTApplications
8.0.0.0+107,8.0.0.1+13,9.1+18,9.2,master-g084aeec0a4,master-g0aced2eed8+6,master-g15627eb03c,master-g28afc54ef9,master-g3391ba5ea0,master-g3d0fb8ae5f,master-g4432ae2e89+36,master-g5c3c32f3ec+17,master-g60f1e072bb+1,master-g6a3ac32d1b,master-g76a88a4307+1,master-g7bce1f4e06+57,master-g8ff4092549+31,master-g98e65bf68e,master-ga6b77976b1+53,master-gae20e2b580+3,master-gb584cd3397+53,master-gc5448b162b+1,master-gc54cf9771d,master-gc69578ece6+1,master-gcbf758c456+22,master-gcec1da163f+63,master-gcf15f11bcc,master-gd167108223,master-gf44c96c709
LSSTDataManagementBasePackage
|
Classes | |
| class | FootprintFlux |
| class | FootprintWeightFlux |
| struct | getSum2 |
| class | EllipticalApertureFlux |
| A class that knows how to calculate fluxes as a simple sum over a Footprint. More... | |
| class | SincFlux |
| A class that knows how to calculate fluxes using the SINC photometry algorithm /. More... | |
| class | ShapeletImpl |
| class | LoadCandidatesVisitor |
| class | ShapeletInterpolationImpl |
| class | ShapeletKernelFunction |
| class | ShapeletSpatialFunction |
| class | SizeMagnitudeStarSelectorImpl |
| class | evalChi2Visitor |
| A class to pass around to all our PsfCandidates to evaluate the PSF fit's X^2. More... | |
| class | MinimizeChi2 |
| class | Algorithm |
| Base class for source measurement algorithms. More... | |
| class | AlgorithmControl |
| Base class for measurement algorithm control objects. More... | |
| class | ApertureFlux |
| A class that knows how to calculate fluxes as a simple sum over a Footprint. More... | |
| class | CentroidAlgorithm |
| Intermediate base class for algorithms that compute a centroid. More... | |
| class | CentroidControl |
| class | GaussianCentroidControl |
| C++ control object for Gaussian centroid. More... | |
| class | NaiveCentroidControl |
| C++ control object for naive centroid. More... | |
| class | SdssCentroidControl |
| C++ control object for SDSS centroid. More... | |
| class | ClassificationControl |
| Control/factory for the algorithm that does star/galaxy classification. More... | |
| class | CoaddPsf |
| CoaddPsf is the Psf derived to be used for non-PSF-matched Coadd images. More... | |
| class | CorrectFluxesControl |
| A control object for a pluggable algorithm that scales fluxes to a common system. More... | |
| class | DoubleGaussianPsf |
| Represent a Psf as a circularly symmetrical double Gaussian. More... | |
| class | ExposurePatch |
| class | FluxAlgorithm |
| Intermediate base class for algorithms that compute a flux. More... | |
| class | FluxControl |
| class | ApertureFluxControl |
| C++ control object for aperture flux. More... | |
| class | EllipticalApertureFluxControl |
| C++ control object for elliptical aperture fluxes. More... | |
| class | PeakLikelihoodFluxControl |
| C++ control object for peak likelihood flux. More... | |
| class | NaiveFluxControl |
| C++ control object for naive flux. More... | |
| class | PsfFluxControl |
| C++ control object for PSF flux. More... | |
| class | SincFluxControl |
| C++ control object for sinc aperture flux. More... | |
| class | GaussianFluxControl |
| C++ control object for Gaussian flux. More... | |
| class | PsfImagePca |
| class | ImagePsf |
| An intermediate base class for Psfs that use an image representation. More... | |
| class | Defect |
| Encapsulate information about a bad portion of a detector. More... | |
| class | KernelPsf |
| A Psf defined by a Kernel. More... | |
| struct | KernelPsfPersistenceHelper |
| A read-only singleton struct containing the schema and key used in persistence for KernelPsf. More... | |
| class | KernelPsfFactory |
| A PersistableFactory for KernelPsf and its subclasses. More... | |
| class | MeasureSources |
| class | MeasureSourcesBuilder |
| class | PcaPsf |
| Represent a PSF as a linear combination of PCA (== Karhunen-Loeve) basis functions. More... | |
| class | PixelFlagControl |
| Control/factory for the algorithm that sets source bits from pixel mask bits. More... | |
| class | PsfAttributes |
| class | PsfCandidate |
| Class stored in SpatialCells for spatial Psf fitting. More... | |
| class | RecordCentroidControl |
| Control/factory for an algorithm that records the centroid used in the measurement. More... | |
| class | ScaledFlux |
| An abstract base class for flux algorithms that need to be scaled to a common system. More... | |
| class | SdssShapeControl |
| C++ control object for SDSS shape. More... | |
| class | ShapeAlgorithm |
| Intermediate base class for algorithms that compute a shape. More... | |
| class | ShapeControl |
| class | Shapelet |
| class | ShapeletInterpolation |
| class | LocalShapeletKernel |
| class | ShapeletKernel |
| class | ShapeletPsfCandidate |
| class | SingleGaussianPsf |
| Represent a PSF as a circularly symmetrical double Gaussian. More... | |
| class | SizeMagnitudeStarSelector |
| class | SkyCoordControl |
| Control/factory for an algorithm that sets ra/dec from x/y. More... | |
| class | WarpedPsf |
| A Psf class that maps an arbitrary Psf through a coordinate transformation. More... | |
Typedefs | |
| typedef std::vector < Defect::Ptr > ::const_iterator | DefectCIter |
| typedef std::map< std::string, boost::shared_ptr< Algorithm const > > | AlgorithmMap |
Functions | |
| afw::geom::Box2I | getOverallBBox (std::vector< boost::shared_ptr< afw::image::Image< double > >> const &imgVector) |
| void | addToImage (boost::shared_ptr< afw::image::Image< double > > image, std::vector< boost::shared_ptr< afw::image::Image< double > >> const &imgVector, std::vector< double > const &weightVector) |
| template<typename MaskedImageT > | |
| std::vector < detection::Footprint::Ptr > | findCosmicRays (MaskedImageT &mimage, detection::Psf const &psf, double const bkgd, lsst::pex::policy::Policy const &policy, bool const keep) |
| Find cosmic rays in an Image, and mask and remove them. More... | |
| LSST_MEAS_ALGORITHM_PRIVATE_IMPLEMENTATION (ApertureFlux) | |
| LSST_MEAS_ALGORITHM_PRIVATE_IMPLEMENTATION (EllipticalApertureFlux) | |
| template std::pair< double, double > | photometry::calculateSincApertureFlux< lsst::afw::image::MaskedImage< float > > (lsst::afw::image::MaskedImage< float > const &, lsst::afw::geom::ellipses::Ellipse const &, double const) |
| template std::pair< double, double > | photometry::calculateSincApertureFlux< lsst::afw::image::MaskedImage< double > > (lsst::afw::image::MaskedImage< double > const &, lsst::afw::geom::ellipses::Ellipse const &, double const) |
| LSST_MEAS_ALGORITHM_PRIVATE_IMPLEMENTATION (SincFlux) | |
| template<typename MaskedImageT > | |
| void | interpolateOverDefects (MaskedImageT &mimage, lsst::afw::detection::Psf const &, std::vector< Defect::Ptr > &_badList, double fallbackValue) |
| Process a set of known bad pixels in an image. More... | |
| template bool | detail::getAdaptiveMoments< lsst::afw::image::Image< int > > (lsst::afw::image::Image< int > const &, double, double, double, double, detail::SdssShapeImpl *, int, float, float) |
| template std::pair< double, double > | detail::getFixedMomentsFlux< lsst::afw::image::Image< int > > (lsst::afw::image::Image< int > const &, double, double, double, detail::SdssShapeImpl const &) |
| template bool | detail::getAdaptiveMoments< lsst::afw::image::MaskedImage< int > > (lsst::afw::image::MaskedImage< int > const &, double, double, double, double, detail::SdssShapeImpl *, int, float, float) |
| template std::pair< double, double > | detail::getFixedMomentsFlux< lsst::afw::image::MaskedImage< int > > (lsst::afw::image::MaskedImage< int > const &, double, double, double, detail::SdssShapeImpl const &) |
| template bool | detail::getAdaptiveMoments< lsst::afw::image::Image< float > > (lsst::afw::image::Image< float > const &, double, double, double, double, detail::SdssShapeImpl *, int, float, float) |
| template std::pair< double, double > | detail::getFixedMomentsFlux< lsst::afw::image::Image< float > > (lsst::afw::image::Image< float > const &, double, double, double, detail::SdssShapeImpl const &) |
| template bool | detail::getAdaptiveMoments< lsst::afw::image::MaskedImage< float > > (lsst::afw::image::MaskedImage< float > const &, double, double, double, double, detail::SdssShapeImpl *, int, float, float) |
| template std::pair< double, double > | detail::getFixedMomentsFlux< lsst::afw::image::MaskedImage< float > > (lsst::afw::image::MaskedImage< float > const &, double, double, double, detail::SdssShapeImpl const &) |
| template bool | detail::getAdaptiveMoments< lsst::afw::image::Image< double > > (lsst::afw::image::Image< double > const &, double, double, double, double, detail::SdssShapeImpl *, int, float, float) |
| template std::pair< double, double > | detail::getFixedMomentsFlux< lsst::afw::image::Image< double > > (lsst::afw::image::Image< double > const &, double, double, double, detail::SdssShapeImpl const &) |
| template bool | detail::getAdaptiveMoments< lsst::afw::image::MaskedImage< double > > (lsst::afw::image::MaskedImage< double > const &, double, double, double, double, detail::SdssShapeImpl *, int, float, float) |
| template std::pair< double, double > | detail::getFixedMomentsFlux< lsst::afw::image::MaskedImage< double > > (lsst::afw::image::MaskedImage< double > const &, double, double, double, detail::SdssShapeImpl const &) |
| Eigen::Matrix2d | getJacobian (const lsst::afw::image::Wcs &wcs,const lsst::afw::geom::PointD &pos) |
| a helper function to deal with the fact that Wcs doesn't directly return a Jacobian. More... | |
| template<class ShapeletPtr > | |
| int | getImageSize (ShapeletPtr shapelet, int size) |
| std::vector < lsst::afw::math::Kernel::SpatialFunctionPtr > | buildSetOfSpatialFunctions (ShapeletInterpolation::ConstPtr interp) |
| template<typename PixelT > | |
| std::pair < afwMath::LinearCombinationKernel::Ptr, std::vector< double > > | createKernelFromPsfCandidates (afwMath::SpatialCellSet const &psfCells, lsst::afw::geom::Extent2I const &dims, lsst::afw::geom::Point2I const &xy0, int const nEigenComponents, int const spatialOrder, int const ksize, int const nStarPerCell, bool const constantWeight, int const border) |
| template<typename PixelT > | |
| int | countPsfCandidates (afwMath::SpatialCellSet const &psfCells, int const nStarPerCell) |
| void | setSpatialParameters (afwMath::Kernel *kernel, std::vector< double > const &coeffs) |
| void | setSpatialParameters (afwMath::Kernel *kernel, Eigen::VectorXd const &vec) |
| template<typename PixelT > | |
| std::pair< bool, double > | fitSpatialKernelFromPsfCandidates (afwMath::Kernel *kernel, afwMath::SpatialCellSet const &psfCells, int const nStarPerCell, double const tolerance, double const lambda) |
| template<typename PixelT > | |
| std::pair< bool, double > | fitSpatialKernelFromPsfCandidates (afwMath::Kernel *kernel, afwMath::SpatialCellSet const &psfCells, bool const doNonLinearFit, int const nStarPerCell, double const tolerance, double const lambda) |
| template<typename MaskedImageT > | |
| double | subtractPsf (afwDetection::Psf const &psf, MaskedImageT *data, double x, double y, double psfFlux) |
| template<typename Image > | |
| std::pair< std::vector< double > , afwMath::KernelList > | fitKernelParamsToImage (afwMath::LinearCombinationKernel const &kernel, Image const &image, afwGeom::Point2D const &pos) |
| template<typename Image > | |
| std::pair < afwMath::Kernel::Ptr, std::pair< double, double > > | fitKernelToImage (afwMath::LinearCombinationKernel const &kernel, Image const &image, afwGeom::Point2D const &pos) |
| template<typename MaskedImageT > | |
| std::vector< boost::shared_ptr < lsst::afw::detection::Footprint > > | findCosmicRays (MaskedImageT &image, lsst::afw::detection::Psf const &psf, double const bkgd, lsst::pex::policy::Policy const &policy, bool const keep=false) |
| Find cosmic rays in an Image, and mask and remove them. More... | |
| template<typename ExposureT > | |
| boost::shared_ptr < ExposurePatch< ExposureT > > | makeExposurePatch (boost::shared_ptr< ExposureT const > exp, boost::shared_ptr< afw::detection::Footprint const > foot, afw::geom::Point2D const ¢er) |
| Factory function for ExposurePatch. More... | |
| template<typename ExposureT > | |
| boost::shared_ptr < ExposurePatch< ExposureT > > | makeExposurePatch (boost::shared_ptr< ExposureT const > exp, afw::detection::Footprint const &standardFoot, afw::geom::Point2D const &standardCenter, afw::image::Wcs const &standardWcs) |
| template<typename PixelT > | |
| boost::shared_ptr < PsfCandidate< PixelT > > | makePsfCandidate (boost::shared_ptr< afw::table::SourceRecord > const &source, boost::shared_ptr< afw::image::Exposure< PixelT > > image) |
| template<typename PixelT > | |
| std::pair < lsst::afw::math::LinearCombinationKernel::Ptr, std::vector< double > > | createKernelFromPsfCandidates (lsst::afw::math::SpatialCellSet const &psfCells, lsst::afw::geom::Extent2I const &dims, lsst::afw::geom::Point2I const &xy0, int const nEigenComponents, int const spatialOrder, int const ksize, int const nStarPerCell=-1, bool const constantWeight=true, int const border=3) |
| template<typename ImageT > | |
| double | subtractPsf (lsst::afw::detection::Psf const &psf, ImageT *data, double x, double y, double psfFlux=std::numeric_limits< double >::quiet_NaN()) |
| template<typename Image > | |
| std::pair< std::vector< double > , lsst::afw::math::KernelList > | fitKernelParamsToImage (lsst::afw::math::LinearCombinationKernel const &kernel, Image const &image, lsst::afw::geom::Point2D const &pos) |
| template<typename Image > | |
| std::pair < lsst::afw::math::Kernel::Ptr, std::pair< double, double > > | fitKernelToImage (lsst::afw::math::LinearCombinationKernel const &kernel, Image const &image, lsst::afw::geom::Point2D const &pos) |
Fit spatial kernel using approximate fluxes for candidates, and solving a linear system of equations
| typedef std::map<std::string,boost::shared_ptr< Algorithm const > > lsst::meas::algorithms::AlgorithmMap |
Definition at line 79 of file Algorithm.h.
| typedef std::vector<Defect::Ptr>::const_iterator lsst::meas::algorithms::DefectCIter |
| void lsst::meas::algorithms::addToImage | ( | boost::shared_ptr< afw::image::Image< double > > | image, |
| std::vector< boost::shared_ptr< afw::image::Image< double > >> const & | imgVector, | ||
| std::vector< double > const & | weightVector | ||
| ) |
Definition at line 189 of file CoaddPsf.cc.
| std::vector<lsst::afw::math::Kernel::SpatialFunctionPtr> lsst::meas::algorithms::buildSetOfSpatialFunctions | ( | ShapeletInterpolation::ConstPtr | interp | ) |
Definition at line 167 of file ShapeletKernel.cc.
| int lsst::meas::algorithms::countPsfCandidates | ( | afwMath::SpatialCellSet const & | psfCells, |
| int const | nStarPerCell | ||
| ) |
Count the number of candidates in use
Definition at line 352 of file SpatialModelPsf.cc.
| std::pair<lsst::afw::math::LinearCombinationKernel::Ptr, std::vector<double> > lsst::meas::algorithms::createKernelFromPsfCandidates | ( | afwMath::SpatialCellSet const & | psfCells, |
| lsst::afw::geom::Extent2I const & | dims, | ||
| lsst::afw::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::Ptr and a list of eigenvalues resulting from analysing the provided SpatialCellSet
The Kernel is a LinearCombinationKernel of the first nEigenComponents eigenImages
N.b. This is templated over the Pixel type of the science image
| psfCells | A SpatialCellSet containing PsfCandidates |
| dims | Dimensions of image |
| xy0 | Origin of image |
| nEigenComponents | number of eigen components to keep; <= 0 => infty |
| spatialOrder | Order of spatial variation (cf. afw::math::PolynomialFunction2) |
| ksize | Size of generated Kernel images |
| nStarPerCell | max no. of stars per cell; <= 0 => infty |
| constantWeight | should each star have equal weight in the fit? |
| border | Border size for background subtraction |
Definition at line 206 of file SpatialModelPsf.cc.
| std::pair<afwMath::LinearCombinationKernel::Ptr, std::vector<double> > lsst::meas::algorithms::createKernelFromPsfCandidates | ( | afwMath::SpatialCellSet const & | psfCells, |
| lsst::afw::geom::Extent2I const & | dims, | ||
| lsst::afw::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::Ptr and a list of eigenvalues resulting from analysing the provided SpatialCellSet
The Kernel is a LinearCombinationKernel of the first nEigenComponents eigenImages
N.b. This is templated over the Pixel type of the science image
| psfCells | A SpatialCellSet containing PsfCandidates |
| dims | Dimensions of image |
| xy0 | Origin of image |
| nEigenComponents | number of eigen components to keep; <= 0 => infty |
| spatialOrder | Order of spatial variation (cf. afw::math::PolynomialFunction2) |
| ksize | Size of generated Kernel images |
| nStarPerCell | max no. of stars per cell; <= 0 => infty |
| constantWeight | should each star have equal weight in the fit? |
| border | Border size for background subtraction |
Definition at line 206 of file SpatialModelPsf.cc.
| template bool lsst::meas::algorithms::detail::getAdaptiveMoments< lsst::afw::image::Image< double > > | ( | lsst::afw::image::Image< double > const & | , |
| double | , | ||
| double | , | ||
| double | , | ||
| double | , | ||
| detail::SdssShapeImpl * | , | ||
| int | , | ||
| float | , | ||
| float | |||
| ) |
| template bool lsst::meas::algorithms::detail::getAdaptiveMoments< lsst::afw::image::Image< float > > | ( | lsst::afw::image::Image< float > const & | , |
| double | , | ||
| double | , | ||
| double | , | ||
| double | , | ||
| detail::SdssShapeImpl * | , | ||
| int | , | ||
| float | , | ||
| float | |||
| ) |
| template bool lsst::meas::algorithms::detail::getAdaptiveMoments< lsst::afw::image::Image< int > > | ( | lsst::afw::image::Image< int > const & | , |
| double | , | ||
| double | , | ||
| double | , | ||
| double | , | ||
| detail::SdssShapeImpl * | , | ||
| int | , | ||
| float | , | ||
| float | |||
| ) |
| template bool lsst::meas::algorithms::detail::getAdaptiveMoments< lsst::afw::image::MaskedImage< double > > | ( | lsst::afw::image::MaskedImage< double > const & | , |
| double | , | ||
| double | , | ||
| double | , | ||
| double | , | ||
| detail::SdssShapeImpl * | , | ||
| int | , | ||
| float | , | ||
| float | |||
| ) |
| template bool lsst::meas::algorithms::detail::getAdaptiveMoments< lsst::afw::image::MaskedImage< float > > | ( | lsst::afw::image::MaskedImage< float > const & | , |
| double | , | ||
| double | , | ||
| double | , | ||
| double | , | ||
| detail::SdssShapeImpl * | , | ||
| int | , | ||
| float | , | ||
| float | |||
| ) |
| template bool lsst::meas::algorithms::detail::getAdaptiveMoments< lsst::afw::image::MaskedImage< int > > | ( | lsst::afw::image::MaskedImage< int > const & | , |
| double | , | ||
| double | , | ||
| double | , | ||
| double | , | ||
| detail::SdssShapeImpl * | , | ||
| int | , | ||
| float | , | ||
| float | |||
| ) |
| template std::pair<double, double> lsst::meas::algorithms::detail::getFixedMomentsFlux< lsst::afw::image::Image< double > > | ( | lsst::afw::image::Image< double > const & | , |
| double | , | ||
| double | , | ||
| double | , | ||
| detail::SdssShapeImpl const & | |||
| ) |
| template std::pair<double, double> lsst::meas::algorithms::detail::getFixedMomentsFlux< lsst::afw::image::Image< float > > | ( | lsst::afw::image::Image< float > const & | , |
| double | , | ||
| double | , | ||
| double | , | ||
| detail::SdssShapeImpl const & | |||
| ) |
| template std::pair<double, double> lsst::meas::algorithms::detail::getFixedMomentsFlux< lsst::afw::image::Image< int > > | ( | lsst::afw::image::Image< int > const & | , |
| double | , | ||
| double | , | ||
| double | , | ||
| detail::SdssShapeImpl const & | |||
| ) |
| template std::pair<double, double> lsst::meas::algorithms::detail::getFixedMomentsFlux< lsst::afw::image::MaskedImage< double > > | ( | lsst::afw::image::MaskedImage< double > const & | , |
| double | , | ||
| double | , | ||
| double | , | ||
| detail::SdssShapeImpl const & | |||
| ) |
| template std::pair<double, double> lsst::meas::algorithms::detail::getFixedMomentsFlux< lsst::afw::image::MaskedImage< float > > | ( | lsst::afw::image::MaskedImage< float > const & | , |
| double | , | ||
| double | , | ||
| double | , | ||
| detail::SdssShapeImpl const & | |||
| ) |
| template std::pair<double, double> lsst::meas::algorithms::detail::getFixedMomentsFlux< lsst::afw::image::MaskedImage< int > > | ( | lsst::afw::image::MaskedImage< int > const & | , |
| double | , | ||
| double | , | ||
| double | , | ||
| detail::SdssShapeImpl const & | |||
| ) |
| std::vector<boost::shared_ptr<lsst::afw::detection::Footprint> > lsst::meas::algorithms::findCosmicRays | ( | MaskedImageT & | mimage, |
| detection::Psf const & | psf, | ||
| double const | bkgd, | ||
| lsst::pex::policy::Policy const & | policy, | ||
| bool const | keep | ||
| ) |
Find cosmic rays in an Image, and mask and remove them.
In this loop, we look for strings of CRpixels on the same row and adjoining columns; each of these becomes a Span with a unique ID.
| mimage | Image to search |
| psf | the Image's PSF |
| bkgd | unsubtracted background of frame, DN |
| policy | Policy directing the behavior |
| keep | if true, don't remove the CRs |
Definition at line 341 of file CR.cc.
| std::vector<detection::Footprint::Ptr> lsst::meas::algorithms::findCosmicRays | ( | MaskedImageT & | mimage, |
| detection::Psf const & | psf, | ||
| double const | bkgd, | ||
| lsst::pex::policy::Policy const & | policy, | ||
| bool const | keep | ||
| ) |
Find cosmic rays in an Image, and mask and remove them.
In this loop, we look for strings of CRpixels on the same row and adjoining columns; each of these becomes a Span with a unique ID.
| mimage | Image to search |
| psf | the Image's PSF |
| bkgd | unsubtracted background of frame, DN |
| policy | Policy directing the behavior |
| keep | if true, don't remove the CRs |
Definition at line 341 of file CR.cc.
| std::pair<std::vector<double>, lsst::afw::math::KernelList> lsst::meas::algorithms::fitKernelParamsToImage | ( | afwMath::LinearCombinationKernel const & | kernel, |
| Image const & | image, | ||
| afwGeom::Point2D const & | pos | ||
| ) |
Fit a LinearCombinationKernel to an Image, allowing the coefficients of the components to vary
| kernel | the Kernel to fit |
| image | the image to be fit |
| pos | the position of the object |
Definition at line 1061 of file SpatialModelPsf.cc.
| std::pair<std::vector<double>, afwMath::KernelList> lsst::meas::algorithms::fitKernelParamsToImage | ( | afwMath::LinearCombinationKernel const & | kernel, |
| Image const & | image, | ||
| afwGeom::Point2D const & | pos | ||
| ) |
Fit a LinearCombinationKernel to an Image, allowing the coefficients of the components to vary
| kernel | the Kernel to fit |
| image | the image to be fit |
| pos | the position of the object |
Definition at line 1061 of file SpatialModelPsf.cc.
| std::pair<lsst::afw::math::Kernel::Ptr, std::pair<double, double> > lsst::meas::algorithms::fitKernelToImage | ( | afwMath::LinearCombinationKernel const & | kernel, |
| Image const & | image, | ||
| afwGeom::Point2D const & | pos | ||
| ) |
Fit a LinearCombinationKernel to an Image, allowing the coefficients of the components to vary
| kernel | the Kernel to fit |
| image | the image to be fit |
| pos | the position of the object |
Definition at line 1133 of file SpatialModelPsf.cc.
| std::pair<afwMath::Kernel::Ptr, std::pair<double, double> > lsst::meas::algorithms::fitKernelToImage | ( | afwMath::LinearCombinationKernel const & | kernel, |
| Image const & | image, | ||
| afwGeom::Point2D const & | pos | ||
| ) |
Fit a LinearCombinationKernel to an Image, allowing the coefficients of the components to vary
| kernel | the Kernel to fit |
| image | the image to be fit |
| pos | the position of the object |
Definition at line 1133 of file SpatialModelPsf.cc.
| std::pair< bool, double > lsst::meas::algorithms::fitSpatialKernelFromPsfCandidates | ( | afwMath::Kernel * | kernel, |
| afwMath::SpatialCellSet const & | psfCells, | ||
| int const | nStarPerCell, | ||
| double const | tolerance, | ||
| double const | lambda | ||
| ) |
Fit spatial kernel using full-nonlinear optimization to estimate candidate amplitudes
| kernel | the Kernel to fit |
| psfCells | A SpatialCellSet containing PsfCandidates |
| nStarPerCell | max no. of stars per cell; <= 0 => infty |
| tolerance | Tolerance; how close chi^2 should be to true minimum |
| lambda | floor for variance is lambda*data |
Definition at line 621 of file SpatialModelPsf.cc.
| std::pair< bool, double > lsst::meas::algorithms::fitSpatialKernelFromPsfCandidates | ( | afwMath::Kernel * | kernel, |
| afwMath::SpatialCellSet const & | psfCells, | ||
| bool const | doNonLinearFit, | ||
| int const | nStarPerCell, | ||
| double const | tolerance, | ||
| double const | lambda | ||
| ) |
| kernel | the Kernel to fit |
| psfCells | A SpatialCellSet containing PsfCandidates |
| doNonLinearFit | Use the full-up nonlinear fitter |
| nStarPerCell | max no. of stars per cell; <= 0 => infty |
| tolerance | Tolerance; how close chi^2 should be to true minimum |
| lambda | floor for variance is lambda*data |
Definition at line 909 of file SpatialModelPsf.cc.
|
inline |
Definition at line 106 of file ShapeletKernel.cc.
| Eigen::Matrix2d lsst::meas::algorithms::getJacobian | ( | const lsst::afw::image::Wcs & | wcs, |
| const lsst::afw::geom::PointD & | pos | ||
| ) |
a helper function to deal with the fact that Wcs doesn't directly return a Jacobian.
This function calculates the local Jacobian of the distortion pattern at a given location.
The input position is given in chip coordinates, since that's what we generally have when we want to calculate the local distortion.
The return matrix is:
J = ( du/dx du/dy ) ( dv/dx dv/dy )
where (u,v) are the sky coordinates, and (x,y) are the chip coordinates.
| wcs | The wcs defining the distortion function |
| pos | The position in chip coordinates at which to find the Jacobian |
Definition at line 209 of file Shapelet.cc.
| afw::geom::Box2I lsst::meas::algorithms::getOverallBBox | ( | std::vector< boost::shared_ptr< afw::image::Image< double > >> const & | imgVector | ) |
Definition at line 174 of file CoaddPsf.cc.
| void lsst::meas::algorithms::interpolateOverDefects | ( | MaskedImageT & | mimage, |
| lsst::afw::detection::Psf const & | , | ||
| std::vector< Defect::Ptr > & | _badList, | ||
| double | fallbackValue | ||
| ) |
Process a set of known bad pixels in an image.
| mimage | Image to patch |
| psf | the Image's PSF |
| _badList | List of Defects to patch |
| fallbackValue | Value to fallback to if all else fails |
| lsst::meas::algorithms::LSST_MEAS_ALGORITHM_PRIVATE_IMPLEMENTATION | ( | EllipticalApertureFlux | ) |
| lsst::meas::algorithms::LSST_MEAS_ALGORITHM_PRIVATE_IMPLEMENTATION | ( | ApertureFlux | ) |
| lsst::meas::algorithms::LSST_MEAS_ALGORITHM_PRIVATE_IMPLEMENTATION | ( | SincFlux | ) |
| boost::shared_ptr< ExposurePatch<ExposureT> > lsst::meas::algorithms::makeExposurePatch | ( | boost::shared_ptr< ExposureT const > | exp, |
| boost::shared_ptr< afw::detection::Footprint const > | foot, | ||
| afw::geom::Point2D const & | center | ||
| ) |
Factory function for ExposurePatch.
Definition at line 86 of file ExposurePatch.h.
| boost::shared_ptr< ExposurePatch<ExposureT> > lsst::meas::algorithms::makeExposurePatch | ( | boost::shared_ptr< ExposureT const > | exp, |
| afw::detection::Footprint const & | standardFoot, | ||
| afw::geom::Point2D const & | standardCenter, | ||
| afw::image::Wcs const & | standardWcs | ||
| ) |
Definition at line 94 of file ExposurePatch.h.
| boost::shared_ptr<PsfCandidate<PixelT> > lsst::meas::algorithms::makePsfCandidate | ( | boost::shared_ptr< afw::table::SourceRecord > const & | source, |
| boost::shared_ptr< afw::image::Exposure< PixelT > > | image | ||
| ) |
Return a PsfCandidate of the right sort
Cf. std::make_pair
| source | The detected Source |
| image | The image wherein lies the object |
Definition at line 188 of file PsfCandidate.h.
| template std::pair<double, double> lsst::meas::algorithms::photometry::calculateSincApertureFlux< lsst::afw::image::MaskedImage< double > > | ( | lsst::afw::image::MaskedImage< double > const & | , |
| lsst::afw::geom::ellipses::Ellipse const & | , | ||
| double | const | ||
| ) |
| template std::pair<double, double> lsst::meas::algorithms::photometry::calculateSincApertureFlux< lsst::afw::image::MaskedImage< float > > | ( | lsst::afw::image::MaskedImage< float > const & | , |
| lsst::afw::geom::ellipses::Ellipse const & | , | ||
| double | const | ||
| ) |
| void lsst::meas::algorithms::setSpatialParameters | ( | afwMath::Kernel * | kernel, |
| std::vector< double > const & | coeffs | ||
| ) |
Fit a Kernel's spatial variability from a set of stars
Definition at line 520 of file SpatialModelPsf.cc.
| void lsst::meas::algorithms::setSpatialParameters | ( | afwMath::Kernel * | kernel, |
| Eigen::VectorXd const & | vec | ||
| ) |
Fit a Kernel's spatial variability from a set of stars
Definition at line 544 of file SpatialModelPsf.cc.
| double lsst::meas::algorithms::subtractPsf | ( | lsst::afw::detection::Psf const & | psf, |
| ImageT * | data, | ||
| double | x, | ||
| double | y, | ||
| double | psfFlux = std::numeric_limits< double >::quiet_NaN() |
||
| ) |
| double lsst::meas::algorithms::subtractPsf | ( | afwDetection::Psf const & | psf, |
| MaskedImageT * | data, | ||
| double | x, | ||
| double | y, | ||
| double | psfFlux | ||
| ) |
Subtract a PSF from an image at a given position
| psf | the PSF to subtract |
| data | Image to subtract PSF from |
| x | column position |
| y | row position |
| psfFlux | object's PSF flux (if not NaN) |
Definition at line 999 of file SpatialModelPsf.cc.
1.8.5