propagation
Class SphericalPropagation
java.lang.Object
propagation.SphericalPropagation
- All Implemented Interfaces:
- PropagationModel
public class SphericalPropagation
- extends java.lang.Object
- implements PropagationModel
|
Field Summary |
private double[] |
delays
|
private double[] |
gains
|
|
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 |
delays
private double[] delays
gains
private double[] gains
SphericalPropagation
public SphericalPropagation()
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
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
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