datajoint / element-interface

Common functions for the DataJoint Elements
https://datajoint.com/docs
MIT License
3 stars 17 forks source link

Add Intan loader #76

Open tdincer opened 1 year ago

kabilar commented 1 year ago

Converted to draft to accommodate different Intan file format.

tdincer commented 1 year ago

rhs_perchannel_loader.py is the one developed to read per channel data. The rest of the files are taken from https://github.com/datajoint/load-rhs-notebook-python. Note that there is a COPYING file, which is the original license from the same repo.

tdincer commented 1 year ago

Please do not spend time on correcting the rhsutilities.py. It's not our code.

If Intan updates the code, any changes made in this file will make the comparison of this file and the original file harder.

kabilar commented 1 year ago

@tdincer Which function will we use to read from the single *.rhs file which contains the metadata and raw data from all channels?

tdincer commented 1 year ago

@tdincer Which function will we use to read from the single *.rhs file which contains the metadata and raw data from all channels?

We will use the one in the intanrhsreader as follows:

from intanrhsreader import load_file

rhsdata = load_file('filename.rhs')