Interface SeismicPhase

    • Method Detail

      • getEarliestArrival

        static Arrival getEarliestArrival​(java.util.List<SeismicPhase> phases,
                                          double degrees)
      • phasesExistsInModel

        boolean phasesExistsInModel()
      • getEarliestArrival

        Arrival getEarliestArrival​(double degrees)
      • getMinDistanceDeg

        double getMinDistanceDeg()
      • getMinDistance

        double getMinDistance()
      • getMaxDistanceDeg

        double getMaxDistanceDeg()
      • getMaxDistance

        double getMaxDistance()
      • getMaxRayParam

        double getMaxRayParam()
      • getMinRayParam

        double getMinRayParam()
      • getMaxRayParamIndex

        int getMaxRayParamIndex()
      • getMinRayParamIndex

        int getMinRayParamIndex()
      • getMinTime

        double getMinTime()
      • getMaxTime

        double getMaxTime()
      • getName

        java.lang.String getName()
      • getPuristName

        java.lang.String getPuristName()
      • getSourceDepth

        double getSourceDepth()
      • getReceiverDepth

        double getReceiverDepth()
      • countFlatLegs

        int countFlatLegs()
      • getRayParams

        double getRayParams​(int i)
      • getRayParams

        double[] getRayParams()
      • getDist

        double getDist​(int i)
      • getDist

        double[] getDist()
      • getTime

        double getTime​(int i)
      • getTime

        double[] getTime()
      • getTau

        double getTau​(int i)
      • getTau

        double[] getTau()
      • hasArrivals

        boolean hasArrivals()
      • distanceTrim180

        static double distanceTrim180​(double deg)
      • calcTime

        java.util.List<Arrival> calcTime​(double deg)
      • createArrivalAtIndex

        Arrival createArrivalAtIndex​(int rayNum)
        Creates an Arrival for a sampled ray parameter from the model. No interpolation between rays as this is a sample.
        Parameters:
        rayNum - index in ray parameters
      • isAllPWave

        boolean isAllPWave()
        True is all segments of this path are only P waves.
      • isAllSWave

        boolean isAllSWave()
        True is all segments of this path are only S waves.
      • velocityAtSource

        double velocityAtSource()
      • velocityAtReceiver

        double velocityAtReceiver()
      • densityAtReceiver

        double densityAtReceiver()
      • calcTakeoffAngle

        double calcTakeoffAngle​(double arrivalRayParam)
      • calcIncidentAngle

        double calcIncidentAngle​(double arrivalRayParam)
      • sourceSegmentIsPWave

        boolean sourceSegmentIsPWave()
        True if the initial leg, leaving the source, wavetype is a P wave, false if an S wave.
      • finalSegmentIsPWave

        boolean finalSegmentIsPWave()
        True if the final, incident, wavetype is a P wave, false if an S wave.
      • describe

        java.lang.String describe()
      • describeJson

        java.lang.String describeJson()
      • toString

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

        void dump()
      • calcPierceTimeDist

        java.util.List<TimeDist> calcPierceTimeDist​(Arrival arrival)
      • splitForRepeatRayParam

        static java.util.List<double[]> splitForRepeatRayParam​(double[] rayParams,
                                                               double[] values)
        Split calculated array into segments for repeated ray parameter values, which indicate a discontinuity in the calculations usually due to low velocity zone.
        Parameters:
        rayParams - ray parameter array for phase
        values - derived array, such as distance, time, tau, etc.
        Returns:
        list of arrays for each contiguous segment
      • baseDescribe

        static java.lang.String baseDescribe​(SeismicPhase phase)
      • baseDescribeJSON

        static java.lang.String baseDescribeJSON​(SeismicPhase phase)
      • segmentDescribe

        static java.lang.String segmentDescribe​(SeismicPhase phase)
      • segmentDescribeJSON

        static java.lang.String segmentDescribeJSON​(SeismicPhase phase)
      • getNumRays

        int getNumRays()