convert2nwbEcephysMatNpx
Matlab functions to convert extracellular electrophysiology recordings and associated behavioural data to Neurodata Without Borders (NWB) file format: Neuropixels example.
In order to download this repository, you will have to install GIN client. You can find the installation instructions here.
To download the repository execute the following lines in your command line:
gin get dervinism/convert2nwbEcephysMatNpx
cd convert2nwbEcephysMatNpx
gin get-content
Alternatively, you can download the repository through the web browser. In this case, large files may require to be downloaded individually.
In order to execute the Matlab code, you will also need to download the matnwb repository and add it to your Matlab path.
Once you have downloaded and installed all the required dependencies you can execute convert2nwb script in Matlab. This should convert the example data into NWB format and store it inside the npx_derived_data_nwb folder. If you want to adapt the code for your own puprposes, have a look at the code and the comments inside Matlab scritps and functions.
Keywords: Neurodata Without Borders; NWB; matnwb; extracellular electrophysiology; ecephys; Neuropixels; silicone probe; extracellular electrode; spiking; FAIR principles; open science.