24 #ifndef LSST_MEAS_ASTROM_TanSipFitter_INCLUDED
25 #define LSST_MEAS_ASTROM_TanSipFitter_INCLUDED
27 #include "lsst/pex/config.h"
28 #include "lsst/afw/geom/LinearTransform.h"
29 #include "lsst/afw/image/TanWcs.h"
30 #include "lsst/afw/table/Catalog.h"
31 #include "lsst/afw/table/BaseRecord.h"
35 namespace lsst {
namespace meas {
namespace astrom {
50 LSST_CONTROL_FIELD(
nSigma,
double,
"Number of sigma to clip at.");
52 LSST_CONTROL_FIELD(
nClipMin,
int,
"Always clip at least this many matches.");
54 LSST_CONTROL_FIELD(
nClipMax,
int,
"Never clip more than this many matches.");
143 afw::table::ReferenceMatchVector
const & matches,
144 afw::image::Wcs
const & initialWcs,
145 double intrinsicScatter
178 afw::geom::Box2D
const & bbox,
179 int nGridX,
int nGridY,
195 void fit(
int order=-1);
259 afw::table::BaseCatalog
const &
getData()
const {
return _data; }
292 afw::table::BaseCatalog
const & data,
295 double intrinsicScatter,
296 afw::geom::AffineTransform
const & inputScaling,
297 afw::geom::AffineTransform
const & outputScaling
300 double computeIntrinsicScatter()
const;
307 double _intrinsicScatter;
308 afw::table::BaseCatalog _data;
309 afw::geom::AffineTransform _outputScaling;
314 Eigen::MatrixXd _vandermonde;
319 #endif // !LSST_MEAS_ASTROM_TanSipFitter_INCLUDEDtr
int nClipMax
"Never clip more than this many matches." ;
int nClipMin
"Always clip at least this many matches." ;
OutlierRejectionControl()
double nSigma
"Number of sigma to clip at." ;
Control object for outlier rejection in ScaledPolynomialTransformFitter.