java.lang.Object
gov.llnl.gnem.apps.coda.calibration.service.impl.processing.SyntheticCodaModel

@Component public class SyntheticCodaModel extends Object
  • Constructor Details

    • SyntheticCodaModel

      public SyntheticCodaModel()
  • Method Details

    • getSyntheticPointAtTime

      public Double getSyntheticPointAtTime(double gr, double br, double t)
      log10(Ac(t)) = log10(A0) -gamma(r)*log10(t) + b(r) * t * log10(e)
      Parameters:
      gr - - the gamma(r) term: g(r) = g0 - g1/(g2+dist)
      br - - the b(r) term: b0 - b1/(b2+dist)
      t - - time in seconds from the phase start time
      Returns:
      log10(Amplitude) Note this method returns a point on the synthetic envelope to recover the full envelope use: for (ii = 1; ii < npts; ii++){ t = tstart + ii*dt; log10Ac(ii) = getSyntheticPointAtTime(gr,br,t); }
    • getDistanceFunction

      public double getDistanceFunction(double value0, double value1, double value2, double distance)
    • getPointAtTimeAndDistance

      public double getPointAtTimeAndDistance(SharedFrequencyBandParameters params, double measurementtime, double distance)
      Get the value of the Empirical Synthetic Envelope at a specific distance and measurement time
      Parameters:
      params - - a SharedFrequencyBandParameters containing the required v0,v1,v2, g0,g1,g2 and b0,b1,b2 values
      distance - - the source-receiver distance in kilometers
      measurementtime - - the time in seconds after the start of the coda
      Returns:
      the amplitude value at that point