creates the source statistics output file
More...
#include <SourceStatistics.h>
|
std::unordered_map< std::string, std::vector< std::string > > | readGroups (boost::property_tree::ptree root, const SourceList &sourceList) noexcept |
| read all groups from VieSchedpp.xml file More...
|
|
std::vector< std::pair< unsigned int, unsigned int > > | minutesVisible (Network &network, const std::shared_ptr< AbstractSource > &source) |
| calculate minutes where source is visible More...
|
|
|
std::ofstream | of |
| output stream object More...
|
|
|
static unsigned long | nextId = 0 |
| next id for this object type More...
|
|
creates the source statistics output file
- Author
- Matthias Schartner
- Date
- 28.06.2017
SourceStatistics::SourceStatistics |
( |
const std::string & |
file | ) |
|
|
explicit |
constructor
- Author
- Matthias Schartner
- Parameters
-
vector< pair< unsigned int, unsigned int > > SourceStatistics::minutesVisible |
( |
Network & |
network, |
|
|
const std::shared_ptr< AbstractSource > & |
source |
|
) |
| |
|
private |
calculate minutes where source is visible
- Author
- Matthias Schartner
- Parameters
-
network | station network |
source | target source |
- Returns
- pair of visible time periods
unordered_map< string, vector< string > > SourceStatistics::readGroups |
( |
boost::property_tree::ptree |
root, |
|
|
const SourceList & |
sourceList |
|
) |
| |
|
privatenoexcept |
read all groups from VieSchedpp.xml file
- Author
- Matthias Schartner
- Parameters
-
root | VieSchedpp.xml file |
sourceList | list of all sources |
- Returns
- list of all groups
void SourceStatistics::writeFile |
( |
Network & |
network, |
|
|
SourceList & |
sourceList, |
|
|
const std::vector< Scan > & |
scans, |
|
|
const boost::property_tree::ptree & |
xml |
|
) |
| |
write simple skdsum file
- Author
- Matthias Schartner
- Parameters
-
network | station network |
sourceList | list of all sources |
scans | list of all scans |
xml | paramters.xml file |
unsigned long SourceStatistics::nextId = 0 |
|
staticprivate |
next id for this object type
std::ofstream VieVS::SourceStatistics::of |
|
private |
The documentation for this class was generated from the following files: