Package Filters
Class NullMethod
java.lang.Object
Filters.FilterMethod
Filters.NullMethod
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateFilter
(int channel) double
getFilterGain
(double omega) Get the filter gain at an angular frequency (o invalid input: '<' omega invalid input: '<' pi).double
double
getFilterPhase
(double omega) Get the filter phase at an angular frequency (o invalid input: '<' omega invalid input: '<' pi).Methods inherited from class Filters.FilterMethod
createFilterMethod, getFastFilterCoefficients, getFilterParams, getSampleRate, setFilterParams, setSampleRate
-
Constructor Details
-
NullMethod
-
-
Method Details
-
createFilter
- Specified by:
createFilter
in classFilterMethod
- Parameters:
channel
- channel number (used in filter book keeping)- Returns:
- Create a filter object - which can actually do some filtering for us. Note that a filterMethod object may be asked to create multiple filters for multi-channel systems.
-
getFilterGain
public double getFilterGain(double omega) Description copied from class:FilterMethod
Get the filter gain at an angular frequency (o invalid input: '<' omega invalid input: '<' pi).- Specified by:
getFilterGain
in classFilterMethod
- Parameters:
omega
- angular frequency- Returns:
- gain
-
getFilterGainConstant
public double getFilterGainConstant()- Specified by:
getFilterGainConstant
in classFilterMethod
- Returns:
- any additional gain constant (needed for IIRF's)
-
getFilterPhase
public double getFilterPhase(double omega) Description copied from class:FilterMethod
Get the filter phase at an angular frequency (o invalid input: '<' omega invalid input: '<' pi).- Specified by:
getFilterPhase
in classFilterMethod
- Parameters:
omega
- angular frequency- Returns:
- phase
-