Package de.labAlive.system.siso.fir
Enum Class ScaleCoefficients
- All Implemented Interfaces:
Serializable
,Comparable<ScaleCoefficients>
,Constable
Scale FIR filter coefficients.
The FIR filter coefficients are scaled so that its gain meets a certain criteria...
Former Normalization.
Note that the raw FIR coefficients must be divided by sampling time to get the for impulse response.
see impulseResponse = times(impulseResponse, samplingTime);
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionWhite noise power invariant.The resulting impulse response energy is set to specific value.Impulse response peak value is 1Hz.No scaling/normalization of the coefficients is applied.Filter gain of 0dB at passband frequency. -
Method Summary
Modifier and TypeMethodDescriptionstatic ScaleCoefficients
Returns the enum constant of this class with the specified name.static ScaleCoefficients[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
NONE
No scaling/normalization of the coefficients is applied. They are taken as natively initialized in the filter's code. -
IMPULSE_RESPONSE_PEAK_1
Impulse response peak value is 1Hz. Maximum output value is 1V when fed with a 1Vs dirac delta. -
PASSBAND_GAIN_0DB
Filter gain of 0dB at passband frequency. Transfer function has value 1 at passband frequency. Should be default for all lowpass filters. Former LOWPASS_SPECTRUM. -
IMPULSE_RESPONSE_ENERGY
The resulting impulse response energy is set to specific value. Used for digital transmission. -
EQUAL_POWER_WHITE_NOISE
White noise power invariant. The output power is the input power in the case of white noise. Input white noise yields to equal output power.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-