Class TauP_WKBJ

  • All Implemented Interfaces:
    java.util.concurrent.Callable<java.lang.Integer>

    public class TauP_WKBJ
    extends TauP_Time
    TauP_WKBJ.java
    • Constructor Detail

      • TauP_WKBJ

        public TauP_WKBJ()
    • Method Detail

      • getDeltaT

        public double getDeltaT()
        Get the value of deltaT.
        Returns:
        Value of deltaT.
      • setDeltaT

        public void setDeltaT​(double v)
        Set the value of deltaT.
        Parameters:
        v - Value to assign to deltaT.
      • packageMSeed3

        public java.util.List<edu.sc.seis.seisFile.mseed3.MSeed3Record> packageMSeed3​(float[] vertical,
                                                                                      float[] radial,
                                                                                      float[] transverse,
                                                                                      java.lang.String staCode,
                                                                                      int startSecOffset)
      • packageMSeed3

        public edu.sc.seis.seisFile.mseed3.MSeed3Record packageMSeed3​(float[] data,
                                                                      java.lang.String staCode,
                                                                      java.lang.String sourceCode,
                                                                      java.lang.String subsourceCode,
                                                                      int startSecOffset)
      • calcWKBJ

        public java.util.List<edu.sc.seis.seisFile.mseed3.MSeed3Record> calcWKBJ​(java.util.List<DistanceRay> degreesList)
                                                                          throws TauPException,
                                                                                 java.io.IOException
        Throws:
        TauPException
        java.io.IOException
      • dumbconvolve

        public static float[] dumbconvolve​(float[] a,
                                           float[] b)
      • trapazoid

        public static void trapazoid​(float[] data,
                                     float m,
                                     float rise,
                                     float dur,
                                     float deltaT)
      • secondDerivative

        public static void secondDerivative​(float[] data,
                                            float deltaT)
      • boxcar

        public static void boxcar​(float[] data,
                                  float val,
                                  float dur,
                                  float deltaT)
      • boxcarDerivative

        public static void boxcarDerivative​(float[] data,
                                            float val,
                                            float dur,
                                            float deltaT)
      • heavyside2ndDerivative

        public static void heavyside2ndDerivative​(float[] data,
                                                  float val,
                                                  float deltaT)
      • effectiveSourceTerm

        public static float[][] effectiveSourceTerm​(float momentMag,
                                                    float deltaT,
                                                    int numSamples)
      • calcThetaTimeseriesRTZ

        public static float[][] calcThetaTimeseriesRTZ​(double degrees,
                                                       java.util.List<Arrival> allArrivals,
                                                       int startTime,
                                                       double deltaT,
                                                       int numSamples)
                                                throws TauPException
        Throws:
        TauPException
      • mw_to_N_m

        public static double mw_to_N_m​(double Mw)
        Mw to Mo conversion from Lay and Wallace p. 384, I assumed that Mo is in newton meters hence multiply by 10^7 to change to dyne cm (1 Newton = 10^5 dynes and 1 m = 10^2 cm)
        Returns:
      • getOutputStream

        public java.io.DataOutputStream getOutputStream()
                                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • closeOutputStream

        public void closeOutputStream()
      • setOutputStream

        public void setOutputStream​(java.io.DataOutputStream writer)
      • setOutFile

        public void setOutFile​(java.lang.String outfile)
      • getOutFile

        public java.lang.String getOutFile()