LSSTApplications  11.0-13-gbb96280,12.1.rc1,12.1.rc1+1,12.1.rc1+2,12.1.rc1+5,12.1.rc1+8,12.1.rc1-1-g06d7636+1,12.1.rc1-1-g253890b+5,12.1.rc1-1-g3d31b68+7,12.1.rc1-1-g3db6b75+1,12.1.rc1-1-g5c1385a+3,12.1.rc1-1-g83b2247,12.1.rc1-1-g90cb4cf+6,12.1.rc1-1-g91da24b+3,12.1.rc1-2-g3521f8a,12.1.rc1-2-g39433dd+4,12.1.rc1-2-g486411b+2,12.1.rc1-2-g4c2be76,12.1.rc1-2-gc9c0491,12.1.rc1-2-gda2cd4f+6,12.1.rc1-3-g3391c73+2,12.1.rc1-3-g8c1bd6c+1,12.1.rc1-3-gcf4b6cb+2,12.1.rc1-4-g057223e+1,12.1.rc1-4-g19ed13b+2,12.1.rc1-4-g30492a7
LSSTDataManagementBasePackage
Functions
boost::serialization Namespace Reference

Functions

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)
 
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)
 

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
Point< double, 2 > Point2D
Definition: Point.h:288
A kernel that is a linear combination of fixed basis kernels.
Definition: Kernel.h:811
double x
#define PTR(...)
Definition: base.h:41
template<class Archive >
void boost::serialization::load_construct_data ( Archive &  ar,
lsst::meas::algorithms::SingleGaussianPsf p,
unsigned int  const 
)
inline

Definition at line 95 of file SingleGaussianPsf.h.

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

Definition at line 106 of file DoubleGaussianPsf.h.

109  {
110  int width;
111  int height;
112  double sigma1;
113  double sigma2;
114  double b;
115  ar >> make_nvp("width", width);
116  ar >> make_nvp("height", height);
117  ar >> make_nvp("sigma1", sigma1);
118  ar >> make_nvp("sigma2", sigma2);
119  ar >> make_nvp("b", b);
120  ::new(p) lsst::meas::algorithms::DoubleGaussianPsf(width, height, sigma1, sigma2, b);
121 }
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: PSF.h:39
double x
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.
Definition: PSF.h:39
A kernel that is a linear combination of fixed basis kernels.
Definition: Kernel.h:811
tbl::PointKey< double > averagePosition
Definition: CoaddPsf.cc:328
template<class Archive >
void boost::serialization::save_construct_data ( Archive &  ar,
lsst::meas::algorithms::SingleGaussianPsf const *  p,
unsigned int  const 
)
inline

Definition at line 83 of file SingleGaussianPsf.h.

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

Definition at line 89 of file DoubleGaussianPsf.h.

92  {
93  int width = p->getKernel()->getWidth();
94  int height = p->getKernel()->getHeight();
95  double sigma1 = p->getSigma1();
96  double sigma2 = p->getSigma2();
97  double b = p->getB();
98  ar << make_nvp("width", width);
99  ar << make_nvp("height", height);
100  ar << make_nvp("sigma1", sigma1);
101  ar << make_nvp("sigma2", sigma2);
102  ar << make_nvp("b", b);
103 }
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
double x