Enum Class ScaleCoefficients

java.lang.Object
java.lang.Enum<ScaleCoefficients>
de.labAlive.system.siso.fir.ScaleCoefficients
All Implemented Interfaces:
Serializable, Comparable<ScaleCoefficients>, Constable

public enum ScaleCoefficients extends Enum<ScaleCoefficients>
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);
  • Enum Constant Details

    • NONE

      public static final ScaleCoefficients NONE
      No scaling/normalization of the coefficients is applied. They are taken as natively initialized in the filter's code.
    • IMPULSE_RESPONSE_PEAK_1

      public static final ScaleCoefficients 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

      public static final ScaleCoefficients 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

      public static final ScaleCoefficients IMPULSE_RESPONSE_ENERGY
      The resulting impulse response energy is set to specific value. Used for digital transmission.
    • EQUAL_POWER_WHITE_NOISE

      public static final ScaleCoefficients 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

      public static ScaleCoefficients[] 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

      public static ScaleCoefficients valueOf(String name)
      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 name
      NullPointerException - if the argument is null