Search found 2 matches

by Manni
Mon Nov 10, 2014 3:52 am
Forum: NEURON + Python
Topic: Setpointer when defining a synapse
Replies: 2
Views: 5943

Re: Setpointer when defining a synapse

Dear Ted, Thanks a lot! I made a mistake while copying code to my post, so apologies for the first error of creating wrongly named sections! The syntax you suggested was correct and I have posted my working code for completeness below; from neuron import h PRE=h.Section() POST=h.Section() PRE.insert...
by Manni
Thu Oct 30, 2014 10:14 am
Forum: NEURON + Python
Topic: Setpointer when defining a synapse
Replies: 2
Views: 5943

Setpointer when defining a synapse

Hi everyone, I'm attempting to translate a neuron hoc model to python which uses a detailed kinetic representation of AMPA receptors. The model consists of a hoc synapse model and mod files for hh2, caL, rel and AMPA5. Below is the relevant hoc code; create PRE,POST forall { insert pas } access PRE ...