|
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
|
Classes | |
| class | CloughTocher2DInterpolatorUtils |
| This class contains static utility methods that are used by the CloughTocher2DInterpolatorTask and exists solely to provide a namespace. More... | |
| class | CoaddBoundedField |
| struct | CoaddBoundedFieldElement |
| Struct used to hold one Exposure's data in a CoaddBoundedField. More... | |
| class | CoaddPsf |
| CoaddPsf is the Psf derived to be used for non-PSF-matched Coadd images. More... | |
| class | CoaddPsfControl |
| class | Defect |
| Encapsulate information about a bad portion of a detector. More... | |
| class | DoubleGaussianPsf |
| Represent a Psf as a circularly symmetrical double Gaussian. More... | |
| class | evalChi2Visitor |
| A class to pass around to all our PsfCandidates to evaluate the PSF fit's X^2. More... | |
| class | ExposurePatch |
| A convenience container for the exposure, peak and footprint that will be measured. More... | |
| class | ImagePsf |
| An intermediate base class for Psfs that use an image representation. More... | |
| class | ImagePsfTrampoline |
| "Trampoline" for ImagePsf to let it be used as a base class in Python. More... | |
| class | KernelPsf |
| A Psf defined by a Kernel. More... | |
| class | KernelPsfFactory |
| A PersistableFactory for KernelPsf and its subclasses. More... | |
| struct | KernelPsfPersistenceHelper |
| A read-only singleton struct containing the schema and key used in persistence for KernelPsf. More... | |
| class | MinimizeChi2 |
| class | PcaPsf |
| Represent a PSF as a linear combination of PCA (== Karhunen-Loeve) basis functions. More... | |
| class | PsfCandidate |
| Class stored in SpatialCells for spatial Psf fitting. More... | |
| class | PsfImagePca |
| class | SingleGaussianPsf |
| Represent a PSF as a circularly symmetrical Gaussian. 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 |
Functions | |
| std::shared_ptr< afw::image::TransmissionCurve const > | makeCoaddTransmissionCurve (std::shared_ptr< afw::geom::SkyWcs const > coaddWcs, afw::table::ExposureCatalog const &inputSensors) |
| Create a TransmissionCurve that represents the effective throughput on a coadd. | |
| template<typename MaskedImageT > | |
| std::vector< std::shared_ptr< afw::detection::Footprint > > | findCosmicRays (MaskedImageT &mimage, afw::detection::Psf const &psf, double const bkgd, daf::base::PropertySet const &ps, bool const keep) |
| Find cosmic rays in an Image, and mask and remove them. | |
| template<typename ExposureT > | |
| std::shared_ptr< ExposurePatch< ExposureT > > | makeExposurePatch (std::shared_ptr< ExposureT const > exp, std::shared_ptr< afw::detection::Footprint const > foot, geom::Point2D const ¢er) |
| Factory function for ExposurePatch. | |
| template<typename ExposureT > | |
| std::shared_ptr< ExposurePatch< ExposureT > > | makeExposurePatch (std::shared_ptr< ExposureT const > exp, afw::detection::Footprint const &standardFoot, geom::Point2D const &standardCenter, afw::geom::SkyWcs const &standardWcs) |
| template<typename MaskedImageT > | |
| void | interpolateOverDefects (MaskedImageT &mimage, afw::detection::Psf const &, std::vector< Defect::Ptr > &_badList, double fallbackValue, bool useFallbackValueAtEdge) |
| Process a set of known bad pixels in an image. | |
| template<typename PixelT > | |
| std::shared_ptr< PsfCandidate< PixelT > > | makePsfCandidate (std::shared_ptr< afw::table::SourceRecord > const &source, std::shared_ptr< afw::image::Exposure< PixelT > > image) |
| Return a PsfCandidate of the right sort. | |
| template<typename PixelT > | |
| std::pair< std::shared_ptr< afw::math::LinearCombinationKernel >, std::vector< double > > | 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 | countPsfCandidates (afw::math::SpatialCellSet const &psfCells, int const nStarPerCell) |
| Count the number of candidates in use. | |
| template<typename PixelT > | |
| std::pair< bool, double > | 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 > | 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 ImageT > | |
| double | subtractPsf (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 >, afw::math::KernelList > | 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 > > | 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. | |
| void | wrapCoaddTransmissionCurve (WrapperCollection &wrappers) |
| void | wrapSingleGaussianPsf (WrapperCollection &wrappers) |
| void | wrapKernelPsf (WrapperCollection &wrappers) |
| void | wrapDoubleGaussianPsf (WrapperCollection &wrappers) |
| void | wrapInterp (WrapperCollection &wrappers) |
| void | wrapPcaPsf (WrapperCollection &wrappers) |
| void | wrapWarpedPsf (WrapperCollection &wrappers) |
| void | wrapPsfCandidate (WrapperCollection &wrappers) |
| void | wrapImagePsf (WrapperCollection &wrappers) |
| void | wrapSpatialModelPsf (WrapperCollection &wrappers) |
| void | wrapCoaddPsf (WrapperCollection &wrappers) |
| void | wrapCoaddBoundedField (WrapperCollection &wrappers) |
| void | wrapCr (WrapperCollection &wrappers) |
| void | wrapCloughTocher2DInterpolatorUtils (WrapperCollection &wrappers) |
| PYBIND11_MODULE (_algorithmsLib, mod) | |
| geom::Box2I | getOverallBBox (std::vector< std::shared_ptr< afw::image::Image< double > > > const &imgVector) |
| void | setSpatialParameters (afw::math::Kernel *kernel, std::vector< double > const &coeffs) |
| Fit a Kernel's spatial variability from a set of stars. | |
| void | setSpatialParameters (afw::math::Kernel *kernel, Eigen::VectorXd const &vec) |
| Fit a Kernel's spatial variability from a set of stars. | |
| template<typename MaskedImageT > | |
| double | subtractPsf (afw::detection::Psf const &psf, MaskedImageT *data, double x, double y, double psfFlux) |
| Subtract a PSF from an image at a given position. | |
lsst.meas.algorithms
| typedef std::vector<Defect::Ptr>::const_iterator lsst::meas::algorithms::DefectCIter |
| int lsst::meas::algorithms::countPsfCandidates | ( | afw::math::SpatialCellSet const & | psfCells, |
| int const | nStarPerCell = -1 ) |
Count the number of candidates in use.
Definition at line 337 of file SpatialModelPsf.cc.
| 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.
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 193 of file SpatialModelPsf.cc.
| std::vector< std::shared_ptr< afw::detection::Footprint > > lsst::meas::algorithms::findCosmicRays | ( | MaskedImageT & | mimage, |
| afw::detection::Psf const & | psf, | ||
| double const | bkgd, | ||
| daf::base::PropertySet const & | ps, | ||
| 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.
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 |
| ps | PropertySet directing the behavior |
| keep | if true, don't remove the CRs |
Definition at line 315 of file CR.cc.
| 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.
| kernel | the Kernel to fit |
| image | the image to be fit |
| pos | the position of the object |
Definition at line 1037 of file SpatialModelPsf.cc.
| 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.
| kernel | the Kernel to fit |
| image | the image to be fit |
| pos | the position of the object |
Definition at line 1104 of file SpatialModelPsf.cc.
| std::pair< bool, double > lsst::meas::algorithms::fitSpatialKernelFromPsfCandidates | ( | afw::math::Kernel * | kernel, |
| afw::math::SpatialCellSet const & | psfCells, | ||
| bool const | doNonLinearFit, | ||
| int const | nStarPerCell = -1, | ||
| double const | tolerance = 1e-5, | ||
| double const | lambda = 0.0 ) |
Fit spatial kernel using approximate fluxes for candidates, and solving a linear system of equations.
| 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 876 of file SpatialModelPsf.cc.
| std::pair< bool, double > lsst::meas::algorithms::fitSpatialKernelFromPsfCandidates | ( | afw::math::Kernel * | kernel, |
| afw::math::SpatialCellSet const & | psfCells, | ||
| int const | nStarPerCell = -1, | ||
| double const | tolerance = 1e-5, | ||
| double const | lambda = 0.0 ) |
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 592 of file SpatialModelPsf.cc.
| geom::Box2I lsst::meas::algorithms::getOverallBBox | ( | std::vector< std::shared_ptr< afw::image::Image< double > > > const & | imgVector | ) |
Definition at line 188 of file CoaddPsf.cc.
| void lsst::meas::algorithms::interpolateOverDefects | ( | MaskedImageT & | mimage, |
| afw::detection::Psf const & | psf, | ||
| std::vector< Defect::Ptr > & | _badList, | ||
| double | fallbackValue = 0.0, | ||
| bool | useFallbackValueAtEdge = false ) |
Process a set of known bad pixels in an image.
| mimage | Image to patch |
| psf | the Image's PSF (not yet used by interpolator) |
| _badList | List of Defects to patch |
| fallbackValue | Value to fallback to if all else fails |
| useFallbackValueAtEdge | Use the fallback value at the image's edge? |
Definition at line 2047 of file Interp.cc.
| std::shared_ptr< afw::image::TransmissionCurve const > lsst::meas::algorithms::makeCoaddTransmissionCurve | ( | std::shared_ptr< afw::geom::SkyWcs const > | coaddWcs, |
| afw::table::ExposureCatalog const & | inputSensors ) |
Create a TransmissionCurve that represents the effective throughput on a coadd.
| [in] | coaddWcs | WCS that relates the coadd coordinate system to the sky. |
| [in] | inputSensors | A catalog containing the WCSs, bounding boxes and polygons, coaddition weights (in a field called 'weight'), and TransmissionCurves of the sensor-level images that went into the coadd. |
| NotFoundError | Thrown if the 'weight' field does not exist in the schema. |
| InvalidParameterError | Thrown if one or more inputs do not have a TransmissionCurve or a Wcs (ValidPolygons may be null to indicate no spatial restrictions other than the bounding box). |
Definition at line 257 of file CoaddTransmissionCurve.cc.
| std::shared_ptr< ExposurePatch< ExposureT > > lsst::meas::algorithms::makeExposurePatch | ( | std::shared_ptr< ExposureT const > | exp, |
| afw::detection::Footprint const & | standardFoot, | ||
| geom::Point2D const & | standardCenter, | ||
| afw::geom::SkyWcs const & | standardWcs ) |
Definition at line 98 of file ExposurePatch.h.
| std::shared_ptr< ExposurePatch< ExposureT > > lsst::meas::algorithms::makeExposurePatch | ( | std::shared_ptr< ExposureT const > | exp, |
| std::shared_ptr< afw::detection::Footprint const > | foot, | ||
| geom::Point2D const & | center ) |
Factory function for ExposurePatch.
Definition at line 92 of file ExposurePatch.h.
| std::shared_ptr< PsfCandidate< PixelT > > lsst::meas::algorithms::makePsfCandidate | ( | std::shared_ptr< afw::table::SourceRecord > const & | source, |
| std::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 176 of file PsfCandidate.h.
| lsst::meas::algorithms::PYBIND11_MODULE | ( | _algorithmsLib | , |
| mod | ) |
Definition at line 49 of file _algorithmsLib.cc.
| void lsst::meas::algorithms::setSpatialParameters | ( | afw::math::Kernel * | kernel, |
| Eigen::VectorXd const & | vec ) |
Fit a Kernel's spatial variability from a set of stars.
Definition at line 521 of file SpatialModelPsf.cc.
| 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.
Definition at line 500 of file SpatialModelPsf.cc.
| double lsst::meas::algorithms::subtractPsf | ( | afw::detection::Psf const & | psf, |
| ImageT * | data, | ||
| double | x, | ||
| double | y, | ||
| double | psfFlux = std::numeric_limits< double >::quiet_NaN() ) |
| 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.
| 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 976 of file SpatialModelPsf.cc.
| void lsst::meas::algorithms::wrapCloughTocher2DInterpolatorUtils | ( | WrapperCollection & | wrappers | ) |
Definition at line 58 of file cloughTocher2DInterpolatorUtils.cc.
| void lsst::meas::algorithms::wrapCoaddBoundedField | ( | WrapperCollection & | wrappers | ) |
Definition at line 88 of file coaddBoundedField.cc.
| void lsst::meas::algorithms::wrapCoaddPsf | ( | WrapperCollection & | wrappers | ) |
Definition at line 82 of file coaddPsf.cc.
| void lsst::meas::algorithms::wrapCoaddTransmissionCurve | ( | WrapperCollection & | wrappers | ) |
Definition at line 35 of file coaddTransmissionCurve.cc.
| void lsst::meas::algorithms::wrapCr | ( | WrapperCollection & | wrappers | ) |
| void lsst::meas::algorithms::wrapDoubleGaussianPsf | ( | WrapperCollection & | wrappers | ) |
Definition at line 52 of file doubleGaussianPsf.cc.
| void lsst::meas::algorithms::wrapImagePsf | ( | WrapperCollection & | wrappers | ) |
Definition at line 49 of file imagePsf.cc.
| void lsst::meas::algorithms::wrapInterp | ( | WrapperCollection & | wrappers | ) |
| void lsst::meas::algorithms::wrapKernelPsf | ( | WrapperCollection & | wrappers | ) |
Definition at line 51 of file kernelPsf.cc.
| void lsst::meas::algorithms::wrapPcaPsf | ( | WrapperCollection & | wrappers | ) |
| void lsst::meas::algorithms::wrapPsfCandidate | ( | WrapperCollection & | wrappers | ) |
Definition at line 79 of file psfCandidate.cc.
| void lsst::meas::algorithms::wrapSingleGaussianPsf | ( | WrapperCollection & | wrappers | ) |
Definition at line 50 of file singleGaussianPsf.cc.
| void lsst::meas::algorithms::wrapSpatialModelPsf | ( | WrapperCollection & | wrappers | ) |
Definition at line 61 of file spatialModelPsf.cc.
| void lsst::meas::algorithms::wrapWarpedPsf | ( | WrapperCollection & | wrappers | ) |
Definition at line 58 of file warpedPsf.cc.