Preprocessing data for RAVE involves the following steps
- Import iEEG data
- Select data to preprocess
- Notch filtering
- Wavelet decomposition
- Epoch data
- Import volumetric MRI data and cortical surface models
- Localize electrodes
- Define iEEG channel references (e.g. common average reference; bipolar) using the Reference module.
Is the recommended command to import raw iEEG data . The script searches for the specified project_name directory within the specified subject_code directory and copies all files found there into RAVE's directory and file structure. The script requests the sampling rate of the data during data acquisition (e.g. enter 2000 for 2 kHz sampling rate), then scans the specified directory. The user selects the data blocks corresponding to the appropriate project_name. The script determined whether the data is stored as 1 file per channel or 1 file containing all channels (for this, the file name must be exactly the same across the selected blocks.)
Alternate Method: Instead of using the script, users can manually place files in the correct directory structure.
Selecting data to preprocess
To launch the preprocessing app, run the command
Click on the menu screenshots for more details about each step.
Troubleshooting: If Wavelet decomposition crashes, it is often because the "Number of Cores" setting is too high. Using more CPU cores speeds up processing but also requires more RAM. Try decreasing the "Number of Cores" setting.