#include <FIRDifferentiator5thOrder.hpp>
Inheritance diagram for FIRDifferentiator5thOrder:


Further information about this filter and its use in GNSS may be found at:
Kennedy, S. L. (2002) Acceleration Estimation from GPS Carrier Phases for Airborne Gravimetry. Master’s thesis, University of Calgary. URL http://www.geomatics.ucalgary.ca/
This filter shows constant, linear phase response over the passband. It is very important to note that the CURRENT derivative corresponds to FIVE EPOCHS BEFORE.
A typical way to use this class follows:
// Set up function parameters const double Tf(15.0); // Function period const double omega( TWO_PI/Tf ); // Set filter parameters const double Ts(0.1); // Sampling period // Declare and configure an FIRDifferentiator5thOrder object FIRDifferentiator5thOrder firDiff( Ts ); // Let's iterate and print function values and derivatives for(int i = 0; i < 200; ++i) { double t( static_cast<double>(i*Ts) ); double y( sin(omega*t) ); // Function is sine double dy( omega*cos(omega*t) ); // Sine derivative double dy2( firDiff.Compute(y) ); // Print results cout << t << " " << y << " " << dy << " " << dy2 << endl; }
Definition at line 99 of file FIRDifferentiator5thOrder.hpp.
Public Member Functions | |
| FIRDifferentiator5thOrder () | |
| Default constructor. | |
| FIRDifferentiator5thOrder (double period) | |
| Common constructor. | |
| virtual double | Compute (double input) |
| Return result. | |
| virtual void | Reset (void) |
| Resets filter, cleaning its internal state. | |
| virtual double | getT (void) const |
| Get the sampling period, in seconds. | |
| virtual FIRDifferentiator5thOrder & | setT (double period) |
| Set the sampling period, in seconds. | |
| virtual | ~FIRDifferentiator5thOrder () |
| Destructor. | |
|
|
Default constructor.
Definition at line 105 of file FIRDifferentiator5thOrder.hpp. |
|
|
Common constructor.
Definition at line 114 of file FIRDifferentiator5thOrder.hpp. |
|
|
Destructor.
Definition at line 147 of file FIRDifferentiator5thOrder.hpp. |
|
|
Return result.
Implements FilterBase. Definition at line 43 of file FIRDifferentiator5thOrder.cpp. |
|
|
Get the sampling period, in seconds.
Definition at line 130 of file FIRDifferentiator5thOrder.hpp. |
|
|
Resets filter, cleaning its internal state.
Implements FilterBase. Definition at line 84 of file FIRDifferentiator5thOrder.cpp. Referenced by FIRDifferentiator5thOrder::setT(). |
|
|
Set the sampling period, in seconds.
Definition at line 108 of file FIRDifferentiator5thOrder.cpp. References FIRDifferentiator5thOrder::Reset(). |
1.3.9.1