Commit 8973e09
Axonarawio (#958)
* added placeholder for axonarawio.py and temporary notebook for testing
* some progress - reading data with BinConverter help and starting on .set file
* added first draft of sig_channels
* first draft - check if I can use AxonaRawIO
* some minor additions
* added axonarawio to neo.rawio.__init__.py
* added axonarawio.py to neo/rawio/__init__.py
* first scaffolding for reading raw cont data
* added comparison of two methods for reading cont data using mmap
* added way of reading data using np.memmap for comparison
* cleaned up notebook and settled on np.memmap for raw signal
* implemented reading raw continous data with get_analogsignal_chunk
* added timing checks + looking for faster get_analogsignal_chunk
* trying hopefully faster implementation for get_analogsignal_chunk
* trying to test hopefully faster implementation of get_analogsignal_chunk
* fixed base index vector to read cont. data
* fixed selecting arbitrary chunk of cont data
* some minor changes
* some changes to adjust toward new baserawio
* found better implementation of reading cont signals
* implemented new method for reading cont data
* added check for reading cont data using axonarawio
* adjusted helper methods
* somewhat checking adjustments of helper methods
* started exploring unit data files
* linting or comment changes
* copied over updated annotatiosn from examplerawio.py where applicable
* adjusted get_channel_gain (still unverified if correct)
* starting to explore remaining pieces for python-neo .bin implmementation
* added slightly more detailed notes about data formats
* added more thorough description of what data should be supported
* small clean-up of notebook
* filled in methods related to signal dur or len
* added test_axonarawio.py
* adjusted desc and filled spiking and event information with None
* added axonaio.py
* added test_axonaio.py
* changed files_to_download to only include base filename
* added axonaio to io.__init__
* check if AxonaIO works
* removed specific example tests for test_axonaio
* added gain factor for conversion to uV for .bin data
* added notes and fixed equation for uV conversion
* checking conversion factor for getting uV
* Update neo/io/axonaio.py
remove default val for filename, bc filename has to be specified
Co-authored-by: Alessio Buccino <[email protected]>
* remove default val for filename
* removed variable assignment that already has it as default val
* rewrite desc
* allow base filename, set and bin extensions as user input
* made channel_memory_offset global variable
* ensure chan_id is a str
* ensure stream_id is a str
* create class variable for channel_memory_offset (remapping of chan ids)
* made ecephys data type instance variable
* check code modifications
* remove jupyter notebook
* minor annotation adjustments
* remove None from first index in channel_memory_offset
* count channel ids from 0 upwards instead of 1
* explicitly load set and bin file in test_axonaio.py
* Steffen and Sam do some debug.
* automatically get sampling rate from .set file
* added additional annotations, including tetrode per channel
* debugged new additions - tests pass
* pep8 adherence in axonarawio
* removed #eof
* fix pep8 from pep8speaks complaints
* final pep8 fixes
Co-authored-by: Alessio Buccino <[email protected]>
Co-authored-by: Samuel Garcia <[email protected]>1 parent 4cce40f commit 8973e09
File tree
7 files changed
+432
-0
lines changed- doc/source
- neo
- io
- rawio
- test
- iotest
- rawiotest
7 files changed
+432
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
| |||
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
| 84 | + | |
83 | 85 | | |
84 | 86 | | |
85 | 87 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
80 | 85 | | |
81 | 86 | | |
82 | 87 | | |
| |||
250 | 255 | | |
251 | 256 | | |
252 | 257 | | |
| 258 | + | |
253 | 259 | | |
254 | 260 | | |
255 | 261 | | |
| |||
295 | 301 | | |
296 | 302 | | |
297 | 303 | | |
| 304 | + | |
298 | 305 | | |
299 | 306 | | |
300 | 307 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
44 | 49 | | |
45 | 50 | | |
46 | 51 | | |
| |||
133 | 138 | | |
134 | 139 | | |
135 | 140 | | |
| 141 | + | |
136 | 142 | | |
137 | 143 | | |
138 | 144 | | |
| |||
159 | 165 | | |
160 | 166 | | |
161 | 167 | | |
| 168 | + | |
162 | 169 | | |
163 | 170 | | |
164 | 171 | | |
| |||
0 commit comments