Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 801 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 801 Bytes

NeuralynxIO

Python script for importing Neuralynx data files. Currently only .NCS (continuously sampled record) and .NEV (event record) files are supported. The data is extracted from the binary files and placed in Numpy arrays and native Python types.

File formats

Neuralynx provides PDF documentation of their file formats online (although there are some discrepancies with the files actually generated by their software).

Use

import neuralynxio

ncs = neuralynxio.load_ncs('./Chan1.ncs')  # Load signal data into a dictionary
ncs['data'][0]  # Access the first sample of data

nev = neuralynxio.load_nev('./Event.nev')  # Load event data into a dictionary
nev['event'][0]  # Access the first event