Skip to content

Commit

Permalink
Document filtfilt(::AbstractVector...)
Browse files Browse the repository at this point in the history
  • Loading branch information
wheeheee committed Oct 29, 2024
1 parent 72ce4e7 commit c34cd43
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/Filters/filt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -286,9 +286,12 @@ end

"""
filtfilt(coef::FilterCoefficients, x::AbstractArray)
filtfilt(b::AbstractVector, x::AbstractArray)
filtfilt(b::AbstractVector, a::AbstractVector, x::AbstractArray)
Filter `x` in the forward and reverse directions using filter
coefficients `coef`. The initial state of the filter is computed so
Filter `x` in the forward and reverse directions using either a
`FilterCoefficients` object `coef`, or the filters `b` and / or `a`
as in [`filt`](@ref). The initial state of the filter is computed so
that its response to a step function is steady state. Before
filtering, the data is extrapolated at both ends with an
odd-symmetric extension of length
Expand Down

0 comments on commit c34cd43

Please sign in to comment.