Package propagation

Interface AttenuationModel

All Known Implementing Classes:
FrequencyAttenutationModel, NullAttenuationModel

public interface AttenuationModel
Attenuation model. Does not do anything in terms of spreading, just handles frequency dependent attenuation.
Author:
Doug
  • Method Summary

    Modifier and Type
    Method
    Description
    double[]
    attenuateWaveform(double[] wave, double sampleRate, double distance)
    Attenuate a waveform using a frequency dependent attenuation model for seawater.
  • Method Details

    • attenuateWaveform

      double[] attenuateWaveform(double[] wave, double sampleRate, double distance)
      Attenuate a waveform using a frequency dependent attenuation model for seawater.
      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!)