LSSTApplications  11.0-13-gbb96280,12.1+18,12.1+7,12.1-1-g14f38d3+72,12.1-1-g16c0db7+5,12.1-1-g5961e7a+84,12.1-1-ge22e12b+23,12.1-11-g06625e2+4,12.1-11-g0d7f63b+4,12.1-19-gd507bfc,12.1-2-g7dda0ab+38,12.1-2-gc0bc6ab+81,12.1-21-g6ffe579+2,12.1-21-gbdb6c2a+4,12.1-24-g941c398+5,12.1-3-g57f6835+7,12.1-3-gf0736f3,12.1-37-g3ddd237,12.1-4-gf46015e+5,12.1-5-g06c326c+20,12.1-5-g648ee80+3,12.1-5-gc2189d7+4,12.1-6-ga608fc0+1,12.1-7-g3349e2a+5,12.1-7-gfd75620+9,12.1-9-g577b946+5,12.1-9-gc4df26a+10
LSSTDataManagementBasePackage
Functions
boost::serialization Namespace Reference

Functions

template<class Archive >
void save_construct_data (Archive &ar, lsst::afw::math::DeltaFunctionKernel const *k, unsigned int const file_version)
 
template<class Archive >
void load_construct_data (Archive &ar, lsst::afw::math::DeltaFunctionKernel *k, unsigned int const file_version)
 
template<class Archive >
void save_construct_data (Archive &ar, lsst::meas::algorithms::DoubleGaussianPsf const *p, unsigned int const )
 
template<class Archive >
void load_construct_data (Archive &ar, lsst::meas::algorithms::DoubleGaussianPsf *p, unsigned int const )
 
template<class Archive >
void save_construct_data (Archive &ar, lsst::meas::algorithms::PcaPsf const *p, unsigned int const)
 
template<class Archive >
void load_construct_data (Archive &ar, lsst::meas::algorithms::PcaPsf *p, unsigned int const)
 
template<class Archive >
void save_construct_data (Archive &ar, lsst::meas::algorithms::SingleGaussianPsf const *p, unsigned int const)
 
template<class Archive >
void load_construct_data (Archive &ar, lsst::meas::algorithms::SingleGaussianPsf *p, unsigned int const)
 

Function Documentation

template<class Archive >
void boost::serialization::load_construct_data ( Archive &  ar,
lsst::meas::algorithms::PcaPsf p,
unsigned int  const 
)
inline

Definition at line 86 of file PcaPsf.h.

88  {
90  ar >> make_nvp("kernel", kernel);
91  double x=0.0, y=0.0;
92  ar >> make_nvp("averagePositionX", x);
93  ar >> make_nvp("averagePositionY", y);
94  ::new(p) lsst::meas::algorithms::PcaPsf(PTR(lsst::afw::math::LinearCombinationKernel)(kernel),
95  lsst::afw::geom::Point2D(x, y));
96 }
int y
A kernel that is a linear combination of fixed basis kernels.
Definition: Kernel.h:811
double x
#define PTR(...)
Definition: base.h:41
Point< double, 2 > Point2D
Definition: Point.h:288
template<class Archive >
void boost::serialization::load_construct_data ( Archive &  ar,
lsst::meas::algorithms::SingleGaussianPsf p,
unsigned int  const 
)
inline

Definition at line 98 of file SingleGaussianPsf.h.

100  {
101  int width;
102  int height;
103  double sigma;
104  ar >> make_nvp("width", width);
105  ar >> make_nvp("height", height);
106  ar >> make_nvp("sigma", sigma);
107  ::new(p) lsst::meas::algorithms::SingleGaussianPsf(width, height, sigma);
108 }
afw::table::Key< double > sigma
Definition: GaussianPsf.cc:43
void ImageT ImageT int float saturatedPixelValue int const width
Definition: saturated.cc:44
void ImageT ImageT int float saturatedPixelValue int const height
Definition: saturated.cc:44
template<class Archive >
void boost::serialization::load_construct_data ( Archive &  ar,
lsst::meas::algorithms::DoubleGaussianPsf p,
unsigned int  const 
)
inline

Definition at line 109 of file DoubleGaussianPsf.h.

112  {
113  int width;
114  int height;
115  double sigma1;
116  double sigma2;
117  double b;
118  ar >> make_nvp("width", width);
119  ar >> make_nvp("height", height);
120  ar >> make_nvp("sigma1", sigma1);
121  ar >> make_nvp("sigma2", sigma2);
122  ar >> make_nvp("b", b);
123  ::new(p) lsst::meas::algorithms::DoubleGaussianPsf(width, height, sigma1, sigma2, b);
124 }
void ImageT ImageT int float saturatedPixelValue int const width
Definition: saturated.cc:44
void ImageT ImageT int float saturatedPixelValue int const height
Definition: saturated.cc:44
afw::table::Key< double > sigma1
afw::table::Key< double > b
afw::table::Key< double > sigma2
template<class Archive >
void boost::serialization::load_construct_data ( Archive &  ar,
lsst::afw::math::DeltaFunctionKernel k,
unsigned int const  file_version 
)
inline

