Closed tclements closed 4 years ago
Closing, confirmed working as expected. Needed to update SeisIO version
Thank you for confirming. I was sitting here sputtering "...what did DSP do this time", because I knew I'd fixed something just like this two weeks ago.
On a related note: once the manuscript is done I plan to rewrite several processing routines to work exclusively in the frequency domain. Weird issues like this are caused by my import and override of DSP built-ins; the syntax and structure are extremely arcane, seemingly by their design. At some point the performance improvements stop being worth that extra effort...
resample!(S::GphysData;chans::Union{Integer, UnitRange, Array{Int64,1}}=Int64[], fs::Float64=0.0)
throws an error when the resampling frequencyfs == minimum(S.fs[chans[S.fs[chans] .> 0.0]])
. The default should probably be toreturn nothing
as inresample!(C::GphysChannel, f0::Float64)