Skip to content

Commit

Permalink
ENH: add new neuralynx testing dataset with associated .mat files (#111)
Browse files Browse the repository at this point in the history
* ENH: add new Neuralynx testing dataset

* Add README.md

* increment version.txt

* ENH add links to MATLAB software sites in readme
  • Loading branch information
KristijanArmeni authored Nov 10, 2023
1 parent 0decea2 commit a3f4dd7
Show file tree
Hide file tree
Showing 36 changed files with 30 additions and 14 deletions.
Binary file added neuralynx/Events.mat
Binary file not shown.
Binary file modified neuralynx/Events.nev
100644 → 100755
Binary file not shown.
Binary file added neuralynx/LAHC1.mat
Binary file not shown.
Binary file added neuralynx/LAHC1.ncs
Binary file not shown.
Binary file added neuralynx/LAHC2.mat
Binary file not shown.
Binary file added neuralynx/LAHC2.ncs
Binary file not shown.
Binary file added neuralynx/LAHC3.mat
Binary file not shown.
Binary file added neuralynx/LAHC3.ncs
Binary file not shown.
Binary file added neuralynx/LAHCu1.mat
Binary file not shown.
Binary file added neuralynx/LAHCu1.ncs
Binary file not shown.
Binary file removed neuralynx/RACC1.ncs
Binary file not shown.
Binary file removed neuralynx/RACC2.ncs
Binary file not shown.
Binary file removed neuralynx/RACC3.ncs
Binary file not shown.
Binary file removed neuralynx/RACC4.ncs
Binary file not shown.
Binary file removed neuralynx/RACC5.ncs
Binary file not shown.
Binary file removed neuralynx/RACC6.ncs
Binary file not shown.
Binary file removed neuralynx/RACC7.ncs
Binary file not shown.
Binary file removed neuralynx/RACC8.ncs
Binary file not shown.
Binary file removed neuralynx/RACCuS1.nse
Binary file not shown.
Binary file removed neuralynx/RACCuS2.nse
Binary file not shown.
Binary file removed neuralynx/RACCuS3.nse
Binary file not shown.
Binary file removed neuralynx/RACCuS4.nse
Binary file not shown.
Binary file removed neuralynx/RACCuS5.nse
Binary file not shown.
Binary file removed neuralynx/RACCuS6.nse
Binary file not shown.
Binary file removed neuralynx/RACCuS7.nse
Binary file not shown.
Binary file removed neuralynx/RACCuS8.nse
Binary file not shown.
42 changes: 29 additions & 13 deletions neuralynx/README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,34 @@
# Author: Kristijan Armeni
---

Author: Kristijan Armeni

---

# Author: Kristijan Armeni

This folder contains unconnected recording (i.e. not attached to a patient) with the [Neuralynx](https://neuralynx.fh-co.com/) acquisition system. The recording contributed by Ivan Skelin, Krembil Research Institute, University of Toronto.

This folder contains unconnected recording (i.e. not attached to a patient) with the [Neuralynx](https://neuralynx.fh-co.com/) acquisition system.
The recording kindly contributed by Ivan Skelin, Krembil Research Institute, University of Toronto.

Folder contents:
- 10 `*.ncs` files/channels (continuously sampled signals)
- 10 `*.nse` files/channels (spike snapshot files; likely empty since the recording is disconnected and no spikes were produced)
- 1 `*.nev` file (events file)

folder size:
```bash
du -h neuralynx
504K neuralynx
```
- 5 `.ncs` files (continuously sampled signals, 2Khz sampling rate, except `LAHCu1.ncs` which is at 32Khz)
- 5 `.mat` files (.mat version of .ncs files)
- 1 `.nev` file (events file)

The 3 .ncs files (`LAHC1.ncs, LAHC2.ncs, LAHC3.ncs`) should represent an seeg signal. `xAIR1.ncs` and `xEKG1.ncs` represent a potential non-seeg modality (airflow and EKG in this case).

Folder size: 1MB
For more info about the file formats, see: [Neuralynx data file formats](https://support.neuralynx.com/hc/en-us/articles/360040444811-TechTip-Neuralynx-Data-File-Formats)

## MATLAB reader used

The `.mat` files were created via the `Nlx2MatCSC.m` (.ncs files) and `Nlx2EV.mat` (.nev file). See project page: https://www.urut.ch/new/serendipity/index.php?/pages/nlxtomatlab.html. Available at: https://neuralynx.fh-co.com/research-software/#file-converters-&-utilities

Example usage:

For more info about the file formats, see: [Neuralynx data file formats]( https://support.neuralynx.com/hc/en-us/articles/360040444811-TechTip-Neuralynx-Data-File-Formats)
```matlab
% for csc files
[Timestamps, ChannelNumbers, SampleFrequencies, NumberOfValidSamples, Samples, Header] = Nlx2MatCSC('LAHC1.ncs', [1 1 1 1 1] , 1, 1, 1);
%for events files
[Timestamps, EventIDs, TTLs, Extras, EventStrings, Header] = Nlx2MatEV('Events.nev', [1 1 1 1 1], 1, 1, []);
```
Binary file removed neuralynx/RMCC1.ncs
Binary file not shown.
Binary file removed neuralynx/RMCC2.ncs
Binary file not shown.
Binary file removed neuralynx/RMCCuS1.nse
Binary file not shown.
Binary file removed neuralynx/RMCCuS2.nse
Binary file not shown.
Binary file added neuralynx/xAIR1.mat
Binary file not shown.
Binary file added neuralynx/xAIR1.ncs
Binary file not shown.
Binary file added neuralynx/xEKG1.mat
Binary file not shown.
Binary file added neuralynx/xEKG1.ncs
Binary file not shown.
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.149
0.150

0 comments on commit a3f4dd7

Please sign in to comment.