Class SyntheticCodaModel
java.lang.Object
gov.llnl.gnem.apps.coda.calibration.service.impl.processing.SyntheticCodaModel
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
getDistanceFunction
(double value0, double value1, double value2, double distance) double
getPointAtTimeAndDistance
(SharedFrequencyBandParameters params, double measurementtime, double distance) Get the value of the Empirical Synthetic Envelope at a specific distance and measurement timegetSyntheticPointAtTime
(double gr, double br, double t) log10(Ac(t)) = log10(A0) -gamma(r)*log10(t) + b(r) * t * log10(e)
-
Constructor Details
-
SyntheticCodaModel
public SyntheticCodaModel()
-
-
Method Details
-
getSyntheticPointAtTime
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)
-