Class HighPassFilter

java.lang.Object
com.stuypulse.stuylib.streams.numbers.filters.HighPassFilter
All Implemented Interfaces:
IFilter

public class HighPassFilter extends Object implements IFilter
Implementation for of a real time IIR HighPassFilter
  • Constructor Details

    • HighPassFilter

      public HighPassFilter(Number rc)
      Parameters:
      rc - time constant for high pass filter
  • Method Details

    • get

      public double get(double next)
      Description copied from interface: IFilter
      Get next value in Filter based on the next value given
      Specified by:
      get in interface IFilter
      Parameters:
      next - next input value in the stream
      Returns:
      the output value of the filter