How to create constant interval data

Anything that doesn't fit elsewhere.
Post Reply
tzahid

How to create constant interval data

Post by tzahid »

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.
ted
Site Admin
Posts: 6305
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Post by ted »

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)
?
Post Reply