butterworth_tidal_filter {realTimeloads}R Documentation

Return non-tidal signal in data after Rulh and Simpson (2005)

Description

Applies a Butterworth filter with a 30-hour stop period and a 40-hour pass period

Usage

butterworth_tidal_filter(time, x)

Arguments

time

time for x (time, POSIXct)

x

any quantity, for example discharge (double)

Value

non-tidal signal in x with data affected by filter ringing removed

Author(s)

Daniel Livsey (2023) ORCID: 0000-0002-2028-6128

References

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

Examples

time <- realTimeloads::ExampleData$Height$time
x <- realTimeloads::ExampleData$Height$Height_m
xf <- butterworth_tidal_filter(time,x)

[Package realTimeloads version 1.0.0 Index]