You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I updated after issue #11 was fixed. Now the demo in the SeisNoise front page is not working. (It was also not working when I tried adding SeisNoise#master as suggested to get the fix prior to the Julia registry update. Below is the error. SeisNoise compiles now, which it should after the issue #11 fix, but there is a new problem. Now there is a bounds error in compute_fft(). Any ideas? This is line 8 in the demo on the front page of this repository.
I updated after issue #11 was fixed. Now the demo in the SeisNoise front page is not working. (It was also not working when I tried adding SeisNoise#master as suggested to get the fix prior to the Julia registry update. Below is the error. SeisNoise compiles now, which it should after the issue #11 fix, but there is a new problem. Now there is a bounds error in compute_fft(). Any ideas? This is line 8 in the demo on the front page of this repository.
julia> FFT1 = compute_fft(S1,freqmin, freqmax, fs, cc_step, cc_len,
time_norm=false,to_whiten=false)
ERROR: BoundsError: attempt to access (Float32[8.9519034e-8 8.951522e-7 … -9.883005e-8 -1.2194332e-6; 1.3060095e-7 7.1878003e-7 … -1.3441387e-7 -9.5242154e-7; … ; -1.1920544e-7 6.684296e-7 … -5.1719906e-7 -4.7945866e-12; -1.9726252e-7 6.3828196e-7 … -5.381539e-7 4.4324054e-12], [1.13875245e9, 1.1387529e9, 1.13875335e9, 1.1387538e9, 1.13875425e9, 1.1387547e9, 1.13875515e9, 1.1387556e9, 1.13875605e9, 1.1387565e9 … 1.13883255e9, 1.138833e9, 1.13883345e9, 1.1388339e9, 1.13883435e9, 1.1388348e9, 1.13883525e9, 1.1388357e9, 1.13883615e9, 1.1388366e9])
at index [3]
Stacktrace:
[1] indexed_iterate at ./tuple.jl:63 [inlined]
[2] #compute_fft#141(::Bool, ::Bool, ::Float64, ::Bool, ::typeof(compute_fft), ::SeisData, ::Float64, ::Float64, ::Float64, ::Int64, ::Int64) at /Users/dmikesell/.julia/packages/SeisNoise/C5IgW/src/compute_fft.jl:260
[3] (::SeisNoise.var"#kw##compute_fft")(::NamedTuple{(:time_norm, :to_whiten),Tuple{Bool,Bool}}, ::typeof(compute_fft), ::SeisData, ::Float64, ::Float64, ::Float64, ::Int64, ::Int64) at ./none:0
[4] top-level scope at none:0
The text was updated successfully, but these errors were encountered: