Closed timonmerk closed 8 months ago
offset_start = np.ceil(offset_time / 1000 * fs).astype(int) data = raw_arr_data[ind_label, offset_start:] if data.ndim == 1: data = np.expand_dims(data, axis=0) label_downsampled = data[ :, :: int(np.ceil(fs / settings["sampling_rate_features_hz"])), ]
This needs to be adapted s.t. the resampling is not performed based on rounded int's.
-> This raises the question why the label needs to be added afterwards..
This needs to be adapted s.t. the resampling is not performed based on rounded int's.
-> This raises the question why the label needs to be added afterwards..