aolabNeuro / aolabNeuro/analyze
calc_mt_tfr time axis not correct if step size not divisible into sampling rate
未关闭
- 主要语言
- Python
- 星标
- 7
- 派生
- 0
- 平均合并
- 22 小时 29 分钟
- 30 天内合并 PR
- 2
描述
we do ```step_size = int(np.floor(step*fs)) # step size``` to calculate the positions of the bins
but then ```t = np.arange(nwin)*step + n/2 # Center of each window is time axis``` to make a time axis
if `step*fs` is not an integer, then the time axis will not be correct
maybe we can do `step = float(step_size)/fs` as a final step before calculating the time axis @resatomo?
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。