td_plt_select: Time-domain plot and window selection

View source: R/td_plt_select.R

td_plt_selectR Documentation

Time-domain plot and window selection

Description

This function plots each window in time domain and let users to manually select windows for rejection

Usage

td_plt_select(
  h1_wins,
  h2_wins,
  v_wins,
  dt,
  sta_lta_flag,
  h1_stalta,
  h2_stalta,
  v_stalta,
  visual_deci_flag = TRUE,
  visual_deci = NA
)

Arguments

h1_wins

A list. Each element is a window time series for 1st horizontal component

h2_wins

A list. Each element is a window time series for 2nd horizontal component

v_wins

A list. Each element is a window time series for vertical component

dt

The time step

sta_lta_flag

The flag indicates if STA/LTA is calculated

h1_stalta

A list. Each element is a STA/LTA for a window of 1st horizontal component

h2_stalta

A list. Each element is a STA/LTA for a window of 2nd horizontal component

v_stalta

A list. Each element is a STA/LTA for a window of vertical component

visual_deci_flag

The flag indicates if decimation is applied. Note it will be very slow if the input data is large but without decimation

visual_deci

A decimation factor to speed up plotting. The larger it is, the faster the plot is generated. If visual_deci is NA, then the code automatically determines how much to decimate.

Value

The lefted indices of windows after time-domain rejection


wltcwpf/hvsrProc documentation built on March 25, 2024, 7 p.m.