lorenfranklab / rec_to_binaries Goto Github PK
View Code? Open in Web Editor NEWA python package that converts SpikeGadgets rec files in the Frank lab directory format to more useable binaries with the same directory format.
License: MIT License
A python package that converts SpikeGadgets rec files in the Frank lab directory format to more useable binaries with the same directory format.
License: MIT License
User may not want to extract all possible days.
Trodes is planning to move to one function to call for extracting binaries
Hi here,
I made a reader in pure python in neo and spikeextractors see:
NeuralEnsemble/python-neo#954
SpikeInterface/spikeextractors#592
not yet merge and finsh but can be usefull to be awre of.
I use the example code in the README to convert a rec file and receive this error:
PermissionError: [Errno 13] Permission denied: 'exportanalog'
Any ideas on what is happening here?
I am trying to convert the preprocessed binaries to HDF5 files (related: PR #7 ). But nothing happens for LFP and spike conversion.
The immediate cause of this, I think, is that the preproc_LFP_paths
and preproc_spike_path` are empty tables.
After preprocessing, I would do:
data_path = '/my/data/path'
animal_name = 'kf19'
out_dir = 'my/preprocessing/path'
dates = ['20170901']
anim = td.TrodesAnimalInfo(data_path, animal_name,
out_dir=out_path, dates=dates)
I get an empty table for the LFP (or spike) paths:
anim.preproc_LFP_paths
date | epoch | label_ext | datatype | ntrode | channel | timestamp_file | time_label | export_logfile | dir_index | path |
---|
The table for the DIO paths (as well as pos) looks all right.
anim.preproc_dio_paths
date | epoch | label_ext | datatype | time_label | direction | channel | export_logfile | dir_index | path | |
---|---|---|---|---|---|---|---|---|---|---|
20170901 | (1,) | DIO | in | 1.0 | False | 0 | /home/jhbak/Output/nwb_output/pilot/kf19/prepr... | |||
20170901 | (1,) | DIO | in | 2.0 | False | 0 | /home/jhbak/Output/nwb_output/pilot/kf19/prepr... | |||
20170901 | (1,) | DIO | in | 3.0 | False | 0 | /home/jhbak/Output/nwb_output/pilot/kf19/prepr... | |||
20170901 | (1,) | DIO | in | 4.0 | False | 0 | /home/jhbak/Output/nwb_output/pilot/kf19/prepr... | |||
20170901 | (1,) | DIO | in | 5.0 | False | 0 | /home/jhbak/Output/nwb_output/pilot/kf19/prepr... | |||
... | ... | ... | ... | ... | ... | ... | ... | ... | ... | |
20170901 | (2,) | DIO | out | 18.0 | False | 5 | /home/jhbak/Output/nwb_output/pilot/kf19/prepr... | |||
20170901 | (2,) | DIO | out | 19.0 | False | 5 | /home/jhbak/Output/nwb_output/pilot/kf19/prepr... | |||
20170901 | (2,) | DIO | out | 20.0 | False | 5 | /home/jhbak/Output/nwb_output/pilot/kf19/prepr... | |||
20170901 | (2,) | DIO | out | 21.0 | False | 5 | /home/jhbak/Output/nwb_output/pilot/kf19/prepr... | |||
20170901 | (2,) | DIO | None | None | NaN | True | 5 | /home/jhbak/Output/nwb_output/pilot/kf19/prepr... |
I am copying from my Jupyter notebook output cell.
When running rec to nwb conversions on virga-05, I get the following error, which seems to lead to subsequent fatal errors: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory
This error seems to occur when running via jupyter, but not bash. Possibly related to Trodes versions. This error was avoided by swapping to another computer for the time being.
Not sure who to tag - potentially @edeno, though don't think he has sudo powers, so perhaps @lfrank? Virga-05 may need some general clean-up as well. Thank you!
Trodes is planning to move to one function to call for extracting binaries
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.