INM-6 / python-neo

Neo is a package for representing electrophysiology data in Python, together with support for reading a wide range of neurophysiology file formats
http://packages.python.org/neo/
BSD 3-Clause "New" or "Revised" License
3 stars 10 forks source link

Order of Dimensions in the AnalogSignalArray #4

Open JuliaSprenger opened 9 years ago

JuliaSprenger commented 9 years ago

In the current implementation of the AnalogSignalArray the time is represented in the first axis. This results for example in the extraction of a single AnalogSignal like this: analogsignal = analogsignalarray[:,0] instead of the (probably) more intuitive version analogsignal = analogsignalarray[0]

Another aspect important for this is the actual representation of the data in memory, such that a single analogsignal can be read in one go (Fortran vs. C representation of matrixes in memory). Furthermore input of a single analogsignals of length n in row format should not lead to an interpretation of n analogsignals with one entry each. Therefore input dependent reshaping is needed when creating an analogsignalarray.

mdenker commented 7 years ago

This issue should be reinvestigated with the new AnalogSignal implementation in Neo 0.5, and whether the problems remain.