|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.webkitchen.eeg.analysis.filterdesign.FilterDesigner
public class FilterDesigner
Creates IIRFilters designed according to the algorithm
and type provided in FilterSpecification objects.
IIRFilter, first create a FilterSpecification
object which defines the filter specification. Then pass the FilterSpecification
to the FilterDesigner's createFilter method.
This is based on Jim Peters' "Fidlib" digital filter designer code, which is
based, in part, on Tony Fisher's "mkfilter" package.
Original source code and information on Jim Peters' Fidlib can be found at:
FilterSpecification,
FilterAlgorithm,
FilterRange,
IIRFilter| Constructor Summary | |
|---|---|
FilterDesigner()
|
|
| Method Summary | |
|---|---|
double[] |
createCoefficients(FilterSpecification spec)
Returns an array of filter coefficients. |
IIRFilter |
createFilter(FilterSpecification spec)
Returns a new IIRFilter designed according to the
specification provided in the FilterSpecification object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FilterDesigner()
| Method Detail |
|---|
public IIRFilter createFilter(FilterSpecification spec)
IIRFilter designed according to the
specification provided in the FilterSpecification object
spec - the filter specifications
FilterDesignException - if any error occurs during the filter design
- Errors will likely be due to invalid FilterSpecification settingspublic double[] createCoefficients(FilterSpecification spec)
IIRFilters in an efficient manner.
Create an array of coefficients, then create multiple IIRFilters
by passing in copies of the coefficients and the FilterSpecification
spec - the filter specifications
IIRFilter
FilterDesignException - if any error occurs during the filter design
- Errors will likely be due to invalid FilterSpecification settings
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||