GSE++ library: reading and writing GSE waveforms
|
A class to hold and manage the WID2-line. This is a struct - because it is a simple collection of fields together with a few formatting functions. More...
#include "gsexx.h"
Public Member Functions | |
TWID2 () | |
default constructor sets default values More... | |
std::string | subformat () const |
return subformat ID string More... | |
std::string | line () const |
write the WID2 line More... | |
void | read (std::istream &is) |
read a WID2 line from a stream More... | |
void | defaults () |
set the values to defaults More... | |
void | setsubformat (const std::string &key) |
set subformat from key string More... | |
double | seconds () const |
provide seconds in GSE specific floating point format More... | |
void | seconds (const double &s) |
set seconds in GSE specific floating point format More... | |
Public Attributes | |
int | Fyear |
year of date More... | |
int | Fmonth |
month of date More... | |
int | Fday |
day of date More... | |
int | Fhour |
hour of time More... | |
int | Fminute |
minute of time More... | |
std::string | Fstation |
Station code. More... | |
std::string | Fchannel |
FDSN channel code. More... | |
std::string | Fauxid |
Auxiliary identification code. More... | |
Esubformat | Fsubformat |
GSE2 waveform subformat. More... | |
int | Fsamps |
number of samples More... | |
double | Fsamprate |
sampling rate (Hz) More... | |
double | Fcalib |
calibration factor More... | |
double | Fcalper |
calibration reference period More... | |
std::string | Finstype |
instrument type More... | |
double | Fhang |
horizontal orientation More... | |
double | Fvang |
veritcal orientation This field is required to obtain millisecond precision More... | |
int | Fmilsec |
Static Public Attributes | |
static const char *const | GSEID ="WID2" |
GSE line idetifier. More... | |
A class to hold and manage the WID2-line. This is a struct - because it is a simple collection of fields together with a few formatting functions.