![]() |
VieSched++
VieVS VLBI Scheduling Software
|
representation of a VLBI baseline More...
#include <Baseline.h>
Classes | |
struct | Event |
event which changes parameters More... | |
class | Parameters |
baseline parameters More... | |
struct | Statistics |
baseline statistics More... | |
Public Member Functions | |
Baseline (std::string name, std::string alternativeName, unsigned long staid1, unsigned long staid2) | |
constructor More... | |
bool | hasStationIds (unsigned long staid1, unsigned long staid2) const noexcept |
checks if this baseline is between the two stations More... | |
bool | hasStationIds (const std::pair< unsigned long, unsigned long > &staids) const noexcept |
checks if this baseline is between the two stations More... | |
void | setEVENTS (std::vector< Event > &EVENTS) noexcept |
sets all upcoming events More... | |
Parameters & | refParaForMultiScheduling () |
reference parameters to add multi-scheduling setup More... | |
unsigned long | getStaid1 () const noexcept |
getter method for first station id More... | |
unsigned long | getStaid2 () const noexcept |
getter method for second station id More... | |
std::pair< unsigned long, unsigned long > | getStaids () const noexcept |
getter method for station ids More... | |
const Parameters & | getParameters () const |
getter for current parameters More... | |
Parameters & | refParameters () |
reference of current parameters More... | |
bool | checkForNewEvent (unsigned int time, bool &hardBreak) noexcept |
checks for new events at certain time More... | |
void | update (bool influence) noexcept |
update new observation More... | |
void | setNextEvent (unsigned int idx) noexcept |
set next event index More... | |
void | setStatistics (const Statistics &stat) |
set baseline statistics More... | |
const Statistics & | getStatistics () const |
getter for baseline statistics More... | |
unsigned long | getNObs () const |
get number of observations More... | |
![]() | |
VieVS_NamedObject (std::string name, unsigned long id) | |
constructor More... | |
VieVS_NamedObject (std::string name, std::string alternativeName, unsigned long id) | |
constructor More... | |
const std::string & | getName () const |
get object name More... | |
const std::string & | getAlternativeName () const |
get object alternative name More... | |
bool | hasAlternativeName () const |
check if object has alternative name More... | |
bool | hasName (const std::string &name) const |
check if object has name More... | |
void | changeName (const std::string &newName) |
change name of object More... | |
![]() | |
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... | |
Private Attributes | |
unsigned long | staid1_ |
id of first antenna More... | |
unsigned long | staid2_ |
id of second antenna More... | |
std::vector< Event > | events_ |
list of all events More... | |
Statistics | statistics_ |
baseline statistics More... | |
Parameters | parameters_ |
station parameters More... | |
unsigned int | nextEvent_ { 0 } |
index of next event More... | |
int | nObs_ { 0 } |
number of observations More... | |
int | nTotalObs_ { 0 } |
number of total observations More... | |
Static Private Attributes | |
static unsigned long | nextId = 0 |
next id for this object type More... | |
representation of a VLBI baseline
Baseline::Baseline | ( | std::string | name, |
std::string | alternativeName, | ||
unsigned long | staid1, | ||
unsigned long | staid2 | ||
) |
constructor
name | baseline name (station 1 two letter code - station 2 two letter code) |
alternativeName | baseline alternative name (station 2 two letter code - station 1 two letter code) |
staid1 | station 1 id |
staid2 | station 2 id |
|
noexcept |
checks for new events at certain time
time | target time |
hardBreak | return which tells you if a hard break occured |
|
inline |
get number of observations
|
inline |
getter for current parameters
|
inlinenoexcept |
getter method for first station id
|
inlinenoexcept |
getter method for second station id
|
inlinenoexcept |
getter method for station ids
|
inline |
getter for baseline statistics
|
noexcept |
checks if this baseline is between the two stations
staid1 | station id 1 |
staid2 | station id 2 |
|
noexcept |
checks if this baseline is between the two stations
staids | station ids |
|
inline |
reference parameters to add multi-scheduling setup
|
inline |
reference of current parameters
|
inlinenoexcept |
sets all upcoming events
EVENTS | all upcoming events |
|
inlinenoexcept |
set next event index
idx | new idx |
|
inline |
set baseline statistics
stat | baseline statistics |
|
noexcept |
update new observation
influence | true is observation should count for further scan selections, otherwise false |
|
private |
list of all events
|
private |
index of next event
|
staticprivate |
next id for this object type
|
private |
number of observations
|
private |
number of total observations
|
private |
station parameters
|
private |
id of first antenna
|
private |
id of second antenna
|
private |
baseline statistics