Definition at line 1171 of file Kernel.h.

1173  {
1174  int width;
1175  int height;
1176  int x;
1177  int y;
1178  ar >> make_nvp("width", width);
1179  ar >> make_nvp("height", height);
1180  ar >> make_nvp("pixX", x);
1181  ar >> make_nvp("pixY", y);
1182  ::new(k) lsst::afw::math::DeltaFunctionKernel(
1183  width, height, lsst::afw::geom::Point2I(x, y));
1184 }
int y
Point< int, 2 > Point2I
Definition: Point.h:285
void ImageT ImageT int float saturatedPixelValue int const width
Definition: saturated.cc:44
double x
void ImageT ImageT int float saturatedPixelValue int const height
Definition: saturated.cc:44
template<class Archive >
void boost::serialization::save_construct_data ( Archive &  ar,
lsst::meas::algorithms::PcaPsf const *  p,
unsigned int  const 
)
inline

Definition at line 75 of file PcaPsf.h.

77  {
78  lsst::afw::math::LinearCombinationKernel const* kernel = p->getKernel().get();
79  ar << make_nvp("kernel", kernel);
80  lsst::afw::geom::Point2D averagePosition = p->getAveragePosition();
81  ar << make_nvp("averagePositionX", averagePosition.getX());
82  ar << make_nvp("averagePositionY", averagePosition.getY());
83 }
A coordinate class intended to represent absolute positions.
A kernel that is a linear combination of fixed basis kernels.
Definition: Kernel.h:811
tbl::PointKey< double > averagePosition
Definition: CoaddPsf.cc:352
template<class Archive >
void boost::serialization::save_construct_data ( Archive &  ar,
lsst::meas::algorithms::SingleGaussianPsf const *  p,
unsigned int  const 
)
inline

Definition at line 86 of file SingleGaussianPsf.h.

88  {
89  int width = p->getKernel()->getWidth();
90  int height = p->getKernel()->getHeight();
91  double sigma = p->getSigma();
92  ar << make_nvp("width", width);
93  ar << make_nvp("height", height);
94  ar << make_nvp("sigma", sigma);
95 }
afw::table::Key< double > sigma
Definition: GaussianPsf.cc:43
void ImageT ImageT int float saturatedPixelValue int const width
Definition: saturated.cc:44
void ImageT ImageT int float saturatedPixelValue int const height
Definition: saturated.cc:44
template<class Archive >
void boost::serialization::save_construct_data ( Archive &  ar,
lsst::meas::algorithms::DoubleGaussianPsf const *  p,
unsigned int  const 
)
inline

Definition at line 92 of file DoubleGaussianPsf.h.

95  {
96  int width = p->getKernel()->getWidth();
97  int height = p->getKernel()->getHeight();
98  double sigma1 = p->getSigma1();
99  double sigma2 = p->getSigma2();
100  double b = p->getB();
101  ar << make_nvp("width", width);
102  ar << make_nvp("height", height);
103  ar << make_nvp("sigma1", sigma1);
104  ar << make_nvp("sigma2", sigma2);
105  ar << make_nvp("b", b);
106 }
void ImageT ImageT int float saturatedPixelValue int const width
Definition: saturated.cc:44
void ImageT ImageT int float saturatedPixelValue int const height
Definition: saturated.cc:44
afw::table::Key< double > sigma1
afw::table::Key< double > b
afw::table::Key< double > sigma2
template<class Archive >
void boost::serialization::save_construct_data ( Archive &  ar,
lsst::afw::math::DeltaFunctionKernel const *  k,
unsigned int const  file_version 
)
inline

Definition at line 1157 of file Kernel.h.

1159  {
1160  int width = k->getWidth();
1161  int height = k->getHeight();
1162  int x = k->getPixel().getX();
1163  int y = k->getPixel().getY();
1164  ar << make_nvp("width", width);
1165  ar << make_nvp("height", height);
1166  ar << make_nvp("pixX", x);
1167  ar << make_nvp("pixY", y);
1168 }
int y
void ImageT ImageT int float saturatedPixelValue int const width
Definition: saturated.cc:44
double x
void ImageT ImageT int float saturatedPixelValue int const height
Definition: saturated.cc:44