Package propagation

Interface PropagationModel

All Known Implementing Classes:
LogLawPropagation, SphericalPropagation, SurfaceEcho

public interface PropagationModel
Really simple propagation models. Basically just spreading models since they have no knowledge of frequency dependent attenuation. If you need frequency dependency, then also add an AttenutationModel.
Author:
Doug Gillespie
  • Method Summary

    Modifier and Type
    Method
    Description
    double[]
    Get the time delays for each path
    double[]
    Get the gains for each path
     
    int
    Get the number of propagation paths that will be returned
    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, LatLong sourceLatLong, double speedOfSound)
    Set the locations of hydrophone and the source
  • Method Details

    • setLocations

      boolean setLocations(LatLong hydrophoneLatLong, LatLong sourceLatLong, double speedOfSound)
      Set the locations of hydrophone and the source
      Parameters:
      hydrophoneLatLong -
      sourceLatLong -
      speedOfSound - though the dialog may show a positive number for depth !
      Returns:
      true if model ran OK
    • getNumPaths

      int getNumPaths()
      Get the number of propagation paths that will be returned
      Returns:
      number of paths
    • getDelays

      double[] getDelays()
      Get the time delays for each path
      Returns:
      delays in seconds
    • getPointingVectors

      PamVector[] getPointingVectors()
      Get a list of vectors pointing from the sound source to the receiver (or it's apparent location for surface echos).
      Returns:
      Vector pointing from source to receiver.
    • getGains

      double[] getGains()
      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

      Returns:
      path gains.
    • getName

      String getName()
      Returns:
      name