Package propagation
Class FrequencyAttenutationModel
java.lang.Object
propagation.FrequencyAttenutationModel
- 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
-
FrequencyAttenutationModel
public FrequencyAttenutationModel()
-
-
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!)
-