estimateTime0 | R Documentation |
estimateTime0
estimates for each trace individually the first wave
break, computes the corresponding time-zero knowing the propagation speed
of the electromagnetic wave through air and returns an object of the class
GPR
with updated time-zero. It is possible to apply a function
provided by the user (e.g., FUN
) on time-zero (e.g., to set time-zero
equal to the average value of the time-zeros computed for every traces; in
this case, all traces would have the same time-zero).
## S4 method for signature 'GPR'
estimateTime0(
x,
method = c("coppens", "threshold", "MER"),
thr = NULL,
w = NULL,
ns = NULL,
bet = NULL,
shorten = TRUE,
c0 = 0.299,
FUN = NULL,
...,
track = TRUE
)
x |
[ |
method |
[ |
thr |
[ |
w |
[ |
ns |
[ |
bet |
[ |
shorten |
[ |
c0 |
[ |
FUN |
[ |
... |
[ |
This function is a wrapper for the following commands
tfb <- firstBreak(x, ...)
t0 <- firstBreakToTime0(tfb, x)
time0(x) <- t0
(if FUN
is not NULL
time0(x) <- FUN(t0, ...)
)
Modified slots
time0
: new estimated time-zero.
proc
: updated with function name and arguments.
[GPR class
] An object of the class GPR
.
firstBreak
to estimate the first wave break;
firstBreakToTime0
to convert the first wave break
into time zero.
time0
and setTime0
to set time-zero;
time0Cor
to shift the traces such that they start
at time-zero.
data("frenkeLine00")
x <- frenkeLine00
x1 <- estimateTime0(x, w = 10)
time0(x1)
x2 <- estimateTime0(x, w = 10, FUN = mean)
time0(x2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.