Package fftManager

Class ClickRemoval

java.lang.Object
fftManager.ClickRemoval

public class ClickRemoval extends Object
Function to remove clicks from blocks of data. Can operate on an existing array or create a new one depending on which function is called.
Author:
Doug Gillespie
  • Field Details Link icon

  • Constructor Details Link icon

    • ClickRemoval Link icon

      public ClickRemoval()
  • Method Details Link icon

    • removeClickInPlace Link icon

      public void removeClickInPlace(double[] waveData, double threshold, double power)
      Writes over existing data.
      Parameters:
      waveData -
    • removeClicks Link icon

      public double[] removeClicks(double[] waveData, double threshold, double power)
      Leaves existing data alone and creates new array.
      Parameters:
      waveData -
      Returns:
      new array of wave data
    • removeClicks Link icon

      public double[] removeClicks(double[] sourceData, double[] newData, double threshold, double power)
      Perform click removal.
      Parameters:
      sourceData - input data array
      newData - output data array
      threshold - threshold for removal (5 is a good value)
      power - removal power (6 is a good value)