lsst.jointcal
14.0
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
src
MeasuredStar.cc
Go to the documentation of this file.
1
// -*- C++ -*-
2
#include <cmath>
3
#include <vector>
4
5
#include "
lsst/jointcal/MeasuredStar.h
"
6
#include "
lsst/jointcal/StarList.h
"
7
#include "
lsst/jointcal/CcdImage.h
"
8
9
//#include "preferences.h"
10
//#include "ccdimage.h"
11
#include "assert.h"
// for assert
12
13
namespace
lsst {
14
namespace
jointcal {
15
16
/* Interesting fields of the stack catalogs :
17
'base_SdssCentroid_x'
18
'base_SdssCentroid_y'
19
'base_SdssCentroid_xSigma'
20
'base_SdssCentroid_ySigma'
21
22
We miss the xy uncertainty term.
23
We can cook it up from the sdss shape:
24
'base_SdssShape_xx'
25
'base_SdssShape_yy'
26
'base_SdssShape_xy'
27
28
for fluxes, we might use :
29
'base_CircularApertureFlux_2_flux'
30
'base_CircularApertureFlux_2_fluxSigma'
31
32
where the '2' should be read from the environment.
33
*/
34
35
BaseStarList
&
Measured2Base
(
MeasuredStarList
&This) {
return
(
BaseStarList
&)This; }
36
37
BaseStarList
*
Measured2Base
(
MeasuredStarList
*This) {
return
(
BaseStarList
*)This; }
38
39
const
BaseStarList
&
Measured2Base
(
const
MeasuredStarList
&This) {
return
(
const
BaseStarList
&)This; }
40
41
const
BaseStarList
*
Measured2Base
(
const
MeasuredStarList
*This) {
return
(
BaseStarList
*)This; }
42
43
/******* MeasuredStarList *********/
44
45
void
MeasuredStarList::setCcdImage
(
const
CcdImage
*ccdImage) {
46
for
(
auto
&i : *
this
) i->setCcdImage(ccdImage);
47
}
48
}
// namespace jointcal
49
}
// namespace lsst
StarList.h
MeasuredStar.h
lsst::jointcal::MeasuredStarList
A list of MeasuredStar. They are usually filled in Associations::AddImage.
Definition:
MeasuredStar.h:95
lsst::jointcal::StarList
std::lists of Stars.
Definition:
StarList.h:35
CcdImage.h
lsst::jointcal::MeasuredStarList::setCcdImage
void setCcdImage(const CcdImage *_ccdImage)
Definition:
MeasuredStar.cc:45
lsst::jointcal::Measured2Base
BaseStarList & Measured2Base(MeasuredStarList &This)
Definition:
MeasuredStar.cc:35
lsst::jointcal::CcdImage
Handler of an actual image from a single CCD.
Definition:
CcdImage.h:31
Generated on Tue Oct 24 2017 01:34:10 for lsst.jointcal by
1.8.5