mattions / neuronvisio

A Graphical User Interface with 3D Visualization features for NEURON simulation enviroment
https://neuronvisio.readthedocs.io
Other
30 stars 15 forks source link

Moving the indipendent variable out of the HDF? #21

Closed mattions closed 12 years ago

mattions commented 13 years ago

If the dt is recorded we don't need to calculate the array. Maybe we should dump the parameter from sumatra inside the HDF file and recreate the time array on the fly.

Maybe it's not a good idea, though...

mattions commented 13 years ago

For example, if we know the dt, it's easy to recreate the array import numpy as np

dt = 0.1
v # Numpy Array that store the voltage
t = dt * np.arange(0, v.size)
mattions commented 12 years ago

I close this bugs 'cause not relevant. We will open a discussion later on if we need to.