LSSTApplications
10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
home
lsstsw
stack
Linux64
meas_algorithms
11.0-2-gb8b8ce7
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 Thu Sep 24 2015 02:29:20 for LSSTApplications by
1.8.5