lowpass_filter: Low-pass filter

View source: R/sbe_modules.R

lowpass_filterR Documentation

Low-pass filter

Description

Low-pass filter variables based on time using the filter from SBE data processing.

Usage

lowpass_filter(
  x,
  variables = c("temperature", "conductivity", "pressure"),
  time_constant = c(0.5, 0.5, 1),
  precision = c(4, 6, 3),
  freq_n = NULL
)

Arguments

x

ctd object

variables

Character vector of data variable names to filter.

time_constant

Numeric vector of time constants for filters (in seconds).

precision

Numeric vector indicating how many significant digits to use for each channel.

freq_n

Optional. Sampling interval in seconds (1L numeric). Sampling interval is inferred from timeS if not provided.

Author(s)

Sean Rohan


sean-rohan-NOAA/gapctd documentation built on March 1, 2025, 9:27 a.m.