You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Block: Main container gathering all the data, whether discrete or continuous, for a given recording session. A block is not necessarily temporally homogeneous, in contrast to Segment.
Segment: A container for data sharing a common time basis. A Segment is a heterogeneous container for discrete or continuous data sharing a common clock (time basis) but not necessary the same sampling rate, start or end time.
AnalogSignal: Array of one or more continuous analog signals. A representation of several continuous, analog signals that have the same duration, sampling rate and start time. Basically, it is a 2D array: dim 0 is time, dim 1 is channel index
Mapping between data models:
DH5
NEO
DH5 file
Block
CONT trial (INDEX)
AnalogSignal
TRIALMAP trial
Segment
EV2
Event
TRIALMAP
Epoch, maybe create a class inheriting from Epoch to add stimulus number
Fully understand the object model. If in doubt ask the mailing list_.
Fully understand :mod:neo.rawio.examplerawio, which is a fake IO module to explain the API. If in doubt ask the list.
Copy/paste examplerawio.py and choose clear file and class names for your IO.
implement all methods that raise :class:NotImplementedError in :mod:neo.rawio.baserawio. Return None when the object is not supported (e.g., spikes, waveforms)
Write good docstrings. List dependencies, including minimum version numbers.
Add your class to :mod:neo.rawio.__init__. Keep imports inside try/except for dependency reasons.
Create a class in :file:neo/io/
Add your class to :mod:neo.io.__init__. Keep imports inside try/except for dependency reasons.
Create an account at https://gin.g-node.org and deposit files in NeuralEnsemble/ephy_testing_data_.
Write tests in :file:neo/rawio/test_xxxxxrawio.py.
You must at least pass the standard tests (inherited from :class:BaseTestRawIO). See :file:test_examplerawio.py
Write a similar test in :file:neo.tests/iotests/test_xxxxxio.py. See :file:test_exampleio.py
The text was updated successfully, but these errors were encountered:
Neo Containers:
Mapping between data models:
Block
AnalogSignal
TRIALMAP
trialSegment
Event
Epoch
, maybe create a class inheriting fromEpoch
to add stimulus numberFrom https://neo.readthedocs.io/en/latest/add_file_format.html#recipe-to-develop-an-io-module-for-a-new-data-format
mailing list
_.neo.rawio.examplerawio
, which is a fake IO module to explain the API. If in doubt ask the list.examplerawio.py
and choose clear file and class names for your IO.NotImplementedError
in :mod:neo.rawio.baserawio
. Return None when the object is not supported (e.g., spikes, waveforms)neo.rawio.__init__
. Keep imports insidetry/except
for dependency reasons.neo/io/
neo.io.__init__
. Keep imports insidetry/except
for dependency reasons.NeuralEnsemble/ephy_testing_data
_.neo/rawio/test_xxxxxrawio.py
.You must at least pass the standard tests (inherited from :class:
BaseTestRawIO
). See :file:test_examplerawio.py
neo.tests/iotests/test_xxxxxio.py
. See :file:test_exampleio.py
The text was updated successfully, but these errors were encountered: