pynapple-org / pynapple

PYthon Neural Analysis Package :pineapple:
https://pynapple-org.github.io/pynapple/
MIT License
243 stars 59 forks source link

To define the layout of electrodes when using nap.loadeeg() function #296

Open Marmotiaaa opened 1 month ago

Marmotiaaa commented 1 month ago

Hi! I'm using the load_eeg function to read my .dat data, and I want to define my electrodes' layout (channel map) for further analysis. Out recording system has 8 tetrodes in one group, is there any possibility for us to input this layout into this function? I guess I should use the channel parameter, but I'm not sure how to use it. Thanks for help!

gviejo commented 1 month ago

Hi yes you can pass the list of channels you want. For example channel=0 for the first channel or channel=[0,2] for channels 1 and 3.