|
MsPASS C++ API
2.4.1.dev4+g92330b7a
Defines the C++ API for MsPASS
|
Abstract base class for taper operators. More...
#include <Taper.h>

Public Member Functions | |
| BasicTaper () | |
| virtual | ~BasicTaper () |
| virtual int | apply (mspass::seismic::TimeSeries &d)=0 |
| virtual int | apply (mspass::seismic::Seismogram &d)=0 |
| void | enable_head () |
| void | disable_head () |
| void | enable_tail () |
| void | disable_tail () |
| bool | head_is_enabled () |
| bool | tail_is_enable () |
| virtual double | get_t0head () const =0 |
| virtual double | get_t1head () const =0 |
Protected Attributes | |
| bool | head |
| bool | tail |
| bool | all |
Friends | |
| class | boost::serialization::access |
Abstract base class for taper operators.
Derived tapers apply amplitude weights to the head, tail, or full span of scalar and three-component seismic data.
|
inline |
Construct a taper with all regions disabled.
|
inlinevirtual |
Virtual destructor for derived taper operators.
|
pure virtual |
Apply this taper to a three-component Seismogram.
Implemented in mspass::algorithms::LinearTaper, mspass::algorithms::CosineTaper, and mspass::algorithms::VectorTaper.
|
pure virtual |
Apply this taper to a scalar TimeSeries.
Implemented in mspass::algorithms::LinearTaper, mspass::algorithms::CosineTaper, and mspass::algorithms::VectorTaper.
|
inline |
|
inline |
|
inline |
|
inline |
|
pure virtual |
Return the start time of the head taper.
Implemented in mspass::algorithms::LinearTaper, mspass::algorithms::CosineTaper, and mspass::algorithms::VectorTaper.
|
pure virtual |
Return the end time of the head taper.
Implemented in mspass::algorithms::LinearTaper, mspass::algorithms::CosineTaper, and mspass::algorithms::VectorTaper.
|
inline |
|
inline |
|
protected |
True when the whole datum is tapered by one vector.
|
protected |
True when head tapering is enabled.
|
protected |
True when tail tapering is enabled.