hmi.math.digitalfilter
Class Butterworth
java.lang.Object
hmi.math.digitalfilter.Butterworth
public final class Butterworth
- extends Object
Butterworth digital low-pass filter
- Author:
- Herwin van Welbergen
|
Method Summary |
static void |
butterworth(float[] fin,
float fc,
float fs,
int pass,
float[] fout)
Butterworth-filters the data |
static void |
butterworth(float[] fin,
float fc,
float fs,
int pass,
int width,
float[] fout)
Butterworth-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 |
Butterworth
private Butterworth()
butterworth
public static void butterworth(float[] fin,
float fc,
float fs,
int pass,
float[] fout)
- Butterworth-filters the data
- Parameters:
fin - input datafc - cutt-off frequencyfs - sample frequencypass - pass nrfout - output data
butterworth
public static void butterworth(float[] fin,
float fc,
float fs,
int pass,
int width,
float[] fout)
- Butterworth-filters the data, assumes the input is aligned in blocks of width floats
- Parameters:
fin - input datafc - cutt-off frequencyfs - sample frequencypass - pass nrwidth - block sizesfout - output data