results['t'] = [float(x/1000.0) for x in copy.copy(self.neuron.h.v_time.to_python())]
Rather than:
results['t'] = [float(x) for x in copy.copy(self.neuron.h.v_time.to_python())]
as it currently stands, time constant tests and related tests will have better predictive power. Without rescaling by 1000.0 sciunit/quantities believes that NEURON units are in seconds, rather than milli seconds.
If line 472 of backends is made to read:
Rather than:
as it currently stands, time constant tests and related tests will have better predictive power. Without rescaling by 1000.0 sciunit/quantities believes that NEURON units are in seconds, rather than milli seconds.
https://github.com/scidash/neuronunit/blob/dev/neuronunit/models/backends.py#L472