Learn R Programming

RSEIS (version 2.6-0)

swig: Seismic Analysis

Description

Main Interactive Program for plotting and analyzing seismic waveform data.

Usage

swig(GH, sel = 1:length(GH$dt), ORD = NULL, WIN = NULL, APIX = NULL,
PHASE = NULL,
STDLAB = NULL, PADDLAB = NULL, TEMPBUT=NULL,
SHOWONLY = FALSE, CHOP = FALSE, TIT = "",
pts = FALSE, forcepix = FALSE, pcex=0.7, SCALE = 1, ilocstyle=1,
velfile = "", stafile = "", LOC = NULL,
FILT=list(fl=.2, fh=15,  type="HP", proto="BU"), filters=NULL)

Arguments

Value

  • Various strucutres are returned based on interactive selections of the user.

    Howeverr, the default return list:

  • butlast button pushed
  • sloclocation of last set of clicks
  • WPXset of saved WPIX (window picks
  • BRUNINFOBrune Model information
  • DETLINFODetailed information about traces
  • markmark (MARK button was pressed
  • PUSHEDlist of all buttons pressed prior to exit

Details

This is the main program that drives the other analysis in RSEIS. GH is a list consisting of header (meta-data) and time series information. See documentation on GH to get complete description.

A set of filters can be defined by the user, see choosfilt Default Buttons, can be created by: STDLAB = c("DONE", "QUIT","zoom out", "zoom in", "Left", "Right", "restore", "Pinfo","WINFO", "XTR", "SPEC", "SGRAM" ,"WLET", "FILT", "UNFILT", "SCALE", "Postscript")

See Also

PICK.DOC, GH, RPGM, choosfilt

Examples

Run this code
data("GH")
###  This loads a structure


  STDLAB = c("DONE", "QUIT","zoom out", "zoom in", "Left", "Right", "restore", "Pinfo","WINFO",
                           "XTR", "SPEC", "SGRAM" ,"WLET", "FILT", "UNFILT", "SCALE", "Postscript")

sel=GH$COMPS=="V" 
p = swig(GH, sel=sel, STDLAB=STDLAB)
print(p)

 p = swig(GH, sel=sel, WIN=c(4,14) , STDLAB=c("DONE", "LAME", "DAME"))
print(p)

Run the code above in your browser using DataLab