Multichannel signal analysis introduced.

`STFT.analysis` is able to handle arrays of signals without any trouble.
This commit is contained in:
zymon 2022-04-25 15:06:41 +02:00
parent a561d68843
commit e627bdc975

View file

@ -27,5 +27,14 @@ function analysis(
_fft(sc, 1) # Convert segments to frequency-domain
end
function analysis(
xs::AbstractArray{<:AbstractVector{T}},
w::AbstractVector{T},
L::Integer = 0,
N::Integer = length(w);
)::AbstractArray{<:AbstractMatrix{<:Complex}} where {T<:Number}
[analysis(x, w, L, N) for x xs]
end
end # module