GPLIB++
|
TimeSeriesData stores a pointer to the different components of magnetotelluric data and provides functions to read and write it to files. More...
#include <TimeSeriesData.h>
Public Member Functions | |
TimeSeries & | GetData () |
return a reference to the actual object stored in the pointer More... | |
void | GetData (std::string filename) |
GetData reads in data from a file and determines the type from the ending. More... | |
void | WriteAsMtu (std::string filename_base) |
Write data to file in Phoenix MTU format. More... | |
void | WriteAsBirrp (std::string filename_base) |
Write data to file in ascii format for birrp processing. More... | |
void | WriteAsCsv (std::string filename_base) |
Write data as comma seperated ascii file. More... | |
void | WriteAsLemi (std::string filename_base) |
Write as file in Lemi compatible format. More... | |
void | WriteBack (std::string filename_base) |
Write in the format it was originally read in. More... | |
TimeSeriesData () | |
virtual | ~TimeSeriesData () |
TimeSeriesData & | operator= (const TimeSeriesData &source) |
The copy constructor. More... | |
TimeSeriesData stores a pointer to the different components of magnetotelluric data and provides functions to read and write it to files.
This should be made consistent with the corresponding Seismic data at some point
Definition at line 22 of file TimeSeriesData.h.
gplib::TimeSeriesData::TimeSeriesData | ( | ) |
Definition at line 14 of file TimeSeriesData.cpp.
|
virtual |
Definition at line 18 of file TimeSeriesData.cpp.
|
inline |
return a reference to the actual object stored in the pointer
Definition at line 33 of file TimeSeriesData.h.
Referenced by main().
void gplib::TimeSeriesData::GetData | ( | std::string | filename | ) |
GetData reads in data from a file and determines the type from the ending.
Definition at line 22 of file TimeSeriesData.cpp.
References gplib::birrp, gplib::csv, gplib::lemi, gplib::mtu, and gplib::tsunknown.
TimeSeriesData & gplib::TimeSeriesData::operator= | ( | const TimeSeriesData & | source | ) |
The copy constructor.
Definition at line 65 of file TimeSeriesData.cpp.
void gplib::TimeSeriesData::WriteAsBirrp | ( | std::string | filename_base | ) |
Write data to file in ascii format for birrp processing.
Definition at line 105 of file TimeSeriesData.cpp.
References gplib::birrp, and gplib::BirrpAsciiFormat::WriteData().
Referenced by main().
void gplib::TimeSeriesData::WriteAsCsv | ( | std::string | filename_base | ) |
Write data as comma seperated ascii file.
Definition at line 130 of file TimeSeriesData.cpp.
void gplib::TimeSeriesData::WriteAsLemi | ( | std::string | filename_base | ) |
Write as file in Lemi compatible format.
Definition at line 118 of file TimeSeriesData.cpp.
References gplib::lemi, and gplib::LemiTsFormat::WriteData().
void gplib::TimeSeriesData::WriteAsMtu | ( | std::string | filename_base | ) |
Write data to file in Phoenix MTU format.
Definition at line 77 of file TimeSeriesData.cpp.
References gplib::mtu.
Referenced by main().
void gplib::TimeSeriesData::WriteBack | ( | std::string | filename_base | ) |
Write in the format it was originally read in.
Definition at line 135 of file TimeSeriesData.cpp.
References gplib::birrp, gplib::csv, gplib::lemi, and gplib::mtu.
Referenced by main().