|
LSSTApplications
11.0-13-gbb96280,12.1+18,12.1+7,12.1-1-g14f38d3+72,12.1-1-g16c0db7+5,12.1-1-g5961e7a+84,12.1-1-ge22e12b+23,12.1-11-g06625e2+4,12.1-11-g0d7f63b+4,12.1-19-gd507bfc,12.1-2-g7dda0ab+38,12.1-2-gc0bc6ab+81,12.1-21-g6ffe579+2,12.1-21-gbdb6c2a+4,12.1-24-g941c398+5,12.1-3-g57f6835+7,12.1-3-gf0736f3,12.1-37-g3ddd237,12.1-4-gf46015e+5,12.1-5-g06c326c+20,12.1-5-g648ee80+3,12.1-5-gc2189d7+4,12.1-6-ga608fc0+1,12.1-7-g3349e2a+5,12.1-7-gfd75620+9,12.1-9-g577b946+5,12.1-9-gc4df26a+10
LSSTDataManagementBasePackage
|
Classes | |
| class | MinimizeDipoleChi2 |
| Class to minimize PsfDipoleFlux; this is the object that Minuit minimizes. More... | |
| class | DipoleCentroidControl |
| class | DipoleFluxControl |
| class | PsfDipoleFluxControl |
| C++ control object for PSF dipole fluxes. More... | |
| class | DipoleCentroidAlgorithm |
| Intermediate base class for algorithms that compute a centroid. More... | |
| class | DipoleFluxAlgorithm |
| Intermediate base class for algorithms that compute a flux. More... | |
| class | NaiveDipoleFlux |
| class | NaiveDipoleCentroid |
| Intermediate base class for algorithms that compute a centroid. More... | |
| class | PsfDipoleFlux |
| Implementation of Psf dipole flux. More... | |
| class | FindSetBits |
| Class to accumulate Mask bits. More... | |
| class | ImageStatistics |
| Class to calculate difference image statistics. More... | |
| class | KernelCandidate |
| Class stored in SpatialCells for spatial Kernel fitting. More... | |
| class | KernelCandidateDetection |
| Search through images for Footprints with no masked pixels. More... | |
| class | KernelSolution |
| class | StaticKernelSolution |
| class | MaskedKernelSolution |
| class | RegularizedKernelSolution |
| class | SpatialKernelSolution |
Typedefs | |
| typedef float | PixelT |
| typedef float | InputT |
Functions | |
| lsst::afw::math::KernelList | makeDeltaFunctionBasisList (int width, int height) |
| Generate a basis set of delta function Kernels. More... | |
| lsst::afw::math::KernelList | makeAlardLuptonBasisList (int halfWidth, int nGauss, std::vector< double > const &sigGauss, std::vector< int > const °Gauss) |
| Generate an Alard-Lupton basis set of Kernels. More... | |
| std::shared_ptr< Eigen::MatrixXd > | makeRegularizationMatrix (lsst::pex::policy::Policy policy) |
| Build a regularization matrix for Delta function kernels. More... | |
| std::shared_ptr< Eigen::MatrixXd > | makeCentralDifferenceMatrix (int width, int height, int stencil, float borderPenalty, bool fitForBackground) |
| Generate regularization matrix for delta function kernels. More... | |
| std::shared_ptr< Eigen::MatrixXd > | makeForwardDifferenceMatrix (int width, int height, std::vector< int > const &orders, float borderPenalty, bool fitForBackground) |
| Generate regularization matrix for delta function kernels. More... | |
| lsst::afw::math::KernelList | renormalizeKernelList (lsst::afw::math::KernelList const &kernelListIn) |
| Rescale an input set of kernels. More... | |
| std::shared_ptr< Eigen::MatrixXd > | makeFiniteDifferenceRegularizationDeprecated (unsigned int width, unsigned int height, unsigned int order, unsigned int boundary_style, unsigned int difference_style, bool printB) |
| Generate regularization matrix for delta function kernels. More... | |
| int const | NEGCENTXPAR (0) |
| int const | NEGCENTYPAR (1) |
| int const | NEGFLUXPAR (2) |
| int const | POSCENTXPAR (3) |
| int const | POSCENTYPAR (4) |
| int const | POSFLUXPAR (5) |
| template<typename PixelT > | |
| Eigen::MatrixXd | imageToEigenMatrix (lsst::afw::image::Image< PixelT > const &img) |
| Turns Image into a 2-D Eigen Matrix. More... | |
| Eigen::MatrixXi | maskToEigenMatrix (lsst::afw::image::Mask< lsst::afw::image::MaskPixel > const &mask) |
| template<typename PixelT , typename BackgroundT > | |
| afwImage::MaskedImage< PixelT > | convolveAndSubtract (lsst::afw::image::MaskedImage< PixelT > const &templateImage, lsst::afw::image::MaskedImage< PixelT > const &scienceMaskedImage, lsst::afw::math::Kernel const &convolutionKernel, BackgroundT background, bool invert) |
| Implement fundamental difference imaging step of convolution and subtraction : D = I - (K*T + bg) where * denotes convolution. More... | |
| template<typename PixelT , typename BackgroundT > | |
| afwImage::MaskedImage< PixelT > | convolveAndSubtract (lsst::afw::image::Image< PixelT > const &templateImage, lsst::afw::image::MaskedImage< PixelT > const &scienceMaskedImage, lsst::afw::math::Kernel const &convolutionKernel, BackgroundT background, bool invert) |
| Implement fundamental difference imaging step of convolution and subtraction : D = I - (K.x.T + bg) More... | |
| template Eigen::MatrixXd | imageToEigenMatrix (lsst::afw::image::Image< double > const &) |
| template lsst::afw::image::MaskedImage < float > | convolveAndSubtract (lsst::afw::image::Image< float > const &templateImage, lsst::afw::image::MaskedImage< float > const &scienceMaskedImage, lsst::afw::math::Kernel const &convolutionKernel, double background, bool invert) |
| template afwImage::MaskedImage < float > | convolveAndSubtract (lsst::afw::image::Image< float > const &templateImage, lsst::afw::image::MaskedImage< float > const &scienceMaskedImage, lsst::afw::math::Kernel const &convolutionKernel, lsst::afw::math::Function2< double > const &backgroundFunction, bool invert) |
| template lsst::afw::image::MaskedImage < float > | convolveAndSubtract (lsst::afw::image::MaskedImage< float > const &templateImage, lsst::afw::image::MaskedImage< float > const &scienceMaskedImage, lsst::afw::math::Kernel const &convolutionKernel, double background, bool invert) |
| template afwImage::MaskedImage < float > | convolveAndSubtract (lsst::afw::image::MaskedImage< float > const &templateImage, lsst::afw::image::MaskedImage< float > const &scienceMaskedImage, lsst::afw::math::Kernel const &convolutionKernel, lsst::afw::math::Function2< double > const &backgroundFunction, bool invert) |
| template lsst::afw::image::MaskedImage < double > | convolveAndSubtract (lsst::afw::image::Image< double > const &templateImage, lsst::afw::image::MaskedImage< double > const &scienceMaskedImage, lsst::afw::math::Kernel const &convolutionKernel, double background, bool invert) |
| template afwImage::MaskedImage < double > | convolveAndSubtract (lsst::afw::image::Image< double > const &templateImage, lsst::afw::image::MaskedImage< double > const &scienceMaskedImage, lsst::afw::math::Kernel const &convolutionKernel, lsst::afw::math::Function2< double > const &backgroundFunction, bool invert) |
| template lsst::afw::image::MaskedImage < double > | convolveAndSubtract (lsst::afw::image::MaskedImage< double > const &templateImage, lsst::afw::image::MaskedImage< double > const &scienceMaskedImage, lsst::afw::math::Kernel const &convolutionKernel, double background, bool invert) |
| template afwImage::MaskedImage < double > | convolveAndSubtract (lsst::afw::image::MaskedImage< double > const &templateImage, lsst::afw::image::MaskedImage< double > const &scienceMaskedImage, lsst::afw::math::Kernel const &convolutionKernel, lsst::afw::math::Function2< double > const &backgroundFunction, bool invert) |
| template<typename PixelT , typename BackgroundT > | |
| lsst::afw::image::MaskedImage < PixelT > | convolveAndSubtract (lsst::afw::image::MaskedImage< PixelT > const &templateImage, lsst::afw::image::MaskedImage< PixelT > const &scienceMaskedImage, lsst::afw::math::Kernel const &convolutionKernel, BackgroundT background, bool invert=true) |
| Execute fundamental task of convolving template and subtracting it from science image. More... | |
| template<typename PixelT , typename BackgroundT > | |
| lsst::afw::image::MaskedImage < PixelT > | convolveAndSubtract (lsst::afw::image::Image< PixelT > const &templateImage, lsst::afw::image::MaskedImage< PixelT > const &scienceMaskedImage, lsst::afw::math::Kernel const &convolutionKernel, BackgroundT background, bool invert=true) |
| Execute fundamental task of convolving template and subtracting it from science image. More... | |
| template<typename PixelT > | |
| std::shared_ptr < KernelCandidate< PixelT > > | makeKernelCandidate (float const xCenter, float const yCenter, std::shared_ptr< afw::image::MaskedImage< PixelT > > const &templateMaskedImage, std::shared_ptr< afw::image::MaskedImage< PixelT > > const &scienceMaskedImage, pex::policy::Policy const &policy) |
| Return a KernelCandidate pointer of the right sort. More... | |
| template<typename PixelT > | |
| std::shared_ptr < KernelCandidate< PixelT > > | makeKernelCandidate (std::shared_ptr< afw::table::SourceRecord > const &source, std::shared_ptr< afw::image::MaskedImage< PixelT > > const &templateMaskedImage, std::shared_ptr< afw::image::MaskedImage< PixelT > > const &scienceMaskedImage, pex::policy::Policy const &policy) |
| Return a KernelCandidate pointer of the right sort. More... | |
| typedef float lsst::ip::diffim::InputT |
Definition at line 1622 of file KernelSolution.cc.
| typedef float lsst::ip::diffim::PixelT |
Definition at line 448 of file KernelCandidate.cc.
| lsst::afw::image::MaskedImage<PixelT> lsst::ip::diffim::convolveAndSubtract | ( | lsst::afw::image::MaskedImage< PixelT > const & | templateImage, |
| lsst::afw::image::MaskedImage< PixelT > const & | scienceMaskedImage, | ||
| lsst::afw::math::Kernel const & | convolutionKernel, | ||
| BackgroundT | background, | ||
| bool | invert | ||
| ) |
Execute fundamental task of convolving template and subtracting it from science image.
| templateImage | MaskedImage to apply convolutionKernel to |
| scienceMaskedImage | MaskedImage from which convolved templateImage is subtracted |
| convolutionKernel | Kernel to apply to templateImage |
| background | Background scalar or function to subtract after convolution |
| invert | Invert the output difference image |
Execute fundamental task of convolving template and subtracting it from science image.
| templateImage | Image T to convolve with Kernel |
| scienceMaskedImage | Image I to subtract T from |
| convolutionKernel | PSF-matching Kernel used |
| background | Differential background |
| invert | Invert the output difference image |
Definition at line 118 of file ImageSubtract.cc.
| lsst::afw::image::MaskedImage<PixelT> lsst::ip::diffim::convolveAndSubtract | ( | lsst::afw::image::Image< PixelT > const & | templateImage, |
| lsst::afw::image::MaskedImage< PixelT > const & | scienceMaskedImage, | ||
| lsst::afw::math::Kernel const & | convolutionKernel, | ||
| BackgroundT | background, | ||
| bool | invert | ||
| ) |
Execute fundamental task of convolving template and subtracting it from science image.
| templateImage | Image to apply convolutionKernel to |
| scienceMaskedImage | MaskedImage from which convolved templateImage is subtracted |
| convolutionKernel | Kernel to apply to templateImage |
| background | Background scalar or function to subtract after convolution |
| invert | Invert the output difference image |
Execute fundamental task of convolving template and subtracting it from science image.
| templateImage | Image T to convolve with Kernel |
| scienceMaskedImage | Image I to subtract T from |
| convolutionKernel | PSF-matching Kernel used |
| background | Differential background |
| invert | Invert the output difference image |
Definition at line 169 of file ImageSubtract.cc.
| afwImage::MaskedImage<PixelT> lsst::ip::diffim::convolveAndSubtract | ( | lsst::afw::image::MaskedImage< PixelT > const & | templateImage, |
| lsst::afw::image::MaskedImage< PixelT > const & | scienceMaskedImage, | ||
| lsst::afw::math::Kernel const & | convolutionKernel, | ||
| BackgroundT | background, | ||
| bool | invert | ||
| ) |
Implement fundamental difference imaging step of convolution and subtraction : D = I - (K*T + bg) where * denotes convolution.
Execute fundamental task of convolving template and subtracting it from science image.
| templateImage | Image T to convolve with Kernel |
| scienceMaskedImage | Image I to subtract T from |
| convolutionKernel | PSF-matching Kernel used |
| background | Differential background |
| invert | Invert the output difference image |
Definition at line 118 of file ImageSubtract.cc.
| afwImage::MaskedImage<PixelT> lsst::ip::diffim::convolveAndSubtract | ( | lsst::afw::image::Image< PixelT > const & | templateImage, |
| lsst::afw::image::MaskedImage< PixelT > const & | scienceMaskedImage, | ||
| lsst::afw::math::Kernel const & | convolutionKernel, | ||
| BackgroundT | background, | ||
| bool | invert | ||
| ) |
Implement fundamental difference imaging step of convolution and subtraction : D = I - (K.x.T + bg)
Execute fundamental task of convolving template and subtracting it from science image.
| templateImage | Image T to convolve with Kernel |
| scienceMaskedImage | Image I to subtract T from |
| convolutionKernel | PSF-matching Kernel used |
| background | Differential background |
| invert | Invert the output difference image |
Definition at line 169 of file ImageSubtract.cc.
| template lsst::afw::image::MaskedImage< float > lsst::ip::diffim::convolveAndSubtract | ( | lsst::afw::image::Image< float > const & | templateImage, |
| lsst::afw::image::MaskedImage< float > const & | scienceMaskedImage, | ||
| lsst::afw::math::Kernel const & | convolutionKernel, | ||
| double | background, | ||
| bool | invert | ||
| ) |
| template afwImage::MaskedImage< float > lsst::ip::diffim::convolveAndSubtract | ( | lsst::afw::image::Image< float > const & | templateImage, |
| lsst::afw::image::MaskedImage< float > const & | scienceMaskedImage, | ||
| lsst::afw::math::Kernel const & | convolutionKernel, | ||
| lsst::afw::math::Function2< double > const & | backgroundFunction, | ||
| bool | invert | ||
| ) |
| template lsst::afw::image::MaskedImage< float > lsst::ip::diffim::convolveAndSubtract | ( | lsst::afw::image::MaskedImage< float > const & | templateImage, |
| lsst::afw::image::MaskedImage< float > const & | scienceMaskedImage, | ||
| lsst::afw::math::Kernel const & | convolutionKernel, | ||
| double | background, | ||
| bool | invert | ||
| ) |
| template afwImage::MaskedImage< float > lsst::ip::diffim::convolveAndSubtract | ( | lsst::afw::image::MaskedImage< float > const & | templateImage, |
| lsst::afw::image::MaskedImage< float > const & | scienceMaskedImage, | ||
| lsst::afw::math::Kernel const & | convolutionKernel, | ||
| lsst::afw::math::Function2< double > const & | backgroundFunction, | ||
| bool | invert | ||
| ) |
| template lsst::afw::image::MaskedImage< double > lsst::ip::diffim::convolveAndSubtract | ( | lsst::afw::image::Image< double > const & | templateImage, |
| lsst::afw::image::MaskedImage< double > const & | scienceMaskedImage, | ||
| lsst::afw::math::Kernel const & | convolutionKernel, | ||
| double | background, | ||
| bool | invert | ||
| ) |
| template afwImage::MaskedImage< double > lsst::ip::diffim::convolveAndSubtract | ( | lsst::afw::image::Image< double > const & | templateImage, |
| lsst::afw::image::MaskedImage< double > const & | scienceMaskedImage, | ||
| lsst::afw::math::Kernel const & | convolutionKernel, | ||
| lsst::afw::math::Function2< double > const & | backgroundFunction, | ||
| bool | invert | ||
| ) |
| template lsst::afw::image::MaskedImage< double > lsst::ip::diffim::convolveAndSubtract | ( | lsst::afw::image::MaskedImage< double > const & | templateImage, |
| lsst::afw::image::MaskedImage< double > const & | scienceMaskedImage, | ||
| lsst::afw::math::Kernel const & | convolutionKernel, | ||
| double | background, | ||
| bool | invert | ||
| ) |
| template afwImage::MaskedImage< double > lsst::ip::diffim::convolveAndSubtract | ( | lsst::afw::image::MaskedImage< double > const & | templateImage, |
| lsst::afw::image::MaskedImage< double > const & | scienceMaskedImage, | ||
| lsst::afw::math::Kernel const & | convolutionKernel, | ||
| lsst::afw::math::Function2< double > const & | backgroundFunction, | ||
| bool | invert | ||
| ) |
| Eigen::MatrixXd lsst::ip::diffim::imageToEigenMatrix | ( | lsst::afw::image::Image< PixelT > const & | img | ) |
Turns Image into a 2-D Eigen Matrix.
Turns a 2-d Image into a 2-d Eigen Matrix.
| img | Image whose pixel values are read into an Eigen::MatrixXd |
Definition at line 65 of file ImageSubtract.cc.
| template Eigen::MatrixXd lsst::ip::diffim::imageToEigenMatrix | ( | lsst::afw::image::Image< double > const & | ) |
| lsst::afw::math::KernelList lsst::ip::diffim::makeAlardLuptonBasisList | ( | int | halfWidth, |
| int | nGauss, | ||
| std::vector< double > const & | sigGauss, | ||
| std::vector< int > const & | degGauss | ||
| ) |
Generate an Alard-Lupton basis set of Kernels.
Build a set of Alard/Lupton basis kernels.
| halfWidth | size is 2*N + 1 |
| nGauss | number of gaussians |
| sigGauss | Widths of the Gaussian Kernels |
| degGauss | Local spatial variation of bases |
| halfWidth | size is 2*N + 1 |
| nGauss | number of gaussians |
| sigGauss | width of the gaussians |
| degGauss | local spatial variation of gaussians |
Definition at line 78 of file BasisLists.cc.
| std::shared_ptr< Eigen::MatrixXd > lsst::ip::diffim::makeCentralDifferenceMatrix | ( | int | width, |
| int | height, | ||
| int | stencil, | ||
| float | borderPenalty, | ||
| bool | fitForBackground | ||
| ) |
Generate regularization matrix for delta function kernels.
Build a central difference Laplacian regularization matrix for Delta function kernels.
| width | Width of basis set you want to regularize |
| height | Height of basis set you want to regularize |
| stencil | Which type of Laplacian approximation to use |
| borderPenalty | Amount of penalty (if any) to apply to border pixels; > 0 |
| fitForBackground | Fit for differential background? |
Definition at line 211 of file BasisLists.cc.
| lsst::afw::math::KernelList lsst::ip::diffim::makeDeltaFunctionBasisList | ( | int | width, |
| int | height | ||
| ) |
Generate a basis set of delta function Kernels.
Build a set of Delta Function basis kernels.
Generates a vector of Kernels sized nCols * nRows, where each Kernel has a unique pixel set to value 1.0 with the other pixels valued 0.0. This is the "delta function" basis set.
| lsst::pex::exceptions::DomainError | if nRows or nCols not positive |
| width | Width of basis set (cols) |
| height | Height of basis set (rows) |
| width | number of columns in the set |
| height | number of rows in the set |
Definition at line 47 of file BasisLists.cc.
| std::shared_ptr<Eigen::MatrixXd> lsst::ip::diffim::makeFiniteDifferenceRegularizationDeprecated | ( | unsigned int | width, |
| unsigned int | height, | ||
| unsigned int | order, | ||
| unsigned int | boundary_style, | ||
| unsigned int | difference_style, | ||
| bool | printB | ||
| ) |
Generate regularization matrix for delta function kernels.
Definition at line 515 of file BasisLists.cc.
| std::shared_ptr< Eigen::MatrixXd > lsst::ip::diffim::makeForwardDifferenceMatrix | ( | int | width, |
| int | height, | ||
| std::vector< int > const & | orders, | ||
| float | borderPenalty, | ||
| bool | fitForBackground | ||
| ) |
Generate regularization matrix for delta function kernels.
Build a forward difference regularization matrix for Delta function kernels.
| width | Width of basis set you want to regularize |
| height | Height of basis set you want to regularize |
| orders | Which derivatives to penalize (1,2,3) |
| borderPenalty | Amount of penalty (if any) to apply to border pixels; > 0 |
| fitForBackground | Fit for differential background? |
Definition at line 315 of file BasisLists.cc.
| std::shared_ptr<KernelCandidate<PixelT> > lsst::ip::diffim::makeKernelCandidate | ( | float const | xCenter, |
| float const | yCenter, | ||
| std::shared_ptr< afw::image::MaskedImage< PixelT > > const & | templateMaskedImage, | ||
| std::shared_ptr< afw::image::MaskedImage< PixelT > > const & | scienceMaskedImage, | ||
| pex::policy::Policy const & | policy | ||
| ) |
Return a KernelCandidate pointer of the right sort.
| xCenter | X-center of candidate |
| yCenter | Y-center of candidate |
| templateMaskedImage | Template subimage |
| scienceMaskedImage | Science image subimage |
| policy | Policy file for creation of rating |
Definition at line 219 of file KernelCandidate.h.
| std::shared_ptr<KernelCandidate<PixelT> > lsst::ip::diffim::makeKernelCandidate | ( | std::shared_ptr< afw::table::SourceRecord > const & | source, |
| std::shared_ptr< afw::image::MaskedImage< PixelT > > const & | templateMaskedImage, | ||
| std::shared_ptr< afw::image::MaskedImage< PixelT > > const & | scienceMaskedImage, | ||
| pex::policy::Policy const & | policy | ||
| ) |
Return a KernelCandidate pointer of the right sort.
| source | afw::table::SourceRecord used to construct the KernelCandidate |
| templateMaskedImage | Template subimage |
| scienceMaskedImage | Science image subimage |
| policy | Policy file for creation of rating |
Definition at line 244 of file KernelCandidate.h.
| std::shared_ptr< Eigen::MatrixXd > lsst::ip::diffim::makeRegularizationMatrix | ( | lsst::pex::policy::Policy | policy | ) |
Build a regularization matrix for Delta function kernels.
| policy | Policy file dictating which type of matrix to make |
Definition at line 150 of file BasisLists.cc.
| Eigen::MatrixXi lsst::ip::diffim::maskToEigenMatrix | ( | lsst::afw::image::Mask< lsst::afw::image::MaskPixel > const & | mask | ) |
Definition at line 83 of file ImageSubtract.cc.
| int const lsst::ip::diffim::NEGCENTXPAR | ( | 0 | ) |
| int const lsst::ip::diffim::NEGCENTYPAR | ( | 1 | ) |
| int const lsst::ip::diffim::NEGFLUXPAR | ( | 2 | ) |
| int const lsst::ip::diffim::POSCENTXPAR | ( | 3 | ) |
| int const lsst::ip::diffim::POSCENTYPAR | ( | 4 | ) |
| int const lsst::ip::diffim::POSFLUXPAR | ( | 5 | ) |
| lsst::afw::math::KernelList lsst::ip::diffim::renormalizeKernelList | ( | lsst::afw::math::KernelList const & | kernelListIn | ) |
Rescale an input set of kernels.
Renormalize a list of basis kernels.
| kernelListIn | input list of basis kernels |
| kernelListIn | Input list to be renormalized |
Definition at line 419 of file BasisLists.cc.
1.8.5