A class for signal processing.
More...
|
static int | SmoothSpline (int aDegree, double aDeltaT, double aCutOffFrequency, int aN, double *aTimes, double *aSignal, double *rFilteredSignal) |
|
static int | LowpassIIR (double aDeltaT, double aCutOffFrequency, int aN, const double *aSignal, double *rFilteredSignal) |
|
static int | LowpassFIR (int aOrder, double aDeltaT, double aCutoffFrequency, int aN, double *aSignal, double *rFilteredSignal) |
|
static int | BandpassFIR (int aOrder, double aDeltaT, double aLowFrequency, double aHighFrequency, int aN, double *aSignal, double *aFilteredSignal) |
|
static std::vector< double > | Pad (int aPad, int aN, const double aSignal[]) |
| Pad a signal with a specified number of data points. More...
|
|
static void | Pad (int aPad, OpenSim::Array< double > &aSignal) |
|
static int | ReduceNumberOfPoints (double aDistance, Array< double > &rTime, Array< double > &rSignal) |
|
static double | sinc (double x) |
|
static double | hamming (int k, int M) |
|
A class for signal processing.
◆ BandpassFIR()
static int OpenSim::Signal::BandpassFIR |
( |
int |
aOrder, |
|
|
double |
aDeltaT, |
|
|
double |
aLowFrequency, |
|
|
double |
aHighFrequency, |
|
|
int |
aN, |
|
|
double * |
aSignal, |
|
|
double * |
aFilteredSignal |
|
) |
| |
|
static |
◆ hamming()
static double OpenSim::Signal::hamming |
( |
int |
k, |
|
|
int |
M |
|
) |
| |
|
static |
◆ LowpassFIR()
static int OpenSim::Signal::LowpassFIR |
( |
int |
aOrder, |
|
|
double |
aDeltaT, |
|
|
double |
aCutoffFrequency, |
|
|
int |
aN, |
|
|
double * |
aSignal, |
|
|
double * |
rFilteredSignal |
|
) |
| |
|
static |
◆ LowpassIIR()
static int OpenSim::Signal::LowpassIIR |
( |
double |
aDeltaT, |
|
|
double |
aCutOffFrequency, |
|
|
int |
aN, |
|
|
const double * |
aSignal, |
|
|
double * |
rFilteredSignal |
|
) |
| |
|
static |
◆ Pad() [1/2]
static std::vector< double > OpenSim::Signal::Pad |
( |
int |
aPad, |
|
|
int |
aN, |
|
|
const double |
aSignal[] |
|
) |
| |
|
static |
Pad a signal with a specified number of data points.
The signal is prepended and appended with a reflected and negated portion of the signal of the appropriate size so as to preserve the value and slope of the signal.
- Parameters
-
aPad | Size of the pad– number of points to prepend and append. |
aN | Number of data points in the signal. |
aSignal | Signal to be padded. |
- Returns
- Padded signal. The size is aN + 2*aPad.
◆ Pad() [2/2]
static void OpenSim::Signal::Pad |
( |
int |
aPad, |
|
|
OpenSim::Array< double > & |
aSignal |
|
) |
| |
|
static |
◆ ReduceNumberOfPoints()
static int OpenSim::Signal::ReduceNumberOfPoints |
( |
double |
aDistance, |
|
|
Array< double > & |
rTime, |
|
|
Array< double > & |
rSignal |
|
) |
| |
|
static |
◆ sinc()
static double OpenSim::Signal::sinc |
( |
double |
x | ) |
|
|
static |
◆ SmoothSpline()
static int OpenSim::Signal::SmoothSpline |
( |
int |
aDegree, |
|
|
double |
aDeltaT, |
|
|
double |
aCutOffFrequency, |
|
|
int |
aN, |
|
|
double * |
aTimes, |
|
|
double * |
aSignal, |
|
|
double * |
rFilteredSignal |
|
) |
| |
|
static |
The documentation for this class was generated from the following file: