Skip to content

Commit f8ea137

Browse files
Merge pull request #93 from Marco-Congedo/dev
Dev
2 parents 4294f65 + 13d61ad commit f8ea137

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "FourierAnalysis"
22
uuid = "e7e9c730-dc46-11e9-3633-f1ab55cc17e1"
33
authors = ["Marco-Congedo <marco.congedo@gmail.com>"]
4-
version = "1.2.5"
4+
version = "1.2.6"
55

66
[deps]
77
AbstractFFTs = "621f4979-c628-5d54-868e-fcf4e3e8185c"

docs/Project.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
authors = ["Marco Congedo"]
2+
version = "1.2.6"
3+
14
[deps]
25
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
36
DocumenterTools = "35a29f4d-8980-5a13-9543-d66fff28ecb8"

src/spectra.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function spectra( X :: Union{Vector{T}, Matrix{T}},
4848
⏩ :: Bool = true) where T<:Real
4949
5050
(2)
51-
function spectra( 𝐗 :: Vector{Matrix{T}},
51+
function spectra( 𝐗 :: Union{Vector{Vector{T}}, Vector{Matrix{T}}},
5252
< same argument sr, ..., ⏩ of method (1) > where T<:Real
5353
```
5454
@@ -367,7 +367,7 @@ end
367367

368368

369369

370-
function spectra( 𝐗 :: Vector{Matrix{T}},
370+
function spectra( 𝐗 :: Union{Vector{Vector{T}}, Vector{Matrix{T}}},
371371
sr :: Int,
372372
wl :: Int;
373373
tapering :: Union{Taper, TaperKind} = harris4,
@@ -390,7 +390,7 @@ function spectra( 𝐗 :: Vector{Matrix{T}},
390390
# allocate memory for spectra : 𝗦 is a k-Vector of Spectra objects
391391
𝗦 = SpectraVector(undef, k)
392392

393-
# function to compute spectra for the ith input data matrix `𝐗[i]`
393+
# function to compute spectra for the ith input data vector or matrix `𝐗[i]`
394394
sp!(i, ⏩) = 𝗦[i]=spectra(𝐗[i],
395395
sr,
396396
wl;

0 commit comments

Comments
 (0)