propagation
Class SurfaceEcho

java.lang.Object
  extended by propagation.SurfaceEcho
All Implemented Interfaces:
PropagationModel

public class SurfaceEcho
extends java.lang.Object
implements PropagationModel


Field Summary
private  PropagationModel basePropagation
           
private  double[] delays2
           
private  double[] gains2
           
 
Constructor Summary
SurfaceEcho(PropagationModel basePropagation)
           
 
Method Summary
 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
 boolean setLocations(LatLong hydrophoneLatLong, double hydrophoneDepth, LatLong sourceLatLong, double sourceDepth)
          Set the locations of hydrophone and the source
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

basePropagation

private PropagationModel basePropagation

delays2

private double[] delays2

gains2

private double[] gains2
Constructor Detail

SurfaceEcho

public SurfaceEcho(PropagationModel basePropagation)
Method Detail

setLocations

public boolean setLocations(LatLong hydrophoneLatLong,
                            double hydrophoneDepth,
                            LatLong sourceLatLong,
                            double sourceDepth)
Description copied from interface: PropagationModel
Set the locations of hydrophone and the source

Specified by:
setLocations in interface PropagationModel
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 interface PropagationModel
Returns:
delays in seconds

getGains

public double[] getGains()
Description copied from interface: PropagationModel
Get the gains for each path

These 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 interface PropagationModel
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 interface PropagationModel
Returns:
number of paths

getName

public java.lang.String getName()
Specified by:
getName in interface PropagationModel
Returns:
name

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object