- Converts labchart files to edf.
- Data can also be downsampled (decimated) to reduce file size.
- One labchart file will be converted to multiple edf files depending on the file format.
- Blocks from labchart files will be converted to new edf files.
For example: A labchart file that contains 4 animals will be converted to 4 edf files.
- Currently only runs on windows OS due to labchart toolbox SDK dependency.
- All animals per labchart file have the same number of channels.
- All files have the same channel format.
- CSV file with labchart file information. Check eeg_paths_template.csv for detailed info.
python batch_convert.py \eeg_paths_template.csv
- save_path: Path to folder that edf files will be saved.
- fs : sampling rate (samples per second), Default = 4000.
- new_fs : sampling rate after decimation (samples per second), Default = 250.
- chunksize : Number of samples to load in memory during conversion.
- ch_id : Channel names.
- animal_ch_list : List containing smaller lists with indivdiual animal channels per labchart file.
-> *edf attributes, click here for more information.
- *physical_max
- *physical_min
- *digital_max
- *digital_min
- *dimension