Package propagation
Class NullAttenuationModel
java.lang.Object
propagation.NullAttenuationModel
- All Implemented Interfaces:
AttenuationModel
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble[]
attenuateWaveform
(double[] wave, double sampleRate, double distance) Attenuate a waveform using a frequency dependent attenuation model for seawater.
-
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 interfaceAttenuationModel
- Parameters:
wave
- waveform to attenuatesampleRate
- sample rate in datadistance
- distance from source to receiver.- Returns:
- attenuated waveform (can probably do it in place!)
-