I have been running simulations using variable dt and have picked the output vector and saved it in a dat file.
The time intervals in the data are not constant. Is there a way to save the output from NEURON with constant intervals of time in order to analyze the signal? Otherwise I will have to interpolate the data.
How to create constant interval data
-
- Site Admin
- Posts: 6384
- Joined: Wed May 18, 2005 4:50 pm
- Location: Yale University School of Medicine
- Contact:
The Vector class does have an interpolate method, but it is only first order interpolation.
You might as well do it right to start with.
Referring to the documentation of the Vector class's record method
http://www.neuron.yale.edu/neuron/stati ... tml#record
have you tried the form
dest.record(&var, Dt)
?
You might as well do it right to start with.
Referring to the documentation of the Vector class's record method
http://www.neuron.yale.edu/neuron/stati ... tml#record
have you tried the form
dest.record(&var, Dt)
?