Package propagation
Class LogLawPropagation
java.lang.Object
propagation.LogLawPropagation
- All Implemented Interfaces:
 PropagationModel
- Direct Known Subclasses:
 SphericalPropagation
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptiondoubledouble[]Get the time delays for each pathdouble[]getGains()Get the gains for each pathgetName()intGet 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).voidsetAttenuationRate(double attenuationRate) booleansetLocations(LatLong hydrophoneLatLong, LatLong sourceLatLong, double speedOfSound) Set the locations of hydrophone and the sourcetoString() 
- 
Constructor Details
- 
LogLawPropagation
public LogLawPropagation(double attenuationRate)  
 - 
 - 
Method Details
- 
getDelays
public double[] getDelays()Description copied from interface:PropagationModelGet the time delays for each path- Specified by:
 getDelaysin interfacePropagationModel- Returns:
 - delays in seconds
 
 - 
getGains
public double[] getGains()Description copied from interface:PropagationModelGet 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:
 getGainsin interfacePropagationModel- Returns:
 - path gains.
 
 - 
getNumPaths
public int getNumPaths()Description copied from interface:PropagationModelGet the number of propagation paths that will be returned- Specified by:
 getNumPathsin interfacePropagationModel- Returns:
 - number of paths
 
 - 
setLocations
Description copied from interface:PropagationModelSet the locations of hydrophone and the source- Specified by:
 setLocationsin interfacePropagationModel- Parameters:
 hydrophoneLatLong-sourceLatLong-speedOfSound- though the dialog may show a positive number for depth !- Returns:
 - true if model ran OK
 
 - 
getName
- Specified by:
 getNamein interfacePropagationModel- Returns:
 - name
 
 - 
toString
 - 
getPointingVectors
Description copied from interface:PropagationModelGet a list of vectors pointing from the sound source to the receiver (or it's apparent location for surface echos).- Specified by:
 getPointingVectorsin interfacePropagationModel- Returns:
 - Vector pointing from source to receiver.
 
 - 
getAttenuationRate
public double getAttenuationRate() - 
setAttenuationRate
public void setAttenuationRate(double attenuationRate)  
 -