public class SurfaceEcho extends java.lang.Object implements PropagationModel
Constructor and Description |
---|
SurfaceEcho(PropagationModel basePropagation) |
Modifier and Type | Method and Description |
---|---|
double[] |
getDelays()
Get the time delays for each path
|
double[] |
getGains()
Get the gains for each path
|
java.lang.String |
getName() |
int |
getNumPaths()
Get the number of propagation paths that will be returned
|
PamVector[] |
getPointingVectors()
Get a list of vectors pointing from the sound source
to the receiver (or it's apparent location for
surface echos).
|
boolean |
setLocations(LatLong hydrophoneLatLong,
double hydrophoneHeight,
LatLong sourceLatLong,
double sourceHeight,
double speedOfSound)
Set the locations of hydrophone and the source
|
java.lang.String |
toString() |
public SurfaceEcho(PropagationModel basePropagation)
public boolean setLocations(LatLong hydrophoneLatLong, double hydrophoneHeight, LatLong sourceLatLong, double sourceHeight, double speedOfSound)
PropagationModel
setLocations
in interface PropagationModel
sourceHeight
- - i.e. normally this will be negative within the code even
though the dialog may show a positive number for depth !public double[] getDelays()
PropagationModel
getDelays
in interface PropagationModel
public double[] getGains()
PropagationModel
These are the inverse of attenuation and are a scale factors NOT in dB so that surface reflections can be given a negative number
getGains
in interface PropagationModel
public int getNumPaths()
PropagationModel
getNumPaths
in interface PropagationModel
public java.lang.String getName()
getName
in interface PropagationModel
public java.lang.String toString()
toString
in class java.lang.Object
public PamVector[] getPointingVectors()
PropagationModel
getPointingVectors
in interface PropagationModel