R/ReSet.R

Defines functions ReSet

Documented in ReSet

ReSet <- function(nh, g)
  {
####   RSEIS::swig button - reset the station/channel choices for grep in RSEIS::Mine.seis
  
    dev.set( dev.next() )
    s1 = SELstaDB(nh$IDB, sel=1, newdev=TRUE, STAY=FALSE)

    g$RESET = list(gs=g$IDB$sta[s1$sta]  , gc=g$IDB$comp[s1$comp] )

    
    dev.set( g$MAINdev)
    g$zloc = list(x=NULL, y=NULL)
    g$action="donothing"
    invisible(list(global.vars=g))
  }

Try the Rquake package in your browser

Any scripts or data that you put into this service are public.

Rquake documentation built on Dec. 16, 2020, 5:06 p.m.