1 #ifndef CMTSTATIONLIST_H
2 #define CMTSTATIONLIST_H
22 trealdata commonfrequencies;
24 std::vector<tindexvector> cfindices;
28 void FindCommon(
void);
36 void GetData(
const std::string filename);
38 void WriteList(
const std::string filename =
"station.list");
49 return commonfrequencies;
63 #endif // CMTSTATIONLIST_H
MTStation & at(int loc)
Get a reference to a site at a given index.
void WriteAllData()
Write the data of each station to an individual file.
void WriteList(const std::string filename="station.list")
Write the names of the sites in the current list to a file.
const trealdata & GetCommonFrequencies()
Get a vector with frequencies that are common to all sites.
The class MTStation is used to store the transfer functions and related information for a MT-site...
MTStationList holds a number of MTSites, usually associated with a single project, line, etc.
MTStationList(double freqtol=0.05)
tStationList & GetList()
Access to the complete vector of Stations.
const std::vector< tindexvector > & GetComFreqIndices()
Get a vector that for each site contains the indices to the common frequencies.
void GetData(const std::string filename)
Read a list of filenames and the associated data in those files to fill the list. ...