Closed
Description
I have been testing pyprep against our datasets (GRUNECO, University of Antioquia, Colombia). For example I have 58 channels @ 1000Hz for about 5 minutes. This will need like 10 gb of RAM awarded from the OS to python. This is quite a lot for personal computers.
I have two possible proposals to solve this:
- Run RANSAC in a channel wise manner.
- Automatically identify the resample needed for the data to fit memory
I like more the first proposal and @sappelhoff agrees with this approach. This was discussed in #9 .
Once #9 detrend_correction is merged into master I will upload this code so it may be reviewed and tested. It considerably changes find_bad_by_ransac() and a tiny change in run_ransac()