Set integration method

When Python is the interpreter, what is a good
design for the interface to the basic NEURON

Moderator: hines

Post Reply

Set integration method

Post by JohnP »

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

Re: Set integration method

Post by ted »

Have you tried the
h("any hoc statement")
syntax, e.g.
h("secondorder = 1")
Post Reply