Package propagation
Interface PropagationModel
- All Known Implementing Classes:
LogLawPropagation
,SphericalPropagation
,SurfaceEcho
public interface PropagationModel
Really simple propagation models. Basically just spreading models
since they have no knowledge of frequency dependent attenuation.
If you need frequency dependency, then also add an AttenutationModel.
- Author:
- Doug Gillespie
-
Method Summary
Modifier and TypeMethodDescriptiondouble[]
Get the time delays for each pathdouble[]
getGains()
Get the gains for each pathgetName()
int
Get the number of propagation paths that will be returnedGet a list of vectors pointing from the sound source to the receiver (or it's apparent location for surface echos).boolean
setLocations
(LatLong hydrophoneLatLong, LatLong sourceLatLong, double speedOfSound) Set the locations of hydrophone and the source
-
Method Details
-
setLocations
Set the locations of hydrophone and the source- Parameters:
hydrophoneLatLong
-sourceLatLong
-speedOfSound
- though the dialog may show a positive number for depth !- Returns:
- true if model ran OK
-
getNumPaths
int getNumPaths()Get the number of propagation paths that will be returned- Returns:
- number of paths
-
getDelays
double[] getDelays()Get the time delays for each path- Returns:
- delays in seconds
-
getPointingVectors
PamVector[] getPointingVectors()Get a list of vectors pointing from the sound source to the receiver (or it's apparent location for surface echos).- Returns:
- Vector pointing from source to receiver.
-
getGains
double[] getGains()Get the gains for each pathThese are the inverse of attenuation and are a scale factors NOT in dB so that surface reflections can be given a negative number
- Returns:
- path gains.
-
getName
String getName()- Returns:
- name
-