LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
Go to the documentation of this file.
32 namespace lsst {
namespace ip {
namespace isr {
34 template <
typename PixelT>
45 ptr.mask() |= maskVal;
52 template<
typename ImagePixelT,
typename FunctionT>
63 const int width = overscan.
getWidth();
71 for (
int y = 0;
y < height; ++
y) {
79 MaskedImage mi = MaskedImage(overscan,
bbox);
101 std::string::iterator
b(s.
begin());
102 std::string::iterator e(s.
end());
103 std::string::iterator lp;
104 std::string::iterator rp;
109 if((rp =
std::find(++lp, e, rdelim)) != e)
Results from minimizing a function.
x_iterator row_begin(int y) const
Return an x_iterator to the start of the image.
An iterator to the MaskedImage.
x_iterator row_end(int y) const
Return an x_iterator to the end of the image.
template size_t maskNans< float >(afw::image::MaskedImage< float > const &, afw::image::MaskPixel, afw::image::MaskPixel)
afw::table::Key< double > sigma
FitResults minimize(lsst::afw::math::Function1< ReturnT > const &function, std::vector< double > const &initialParameterList, std::vector< double > const &stepSizeList, std::vector< double > const &measurementList, std::vector< double > const &varianceList, std::vector< double > const &xPositionList, double errorDef)
Find the minimum of a function(x)
Implementation of the templated Instrument Signature Removal stage of the nightly LSST Image Processi...
int getWidth() const
Return the number of columns in the image.
int getHeight() const
Return the number of rows in the image.
double getValue(Property const prop=NOTHING) const
Return the value of the desired property (if specified in the constructor)
Statistics makeStatistics(lsst::afw::image::Image< Pixel > const &img, lsst::afw::image::Mask< image::MaskPixel > const &msk, int const flags, StatisticsControl const &sctrl=StatisticsControl())
Handle a watered-down front-end to the constructor (no variance)
@ MEAN
estimate sample mean
size_t maskNans(afw::image::MaskedImage< PixelT > const &mi, afw::image::MaskPixel maskVal, afw::image::MaskPixel allow=0)
Mask NANs in an image.
std::string between(std::string &s, char ldelim, char rdelim)
A base class for image defects.
template size_t maskNans< double >(afw::image::MaskedImage< double > const &, afw::image::MaskPixel, afw::image::MaskPixel)
void fitOverscanImage(std::shared_ptr< lsst::afw::math::Function1< FunctionT > > &overscanFunction, lsst::afw::image::MaskedImage< ImagePixelT > const &overscan, double ssize=1., int sigma=1)
@ STDEV
estimate sample standard deviation
An integer coordinate rectangle.
std::vector< double > parameterList
fit parameters
A Function taking one argument.