hmi.math.digitalfilter
Class Winters
java.lang.Object
hmi.math.digitalfilter.Winters
public final class Winters
- extends Object
Winter's low-pass filter. This is a 2-pass Butterworth filter, in which the second 'backward' pass
corrects the phase-lag introduced by 1-pass Butterworth filtering.
Implementation from:
Winter, David A., Biomechanics and Motor Control of Human Movement, Wiley, 2004
- Author:
- Herwin van Welbergen
|
Constructor Summary |
private |
Winters()
|
|
Method Summary |
private static void |
reverse(float[] b)
|
private static void |
reverse(float[] b,
int width)
|
static void |
winters(float[] fin,
float fc,
float fs,
float[] fout)
Winters-filters the data |
static void |
winters(float[] fin,
float fc,
float fs,
int width,
float[] fout)
Winters-filters the data, assumes the input is aligned in blocks of width floats |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Winters
private Winters()
reverse
private static void reverse(float[] b)
reverse
private static void reverse(float[] b,
int width)
winters
public static void winters(float[] fin,
float fc,
float fs,
int width,
float[] fout)
- Winters-filters the data, assumes the input is aligned in blocks of width floats
- Parameters:
fin - input datafc - cutt-off frequencyfs - sample frequencywidth - the block widthfout - output data
winters
public static void winters(float[] fin,
float fc,
float fs,
float[] fout)
- Winters-filters the data
- Parameters:
fin - input datafc - cutt-off frequencyfs - sample frequencyfout - output data