VieSched++
VieVS VLBI Scheduling Software
VieVS::Observation Class Reference

representation of a VLBI observation More...

#include <Observation.h>

Inheritance diagram for VieVS::Observation:
Collaboration diagram for VieVS::Observation:

Public Member Functions

 Observation (unsigned long blid, unsigned long staid1, unsigned long staid2, unsigned long srcid, unsigned int startTime, unsigned int observingTime=0)
 constructor More...
 
 Observation (const Observation &other)
 copy constructor More...
 
unsigned long getBlid () const
 get baseline id More...
 
unsigned long getStaid1 () const
 get first station id More...
 
unsigned long getStaid2 () const
 get second station id More...
 
unsigned long getSrcid () const
 get source id More...
 
unsigned int getStartTime () const
 get start time More...
 
unsigned int getObservingTime () const
 get observing time More...
 
bool containsStation (unsigned long staid) const noexcept
 check if observation is with this station More...
 
void setObservingTime (unsigned int observingTime)
 set observing time for this observation More...
 
void setStartTime (unsigned int startTime)
 set start time for this observation More...
 
void addNoise (double noise)
 add noise to observed minus computed More...
 
- Public Member Functions inherited from VieVS::VieVS_Object
 VieVS_Object (unsigned long id)
 constructor More...
 
const unsigned long getId () const
 get object id More...
 
bool hasValidId () const
 check if id is valid More...
 
bool hasId (unsigned long id) const
 check if object has specific id More...
 
void setId (unsigned long id)
 set object id More...
 
std::string printId () const
 object id string More...
 

Static Public Member Functions

static unsigned long numberOfCreatedObjects ()
 number of created observations More...
 

Private Attributes

unsigned long blid_
 baseline id More...
 
unsigned long staid1_
 first station id More...
 
unsigned long staid2_
 second station id More...
 
unsigned long srcid_
 source id More...
 
double o_c = 0
 
double sigma = 0
 
unsigned int startTime_
 observation start time More...
 
unsigned int observingTime_
 observation duration More...
 

Static Private Attributes

static unsigned long nextId = 0
 next id for this object type More...
 

Detailed Description

representation of a VLBI observation

Author
Matthias Schartner
Date
28.06.2018

Constructor & Destructor Documentation

Observation::Observation ( unsigned long  blid,
unsigned long  staid1,
unsigned long  staid2,
unsigned long  srcid,
unsigned int  startTime,
unsigned int  observingTime = 0 
)

constructor

Author
Matthias Schartner
Parameters
blidbaseline id
staid1first station id
staid2second station id
srcidsource id
startTimestart time
observingTimeobserving time in seconds
Observation::Observation ( const Observation other)

copy constructor

Author
Matthias Schartner
Parameters
otherreference observation

Member Function Documentation

void VieVS::Observation::addNoise ( double  noise)
inline

add noise to observed minus computed

Author
Matthias Schartner
Parameters
noisenoise in seconds
bool Observation::containsStation ( unsigned long  staid) const
noexcept

check if observation is with this station

Author
Matthias Schartner
Parameters
staidtarget station id
Returns
true if observation is between this station, otherwise false

Here is the caller graph for this function:

unsigned long VieVS::Observation::getBlid ( ) const
inline

get baseline id

Author
Matthias Schartner
Returns
baseline id

Here is the caller graph for this function:

unsigned int VieVS::Observation::getObservingTime ( ) const
inline

get observing time

Author
Matthias Schartner
Returns
observing time in seconds

Here is the call graph for this function:

Here is the caller graph for this function:

unsigned long VieVS::Observation::getSrcid ( ) const
inline

get source id

Author
Matthias Schartner
Returns
source id

Here is the caller graph for this function:

unsigned long VieVS::Observation::getStaid1 ( ) const
inline

get first station id

Author
Matthias Schartner
Returns
first station id

Here is the caller graph for this function:

unsigned long VieVS::Observation::getStaid2 ( ) const
inline

get second station id

Author
Matthias Schartner
Returns
second station id

Here is the caller graph for this function:

unsigned int VieVS::Observation::getStartTime ( ) const
inline

get start time

Author
Matthias Schartner
Returns
start time

Here is the caller graph for this function:

static unsigned long VieVS::Observation::numberOfCreatedObjects ( )
inlinestatic

number of created observations

Author
Matthias Schartner
Returns
total number of created observations

Here is the caller graph for this function:

void VieVS::Observation::setObservingTime ( unsigned int  observingTime)
inline

set observing time for this observation

Author
Matthias Schartner
Parameters
observingTimeobserving time in seconds
void VieVS::Observation::setStartTime ( unsigned int  startTime)
inline

set start time for this observation

Author
Matthias Schartner
Parameters
startTimestart time

Member Data Documentation

unsigned long VieVS::Observation::blid_
private

baseline id

unsigned long VieVS::Observation::nextId = 0
staticprivate

next id for this object type

double VieVS::Observation::o_c = 0
private
unsigned int VieVS::Observation::observingTime_
private

observation duration

double VieVS::Observation::sigma = 0
private
unsigned long VieVS::Observation::srcid_
private

source id

unsigned long VieVS::Observation::staid1_
private

first station id

unsigned long VieVS::Observation::staid2_
private

second station id

unsigned int VieVS::Observation::startTime_
private

observation start time


The documentation for this class was generated from the following files: