## Not run:
# Majorevent <- 250+8/24+2250/(24*3600)
#
# at1 <- Majorevent - 1/24
# at2 <- Majorevent + 1/24
#
#
# TH <- Mine.seis(at1, at2, DB99, NULL, NULL , kind = 1,
# Iendian=1, BIGLONG=FALSE, CHOP=TRUE, verbose=FALSE)
# inst <- rep(0, length(TH$STNS))
# inst[TH$COMPS %in% c("V", "N", "E")] <- 1
# inst[TH$STNS=="krm2" & TH$COMPS %in% c("V", "N", "E")] <- 2
# inst[TH$STNS=="krm0" & TH$COMPS %in% c("V", "N", "E")] <- 2
#
#
# DH <- DISPLACE.SEISN(TH, sel = which(inst>0) , inst = inst,
# Kal = Kal, FILT = list(ON = FALSE, fl = 1/200, fh = 7,
# type = "BP", proto = "BU"))
#
# SOUT <- swig(DH, PADDLAB=c("CENTER", "fspread", "HALF", "PREV"),
# filters=thefilts )
#
#
# ## End(Not run)
Run the code above in your browser using DataLab