version
0.0.1
Defines the C++ API for MsPASS
|
Defines a time window. More...
#include <TimeWindow.h>
Public Member Functions | |
TimeWindow () | |
TimeWindow (const double ts, const double te) | |
TimeWindow (const TimeWindow &parent) | |
TimeWindow & | operator= (const TimeWindow &parent) |
TimeWindow | shift (const double tshift) const |
double | length () |
Public Attributes | |
double | start |
double | end |
Defines a time window.
Time windows are a common concept in time series analysis and seismology in particular. The object definition here has no concept of a time standard. It simply defines an interval in terms of a pair of real numbers.
|
inline |
Default constructor.
|
inline |
|
inline |
|
inline |
Returns a new time window translated by tshift argument.
double mspass::algorithms::TimeWindow::end |
End time of the window.
double mspass::algorithms::TimeWindow::start |
Start time of the window.