Definition at line 76 of file ShapeletInterpolation.cc.
lsst::meas::algorithms::ShapeletInterpolationImpl::ShapeletInterpolationImpl |
( |
const Policy & |
policy | ) |
|
|
inline |
Definition at line 87 of file ShapeletInterpolation.cc.
89 shapelet::ConfigFile params;
90 params[
"psf_order"] = policy.getInt(
"shapeletOrder");
91 params[
"fitpsf_order"] = policy.getInt(
"interpOrder");
92 params[
"fitpsf_nsigma_outlier"] = policy.getDouble(
"interpNSigmaClip");
93 params[
"fitpsf_pca_thresh"] = policy.getDouble(
"pcaThresh");
boost::shared_ptr< FittedPsf > _fit
shapelet::FittedPsf FittedPsf
Definition at line 110 of file ShapeletInterpolation.cc.
114 using shapelet::Position;
115 using shapelet::BVec;
117 std::vector<ShapeletPsfCandidate*> cand;
118 std::vector<Position> pos;
119 std::vector<BVec> psf;
120 std::vector<double> nu;
121 std::vector<long> flags;
123 LoadCandidatesVisitor visitor(cand, pos, psf, nu, flags);
131 _fit->calculate(pos, psf, nu, flags);
134 const int nCand = cand.size();
135 for(
int i=0; i<nCand; ++i)
if (flags[i]) cand[i]->setBad();
boost::shared_ptr< FittedPsf > _fit
int lsst::meas::algorithms::ShapeletInterpolationImpl::getFitOrder |
( |
| ) |
const |
|
inline |
int lsst::meas::algorithms::ShapeletInterpolationImpl::getFitSize |
( |
| ) |
const |
|
inline |
int lsst::meas::algorithms::ShapeletInterpolationImpl::getOrder |
( |
| ) |
const |
|
inline |
double lsst::meas::algorithms::ShapeletInterpolationImpl::getSigma |
( |
| ) |
const |
|
inline |
int lsst::meas::algorithms::ShapeletInterpolationImpl::getSize |
( |
| ) |
const |
|
inline |
Shapelet::ConstPtr lsst::meas::algorithms::ShapeletInterpolationImpl::interpolate |
( |
double |
x, |
|
|
double |
y |
|
) |
| |
|
inline |
Definition at line 138 of file ShapeletInterpolation.cc.
141 shapelet::Position pos(
x,
y);
142 _fit->interpolate(pos,
b);
boost::shared_ptr< const Shapelet > ConstPtr
afw::table::Key< double > b
boost::shared_ptr< FittedPsf > _fit
double lsst::meas::algorithms::ShapeletInterpolationImpl::interpolateSingleElement |
( |
double |
x, |
|
|
double |
y, |
|
|
int |
i |
|
) |
| |
|
inline |
Definition at line 146 of file ShapeletInterpolation.cc.
148 shapelet::Position pos(
x,
y);
149 return _fit->interpolateSingleElement(pos,i);
boost::shared_ptr< FittedPsf > _fit
void lsst::meas::algorithms::ShapeletInterpolationImpl::setSigma |
( |
double |
sigma | ) |
|
|
inline |
boost::shared_ptr<FittedPsf> lsst::meas::algorithms::ShapeletInterpolationImpl::_fit |
|
private |
int lsst::meas::algorithms::ShapeletInterpolationImpl::_nStarsPerCell |
|
private |
The documentation for this class was generated from the following file: