cortex-lab / neuropixels

Information about Neuropixels electrode arrays
82 stars 15 forks source link

How to initialize default channel map file when opening a neuropixel dataset #54

Open nhjl0911 opened 2 years ago

nhjl0911 commented 2 years ago

I have four different files for a single recording session (.imec.ap.bin, .imec.ap.meta, .imec.lf.bin, and .imec.lf.meta).

When I call %imec=Neuropixel.ImecDataset('filename.imec0.ap.bin')% It throws me an error which says "No default channel map file is set. Call setenv to set either NEUROPIXEL_MAP_FILE or NPIX_MAP_FILE. I don't understand what to do