37 #ifndef DATRW_SEIFEIO_H_VERSION 39 #define DATRW_SEIFEIO_H_VERSION \ 40 "DATRW_SEIFEIO_H V1.0 " 46 #include<aff/series.h> 84 void set(
const std::string&
line);
86 std::string
line()
const;
96 double dt()
const {
return Mdt; }
98 libtime::TRelativeTime
time()
const {
return Mtime; }
145 void read(std::istream& is);
147 void write(std::ostream& os)
const;
149 void set(const ::sff::FREE& free) {
Mfree=free; }
175 void write_series(std::ostream& os,
const Tseries::Tcoc& s);
181 #endif // DATRW_SEIFEIO_H_VERSION (includeguard) seife format header parameter line
unsigned int Mnsamples
number of samples
const unsigned int seife_standard_columns
libtime::TRelativeTime time() const
return time of first sample as offset from midnight
aff::Series< Tsample > Tseries
standard time series type
unsigned int nsamples() const
return number of samples
const char *const seife_standard_format
void nsamples(const unsigned int &n)
return number of samples
const unsigned int seife_standard_width
ParameterLine(const std::string &line, const bool &debug=false)
create header from string
bool Mdebug
request debug output
const unsigned int seife_standard_precision
Root namespace of library.
void write_series(std::ostream &os, const Tseries::Tcoc &s)
write samples to file
std::string format() const
return Fortran data format
void time(const libtime::TRelativeTime &t)
return time of first sample as offset from midnight
double dt() const
return sumpling interval
void format(const std::string &f)
return Fortran data format
std::string Mformat
Fortran data format.
double Mdt
sampling interval
libtime::TRelativeTime Mtime
time of first sample
void dt(const double &d)
return sumpling interval
ParameterLine()
default constructor
double Tsample
standard sample type
std::string line() const
create line for output from values