CNNs-on-CHB-MIT icon indicating copy to clipboard operation
CNNs-on-CHB-MIT copied to clipboard

notused

Open setwindowhook opened this issue 4 years ago • 1 comments

https://github.com/SMorettini/CNNs-on-CHB-MIT/blob/b85441c8964b30cd9664eec3044fc792031c0872/DataserToSpectogram.py#L143

why,there

return (data.shape[1]-t*_SIZE_WINDOW_SPECTOGRAM)*-1

not

return (data.shape[1]-(t * movement+_SIZE_WINDOW_SPECTOGRAM))*-1

setwindowhook avatar Jan 13 '21 09:01 setwindowhook

You are right, with my code a window of data interictal is considered 2 times.

I would like to update the code with your suggestion but before I want to be sure that is not causing the error. Do you have the possibility to make the change and run the code and let me know if everything works fine with your suggestion?

@setwindowhook I asked you because I don't have anymore the environment set up for running the code.

SMorettini avatar Mar 02 '21 08:03 SMorettini