hassonlab / 247-encoding

Contains python scripts for performing encoding on 247 data.
0 stars 9 forks source link

optimize slicing word based signal from main signal #2

Closed hvgazula closed 2 years ago

hvgazula commented 3 years ago

https://github.com/hassonlab/247-encoding/blob/encoding_with_pickles/tfsenc_utils.py#L151

Please refer to https://stackoverflow.com/questions/59238003/how-can-i-define-multiple-slices-of-a-numpy-array-based-on-pairs-of-start-end-in