Package propagation

Class NullAttenuationModel

java.lang.Object
propagation.NullAttenuationModel
All Implemented Interfaces:
AttenuationModel

public class NullAttenuationModel extends Object implements AttenuationModel
  • Constructor Details

    • NullAttenuationModel

      public NullAttenuationModel()
  • Method Details

    • attenuateWaveform

      public double[] attenuateWaveform(double[] wave, double sampleRate, double distance)
      Description copied from interface: AttenuationModel
      Attenuate a waveform using a frequency dependent attenuation model for seawater.
      Specified by:
      attenuateWaveform in interface AttenuationModel
      Parameters:
      wave - waveform to attenuate
      sampleRate - sample rate in data
      distance - distance from source to receiver.
      Returns:
      attenuated waveform (can probably do it in place!)