LSSTApplications
10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
LSSTDataManagementBasePackage
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
home
lsstsw
stack
Linux64
meas_algorithms
11.0.rc2+3
include
lsst
meas
algorithms
shapelet
PotentialStar.h
Go to the documentation of this file.
1
#ifndef MeasAlgoShapeletPotentialStar_H
2
#define MeasAlgoShapeletPotentialStar_H
3
4
#include "
lsst/meas/algorithms/shapelet/Bounds.h
"
5
#include <string>
6
7
namespace
lsst {
8
namespace
meas {
9
namespace
algorithms {
10
namespace
shapelet {
11
12
class
PotentialStar
{
13
14
public
:
15
PotentialStar
(
Position
pos,
double
mag,
double
size,
long
index,
16
const
std::string&
line
) :
17
_pos
(pos),
_mag
(mag),
_size
(size),
_index
(index),
_line
(line)
18
{}
19
20
~PotentialStar
() {}
21
22
const
Position
&
getPos
()
const
{
return
_pos
; }
23
24
double
getMag
()
const
{
return
_mag
; }
25
26
double
getSize
()
const
{
return
_size
; }
27
28
long
getIndex
()
const
{
return
_index
; }
29
30
const
std::string&
getLine
()
const
{
return
_line
; }
31
32
void
setSize
(
double
newsize) {
_size
= newsize; }
33
34
bool
isBrighterThan
(
const
PotentialStar
* rhs)
const
35
{
return
_mag
< rhs->
_mag
; }
36
37
bool
isSmallerThan
(
const
PotentialStar
* rhs)
const
38
{
return
_size
< rhs->
_size
; }
39
40
private
:
41
42
Position
_pos
;
43
double
_mag
;
44
double
_size
;
45
long
_index
;
46
std::string
_line
;
47
48
};
49
50
}}}}
51
52
#endif
53
lsst::meas::algorithms::shapelet::PotentialStar
Definition:
PotentialStar.h:12
lsst.afw.display.ds9.line
def line
Definition:
ds9.py:88
lsst::meas::algorithms::shapelet::PotentialStar::_line
std::string _line
Definition:
PotentialStar.h:46
lsst::meas::algorithms::shapelet::PotentialStar::_mag
double _mag
Definition:
PotentialStar.h:43
lsst::meas::algorithms::shapelet::PotentialStar::getIndex
long getIndex() const
Definition:
PotentialStar.h:28
lsst::meas::algorithms::shapelet::PotentialStar::getLine
const std::string & getLine() const
Definition:
PotentialStar.h:30
lsst::meas::algorithms::shapelet::PotentialStar::getMag
double getMag() const
Definition:
PotentialStar.h:24
Bounds.h
lsst::meas::algorithms::shapelet::Position
Definition:
Bounds.h:12
lsst::meas::algorithms::shapelet::PotentialStar::getSize
double getSize() const
Definition:
PotentialStar.h:26
lsst::meas::algorithms::shapelet::PotentialStar::_pos
Position _pos
Definition:
PotentialStar.h:42
lsst::meas::algorithms::shapelet::PotentialStar::isBrighterThan
bool isBrighterThan(const PotentialStar *rhs) const
Definition:
PotentialStar.h:34
lsst::meas::algorithms::shapelet::PotentialStar::isSmallerThan
bool isSmallerThan(const PotentialStar *rhs) const
Definition:
PotentialStar.h:37
lsst::meas::algorithms::shapelet::PotentialStar::~PotentialStar
~PotentialStar()
Definition:
PotentialStar.h:20
lsst::meas::algorithms::shapelet::PotentialStar::getPos
const Position & getPos() const
Definition:
PotentialStar.h:22
lsst::meas::algorithms::shapelet::PotentialStar::setSize
void setSize(double newsize)
Definition:
PotentialStar.h:32
lsst::meas::algorithms::shapelet::PotentialStar::_index
long _index
Definition:
PotentialStar.h:45
lsst::meas::algorithms::shapelet::PotentialStar::PotentialStar
PotentialStar(Position pos, double mag, double size, long index, const std::string &line)
Definition:
PotentialStar.h:15
lsst::meas::algorithms::shapelet::PotentialStar::_size
double _size
Definition:
PotentialStar.h:44
Generated on Wed Sep 16 2015 13:35:30 for LSSTApplications by
1.8.5