version  0.0.1
Defines the C++ API for MsPASS
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | Friends | List of all members
mspass::algorithms::BasicTaper Class Referenceabstract
Inheritance diagram for mspass::algorithms::BasicTaper:
mspass::algorithms::CosineTaper mspass::algorithms::LinearTaper mspass::algorithms::VectorTaper

Public Member Functions

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
 

Constructor & Destructor Documentation

◆ BasicTaper()

mspass::algorithms::BasicTaper::BasicTaper ( )
inline
20 {
21 head = false;
22 tail = false;
23 all = false;
24 };

◆ ~BasicTaper()

virtual mspass::algorithms::BasicTaper::~BasicTaper ( )
inlinevirtual
25{};

Member Function Documentation

◆ disable_head()

void mspass::algorithms::BasicTaper::disable_head ( )
inline
29 {
30 head = false;
31 all = false;
32 };

◆ disable_tail()

void mspass::algorithms::BasicTaper::disable_tail ( )
inline
34 {
35 tail = false;
36 all = false;
37 };

◆ enable_head()

void mspass::algorithms::BasicTaper::enable_head ( )
inline
28{ head = true; };

◆ enable_tail()

void mspass::algorithms::BasicTaper::enable_tail ( )
inline
33{ tail = true; };

◆ head_is_enabled()

bool mspass::algorithms::BasicTaper::head_is_enabled ( )
inline
38 {
39 if (head || all) {
40 return true;
41 }
42 return false;
43 };

◆ tail_is_enable()

bool mspass::algorithms::BasicTaper::tail_is_enable ( )
inline
44 {
45 if (tail || all) {
46 return true;
47 }
48 return false;
49 };

The documentation for this class was generated from the following file: