31 namespace lsst {
namespace ip {
namespace isr {
33 template <
typename PixelT>
44 ptr.
mask() |= maskVal;
51 template<
typename ImagePixelT,
typename FunctionT>
62 const int width = overscan.
getWidth();
70 for (
int y = 0;
y < height; ++
y) {
78 MaskedImage mi = MaskedImage(overscan, bbox);
100 std::string::iterator
b(s.
begin());
101 std::string::iterator e(s.
end());
102 std::string::iterator lp;
103 std::string::iterator rp;
108 if((rp =
std::find(++lp, e, rdelim)) != e)
std::vector< double > parameterList
Reference< MaskPixelT >::type mask()
std::string between(std::string &s, char ldelim, char rdelim)
void fitOverscanImage(std::shared_ptr< lsst::afw::math::Function1< FunctionT > > &overscanFunction, lsst::afw::image::MaskedImage< ImagePixelT > const &overscan, double ssize=1., int sigma=1)
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)
template size_t maskNans< float >(afw::image::MaskedImage< float > const &, afw::image::MaskPixel, afw::image::MaskPixel)
afw::table::Key< double > sigma
Remove all non-astronomical counts from the Chunk Exposure's pixels.
Statistics makeStatistics(lsst::afw::image::Image< Pixel > const &img, lsst::afw::image::Mask< image::MaskPixel > const &msk, int const flags, StatisticsControl const &sctrl=StatisticsControl())
x_iterator row_begin(int y) const
double getValue(Property const prop=NOTHING) const
x_iterator row_end(int y) const
Implementation of the templated Instrument Signature Removal stage of the nightly LSST Image Processi...
size_t maskNans(afw::image::MaskedImage< PixelT > const &mi, afw::image::MaskPixel maskVal, afw::image::MaskPixel allow=0)
Mask NANs in an image.
template size_t maskNans< double >(afw::image::MaskedImage< double > const &, afw::image::MaskPixel, afw::image::MaskPixel)