Package propagation
Class SurfaceEcho
java.lang.Object
propagation.SurfaceEcho
- All Implemented Interfaces:
PropagationModel
-
Constructor Summary
-
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 sourcetoString()
-
Constructor Details
-
SurfaceEcho
-
-
Method Details
-
setLocations
Description copied from interface:PropagationModel
Set the locations of hydrophone and the source- Specified by:
setLocations
in interfacePropagationModel
- Parameters:
speedOfSound
- though the dialog may show a positive number for depth !- Returns:
- true if model ran OK
-
getDelays
public double[] getDelays()Description copied from interface:PropagationModel
Get the time delays for each path- Specified by:
getDelays
in interfacePropagationModel
- Returns:
- delays in seconds
-
getGains
public double[] getGains()Description copied from interface:PropagationModel
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
- Specified by:
getGains
in interfacePropagationModel
- Returns:
- path gains.
-
getNumPaths
public int getNumPaths()Description copied from interface:PropagationModel
Get the number of propagation paths that will be returned- Specified by:
getNumPaths
in interfacePropagationModel
- Returns:
- number of paths
-
getName
- Specified by:
getName
in interfacePropagationModel
- Returns:
- name
-
toString
-
getPointingVectors
Description copied from interface:PropagationModel
Get a list of vectors pointing from the sound source to the receiver (or it's apparent location for surface echos).- Specified by:
getPointingVectors
in interfacePropagationModel
- Returns:
- Vector pointing from source to receiver.
-