#include <FocusCorners.h>
|
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 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 std::vector< int > | findBestIndices (const std::vector< double > &values, int n) |
| find n lowest values More...
|
|
|
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...
|
|
vector< int > FocusCorners::findBestIndices |
( |
const std::vector< double > & |
values, |
|
|
int |
n |
|
) |
| |
|
staticprivate |
find n lowest values
- Author
- Matthias Schartner
- Parameters
-
values | list of values |
n | how 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
-
network | station network |
of | log file stream |
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
-
bestScans | list of all best scans (to see which corner was observed) |
sourceList | list of all sources |
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
-
subcon | list of all scans |
sourceList | list of all sources |
of | log file stream |
fraction | fraction between best and worst mean elevation (used during iteration) |
iteration | iteration number |
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: