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 TypeMethodDescriptiondouble[]
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 attenuatesampleRate
- sample rate in datadistance
- distance from source to receiver.- Returns:
- attenuated waveform (can probably do it in place!)
-