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

#include <FocusCorners.h>

Static Public Member Functions

static void initialize (const Network &network, std::ofstream &of)
 initialize Focus Corner algorithm More...
 
static void reweight (const Subcon &subcon, SourceList &sourceList, std::ofstream &of, double fraction=2.0, int iteration=0)
 reweight sources More...
 
static void reset (const std::vector< Scan > &bestScans, SourceList &sourceList)
 rest all weights and set new time for next algorithm start More...
 

Static Public Attributes

static bool flag = false
 use focus corner algorithm More...
 
static thread_local bool startFocusCorner = false
 focus observation at corner More...
 
static thread_local unsigned int nextStart = numeric_limits<unsigned int>::max()
 next time when algorithm starts More...
 
static thread_local unsigned int interval = 900
 time intervall between algorithm More...
 

Static Private Member Functions

static std::vector< int > findBestIndices (const std::vector< double > &values, int n)
 find n lowest values More...
 

Static Private Attributes

static thread_local std::vector< double > lastCornerAzimuth = std::vector<double>()
 last observed azimuth (which corner was observed) More...
 
static thread_local std::vector< std::pair< int, double > > backupWeight
 backup weights More...
 
static thread_local std::vector< int > staid2groupid = std::vector<int>()
 station id to corner group id More...
 

Member Function Documentation

vector< int > FocusCorners::findBestIndices ( const std::vector< double > &  values,
int  n 
)
staticprivate

find n lowest values

Author
Matthias Schartner
Parameters
valueslist of values
nhow many lowest are searched
Returns
list of lowest indices
void VieVS::FocusCorners::initialize ( const Network network,
std::ofstream &  of 
)
static

initialize Focus Corner algorithm

Author
Matthias Schartner

define group and set variables

Parameters
networkstation network
oflog file stream

Here is the call graph for this function:

Here is the caller graph for this function:

void FocusCorners::reset ( const std::vector< Scan > &  bestScans,
SourceList sourceList 
)
static

rest all weights and set new time for next algorithm start

Author
Matthias Schartner
Parameters
bestScanslist of all best scans (to see which corner was observed)
sourceListlist of all sources

Here is the call graph for this function:

Here is the caller graph for this function:

void VieVS::FocusCorners::reweight ( const Subcon subcon,
SourceList sourceList,
std::ofstream &  of,
double  fraction = 2.0,
int  iteration = 0 
)
static

reweight sources

Author
Matthias Schartner
Parameters
subconlist of all scans
sourceListlist of all sources
oflog file stream
fractionfraction between best and worst mean elevation (used during iteration)
iterationiteration number

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

std::vector< std::pair< int, double > > thread_local VieVS::FocusCorners::backupWeight
staticprivate
Initial value:
=
std::vector<std::pair<int, double>>()

backup weights

bool VieVS::FocusCorners::flag = false
static

use focus corner algorithm

unsigned int thread_local VieVS::FocusCorners::interval = 900
static

time intervall between algorithm

std::vector< double > thread_local VieVS::FocusCorners::lastCornerAzimuth = std::vector<double>()
staticprivate

last observed azimuth (which corner was observed)

unsigned int thread_local VieVS::FocusCorners::nextStart = numeric_limits<unsigned int>::max()
static

next time when algorithm starts

std::vector< int > thread_local VieVS::FocusCorners::staid2groupid = std::vector<int>()
staticprivate

station id to corner group id

bool thread_local VieVS::FocusCorners::startFocusCorner = false
static

focus observation at corner


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