![]() |
VieSched++
VieVS VLBI Scheduling Software
|
representation of the VLBI sky coverage object More...
#include <SkyCoverage.h>
Public Types | |
enum | Interpolation { Interpolation::constant, Interpolation::linear, Interpolation::cosine } |
sky coverage functions More... | |
Public Member Functions | |
SkyCoverage () | |
constructor More... | |
double | calcScore (const PointingVector &pv) const |
calc score per station More... | |
double | scorePerPointingVector (const PointingVector &pv_new, const PointingVector &pv_old) const noexcept |
calculates the influence of the score between two pointing vectors More... | |
void | clearObservations () |
clear all observations More... | |
void | update (const PointingVector &pv) noexcept |
updates the pointing vectors More... | |
const std::vector< PointingVector > & | getPointingVectors () const noexcept |
get all pointing vectors More... | |
void | calculateSkyCoverageScores () |
calculate sky coverage scores More... | |
double | getSkyCoverageScore_a13m30 () const |
get total sky coverage score More... | |
double | getSkyCoverageScore_a25m30 () const |
get total sky coverage score More... | |
double | getSkyCoverageScore_a37m30 () const |
get total sky coverage score More... | |
double | getSkyCoverageScore_a13m60 () const |
get total sky coverage score More... | |
double | getSkyCoverageScore_a25m60 () const |
get total sky coverage score More... | |
double | getSkyCoverageScore_a37m60 () const |
get total sky coverage score 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... | |
Static Public Attributes | |
static thread_local double | maxInfluenceTime = 3600 |
maximum angular distance of influence on the sky coverage More... | |
static thread_local double | maxInfluenceDistance = 30 * deg2rad |
maximum time influence on the sky coverage More... | |
static thread_local Interpolation | interpolationDistance = Interpolation::linear |
function for distance More... | |
static thread_local Interpolation | interpolationTime = Interpolation::linear |
function for time More... | |
Private Member Functions | |
double | skyCoverageScore_13 (unsigned int deltaTime) const |
calculate total sky coverage score of all observations over schedule session More... | |
double | skyCoverageScore_25 (unsigned int deltaTime) const |
calculate total sky coverage score of all observations over schedule session More... | |
double | skyCoverageScore_37 (unsigned int deltaTime) const |
calculate total sky coverage score of all observations over schedule session More... | |
Static Private Member Functions | |
static int | areaIndex13_v1 (const PointingVector &pv) noexcept |
area index of observation More... | |
static int | areaIndex13_v2 (const PointingVector &pv) noexcept |
area index of observation More... | |
static int | areaIndex25_v1 (const PointingVector &pv) noexcept |
area index of observation More... | |
static int | areaIndex25_v2 (const PointingVector &pv) noexcept |
area index of observation More... | |
static int | areaIndex37_v1 (const PointingVector &pv) noexcept |
area index of observation More... | |
static int | areaIndex37_v2 (const PointingVector &pv) noexcept |
area index of observation More... | |
Private Attributes | |
std::vector< PointingVector > | pointingVectors_ |
all pointing vectors More... | |
double | a13m30_ { 0 } |
sky coverage score with 13 areas over 30 minutes More... | |
double | a25m30_ { 0 } |
sky coverage score with 25 areas over 30 minutes More... | |
double | a37m30_ { 0 } |
sky coverage score with 37 areas over 30 minutes More... | |
double | a13m60_ { 0 } |
sky coverage score with 13 areas over 60 minutes More... | |
double | a25m60_ { 0 } |
sky coverage score with 25 areas over 60 minutes More... | |
double | a37m60_ { 0 } |
sky coverage score with 37 areas over 60 minutes More... | |
Static Private Attributes | |
static unsigned long | nextId = 0 |
next id for this object type More... | |
representation of the VLBI sky coverage object
|
strong |
SkyCoverage::SkyCoverage | ( | ) |
constructor
|
staticprivatenoexcept |
area index of observation
Sky is distributed in 13 areas. An index is given to each area. This function returns the index of the area where the observation is located.
pv | pointing vector containing azimuth and elevation |
|
staticprivatenoexcept |
area index of observation
Sky is distributed in 13 areas. An index is given to each area. This function returns the index of the area where the observation is located.
pv | pointing vector containing azimuth and elevation |
|
staticprivatenoexcept |
area index of observation
Sky is distributed in 25 areas. An index is given to each area. This function returns the index of the area where the observation is located.
pv | pointing vector containing azimuth and elevation |
|
staticprivatenoexcept |
area index of observation
Sky is distributed in 25 areas. An index is given to each area. This function returns the index of the area where the observation is located.
pv | pointing vector containing azimuth and elevation |
|
staticprivatenoexcept |
area index of observation
Sky is distributed in 37 areas. An index is given to each area. This function returns the index of the area where the observation is located.
pv | pointing vector containing azimuth and elevation |
|
staticprivatenoexcept |
area index of observation
Sky is distributed in 37 areas. An index is given to each area. This function returns the index of the area where the observation is located.
pv | pointing vector containing azimuth and elevation |
double SkyCoverage::calcScore | ( | const PointingVector & | pv | ) | const |
calc score per station
pv | pointing vector |
void SkyCoverage::calculateSkyCoverageScores | ( | ) |
calculate sky coverage scores
with 13, 25 and 37 areas over 30 and 60 minutes.
void SkyCoverage::clearObservations | ( | ) |
clear all observations
|
inlinenoexcept |
get all pointing vectors
|
inline |
get total sky coverage score
|
inline |
get total sky coverage score
|
inline |
get total sky coverage score
|
inline |
get total sky coverage score
|
inline |
get total sky coverage score
|
inline |
get total sky coverage score
|
noexcept |
calculates the influence of the score between two pointing vectors
pv_new | new observation pointing vector |
pv_old | already observed pointing vector |
|
private |
calculate total sky coverage score of all observations over schedule session
The sky is distributed in 13 areas
deltaTime | time increment |
|
private |
calculate total sky coverage score of all observations over schedule session
The sky is distributed in 25 areas
deltaTime | time increment |
|
private |
calculate total sky coverage score of all observations over schedule session
The sky is distributed in 37 areas
deltaTime | time increment |
|
noexcept |
updates the pointing vectors
pv | pointing vector at start of scan |
|
private |
sky coverage score with 13 areas over 30 minutes
|
private |
sky coverage score with 13 areas over 60 minutes
|
private |
sky coverage score with 25 areas over 30 minutes
|
private |
sky coverage score with 25 areas over 60 minutes
|
private |
sky coverage score with 37 areas over 30 minutes
|
private |
sky coverage score with 37 areas over 60 minutes
|
static |
function for distance
|
static |
function for time
|
static |
maximum time influence on the sky coverage
|
static |
maximum angular distance of influence on the sky coverage
|
staticprivate |
next id for this object type
|
private |
all pointing vectors