Learn R Programming

RSEIS (version 1.0-9)

prep1wig: Prepare structure for RSEIS

Description

Takes list of traces and prepares new list for analysis in RSEIS

Usage

prep1wig(wig=vector(), dt=1, sta="STA", comp="CMP", units="UNITS")

Arguments

wig
vector of time series
dt
sample interval
sta
character, station name
comp
character,component name
units
character, units of signal

Value

  • Rsac output list
  • ampamplitude
  • dtsample rate
  • nzyearyear
  • nzhourhour
  • nzminminutes
  • nzsecseconds
  • nzmsecmsec
  • bsac stuff
  • esac stuff
  • osac stuff
  • fncharacter, file name
  • stacharacter
  • compcharacter
  • DATTIMlist of date and time
  • Nnumber of points
  • unitscharacter

Details

prep1wig is offered to reformat a time series for input to program PICK.GEN()

See Also

PICK.GEN, prepSEIS

Examples

Run this code
data(sunspots)

ES = prep1wig(wig=sunspots, dt=1/12, sta="STA", comp="CMP", units="UNITS"    )

EH=prepSEIS(ES)

STDLAB = c("DONE",  "zoom out", "refresh", "restore", "XTR", "SPEC", "SGRAM" ,"WLET")

xx =  PICK.GEN( EH, STDLAB = STDLAB)

Run the code above in your browser using DataLab