View source: R/butterworth_tidal_filter.R
butterworth_tidal_filter | R Documentation |
Applies a Butterworth filter with a 30-hour stop period and a 40-hour pass period
butterworth_tidal_filter(time, x)
time |
time for x (time, POSIXct) |
x |
any quantity, for example discharge (double) |
non-tidal signal in x with data affected by filter ringing removed
Daniel Livsey (2023) ORCID: 0000-0002-2028-6128
Ruhl, C. A., & Simpson, M. R. (2005). Computation of discharge using the index-velocity method in tidally affected areas (Vol. 2005). Denver: US Department of the Interior, US Geological Survey. https://pubs.usgs.gov/sir/2005/5004/sir20055004.pdf
time <- realTimeloads::ExampleData$Height$time
x <- realTimeloads::ExampleData$Height$Height_m
xf <- butterworth_tidal_filter(time,x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.