Skip to content

Commit 92a1269

Browse files
committed
drop unneeded argument, old comment
1 parent d2191e0 commit 92a1269

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/createWavelets.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ function computeWavelets(n1::Integer,
186186
isAve = !(typeof(c.averagingType) <: NoAve)
187187
# I guess matlab did occasionally do something useful
188188

189-
ω = computeOmega(n1, nSpace, n)
189+
ω = computeOmega(n1, n)
190190
daughters = analyticOrNot(c, n, totalWavelets)
191191

192192
# if the nOctaves is small enough there are none not covered by the
@@ -230,7 +230,7 @@ function computeWavelets(n1::Integer,
230230
# indicates whether we should keep a spot for the father wavelet
231231
isAve = !(typeof(c.averagingType) <: NoAve)
232232

233-
ω = computeOmega(n1, nSpace, n)
233+
ω = computeOmega(n1, n)
234234
daughters = zeros(nSpace, totalWavelets)
235235
φ, ψ, ψLen = getContWaveFromOrtho(c, nSpace)
236236
itpψ = genInterp(ψ)
@@ -287,7 +287,7 @@ function analyticOrNot(c::CWT{W,T,<:Union{Morlet,Paul,Morse},N},
287287
return daughters
288288
end
289289

290-
function computeOmega(nOriginal, nSpace, nFreq)
290+
function computeOmega(nOriginal, nFreq)
291291
range(0, nOriginal >> 1 + 1, length = nFreq) # max size is the last frequency in the rfft of the original data size
292292
end
293293
# convenience methods

src/waveletTypes.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
struct Morlet <: ContWaveClass
2-
σ::Float64 # σ is the time/space trade-off. as σ->0, the spacial resolution increases; below 5, there is a danger of being non-analytic. Default is 5.8
2+
σ::Float64 # σ is the time/space trade-off. as σ->0, the spacial resolution increases; below 5, there is a danger of being non-analytic. Default is
33
κσ::Float64
44
::Float64
55
end

0 commit comments

Comments
 (0)