Can the global parameter 'secondorder' be used to set the integration method in Neuron+Python?
In an ipython environment where h.dt, h.celsius etc. are accessible, trying to access
h.secondorder
gives a segmentation fault and the message
NEURON: can use pointer only to doubles secondorder
near line 0
objref hoc_obj_[2]
(although the attribute 'secondorder' does appear in the list printed by dir(h)).
Set integration method
Moderator: hines
-
- Site Admin
- Posts: 6299
- Joined: Wed May 18, 2005 4:50 pm
- Location: Yale University School of Medicine
- Contact:
Re: Set integration method
Have you tried the
h("any hoc statement")
syntax, e.g.
h("secondorder = 1")
?
h("any hoc statement")
syntax, e.g.
h("secondorder = 1")
?