Can someone give me an advice how to sample a vector f(t) (voltage), which is drawn by NEURON GUI with variable time step? I basically need values of f(t) at equally spaced time points ti for a usual FFT.
I tried to export it (pick Vector->save to file) and perform interpolation, so that f(t) is evaluated in equally spaced time points. But NEURON exported f(t) with some "flattened" time points, so function values are ambiguous:
- Code: Select all
this is obviously due to round-error of time, but how can I deal with it?