aolabNeuro / aolabNeuro/analyze
calc_mt_tfr time axis not correct if step size not divisible into sampling rate
Đang mở
- Ngôn ngữ chính
- Python
- Star
- 7
- Fork
- 0
- Merge trung bình
- 22 giờ 29 phút
- Pull request đã merge (30 ngày)
- 2
Mô tả
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?
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.