hassonlab / 247-pickling

Contains code to create pickles from raw/processed data
1 stars 9 forks source link

refactor ugly looking function #116

Closed hvgazula closed 1 year ago

hvgazula commented 1 year ago

https://github.com/hassonlab/247-pickling/blob/b8253c6a5088c5b2f8e75e6a5cf7f3440b82cbf5/scripts/electrode_utils.py#L11-L42

hvgazula commented 1 year ago

The name of the folder with the mat files is different for different subjects and I am using a dictionary to effect this mapping for readability.