Class TauP_Spikes

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

    public class TauP_Spikes
    extends TauP_AbstractRayTool
    • Constructor Detail

      • TauP_Spikes

        public TauP_Spikes()
    • 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.
      • createEH

        public edu.sc.seis.seisFile.mseed3.MSeed3EH createEH​(double degrees,
                                                             java.time.ZonedDateTime startDateTime,
                                                             java.util.List<Arrival> allArrivals)
                                                      throws TauPException
        Throws:
        TauPException
      • 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
        WARNING: Experimental. Probably doesn't work due to wkbj formalism is flat earth and so doesn't translate to spherical. Possible to recalculate via EFT, but not sure worth it.
        Throws:
        TauPException
      • 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
      • getOutputStream

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

        public java.time.ZonedDateTime getOriginTime()