Loading [MathJax]/extensions/tex2jax.js
LSST Applications g0fba68d861+aa97b6e50c,g1ec0fe41b4+f536777771,g1fd858c14a+a9301854fb,g35bb328faa+fcb1d3bbc8,g4af146b050+a5c07d5b1d,g4d2262a081+78f4f01b60,g53246c7159+fcb1d3bbc8,g56a49b3a55+9c12191793,g5a012ec0e7+3632fc3ff3,g60b5630c4e+ded28b650d,g67b6fd64d1+ed4b5058f4,g78460c75b0+2f9a1b4bcd,g786e29fd12+cf7ec2a62a,g8352419a5c+fcb1d3bbc8,g87b7deb4dc+7b42cf88bf,g8852436030+e5453db6e6,g89139ef638+ed4b5058f4,g8e3bb8577d+d38d73bdbd,g9125e01d80+fcb1d3bbc8,g94187f82dc+ded28b650d,g989de1cb63+ed4b5058f4,g9d31334357+ded28b650d,g9f33ca652e+50a8019d8c,gabe3b4be73+1e0a283bba,gabf8522325+fa80ff7197,gb1101e3267+d9fb1f8026,gb58c049af0+f03b321e39,gb89ab40317+ed4b5058f4,gcf25f946ba+e5453db6e6,gcf6002c91b+2a0c9e9e84,gd6cbbdb0b4+bb83cc51f8,gdd1046aedd+ded28b650d,gde0f65d7ad+66b3a48cb7,ge278dab8ac+d65b3c2b70,ge410e46f29+ed4b5058f4,gf23fb2af72+b7cae620c0,gf5e32f922b+fcb1d3bbc8,gf67bdafdda+ed4b5058f4,w.2025.16
LSST Data Management Base Package
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Interp.h File Reference
#include <limits>
#include <vector>
#include "lsst/geom/Box.h"
#include "lsst/afw/image/Defect.h"
#include "lsst/afw/image/MaskedImage.h"

Go to the source code of this file.

Classes

class  lsst::meas::algorithms::Defect
 Encapsulate information about a bad portion of a detector. More...
 

Namespaces

namespace  lsst
 
namespace  lsst::afw
 
namespace  lsst::afw::detection
 
namespace  lsst::meas
 
namespace  lsst::meas::algorithms
 
namespace  lsst::meas::algorithms::interp
 

Functions

template<typename MaskedImageT>
std::pair< bool, typename MaskedImageT::Image::Pixel > lsst::meas::algorithms::interp::singlePixel (int x, int y, MaskedImageT const &image, bool horizontal, double minval)
 Return a boolean status (true: interpolation is OK) and the interpolated value for a pixel, ignoring pixels given by badmask.
 
template<typename MaskedImageT>
void lsst::meas::algorithms::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.
 

Variables

double const lsst::meas::algorithms::interp::lpc_1_c1 = 0.7737
 LPC coefficients for sigma = 1, S/N = infty.
 
double const lsst::meas::algorithms::interp::lpc_1_c2 = -0.2737
 
double const lsst::meas::algorithms::interp::lpc_1s2_c1 = 0.7358
 LPC coefficients for sigma = 1/sqrt(2), S/N = infty.
 
double const lsst::meas::algorithms::interp::lpc_1s2_c2 = -0.2358
 
double const lsst::meas::algorithms::interp::min2GaussianBias = -0.5641895835
 Mean value of the minimum of two N(0,1) variates.