Search found 6 matches

by breynaert
Thu Nov 04, 2010 4:06 am
Forum: MSWin
Topic: Compiling Neuron Under MSWin
Replies: 2
Views: 3893

Re: Compiling Neuron Under MSWin

Hi, I am trying to get NEURON as a Python module in WIndows (xp). After reading a lot of posts on this forum I am a bit confused about the actual state of the process. What is actually needed? Which are the required steps? I am using python 2.7 for Windows, and when I try to configure, both the stab...
by breynaert
Wed Jul 28, 2010 12:15 am
Forum: NEURON + Python
Topic: Playing a vector
Replies: 12
Views: 11811

Re: Playing a vector

I checked the documentation (maybe I am using the wrong source?) http://web.mit.edu/neuron_v6.1/doc/help/neuron/neuron/mech.html And there is a little mistake where it says to set amp to 0 instead of del. Just a detail that when read carefuly is obvious but I thought it could help careless people li...
by breynaert
Mon Jul 26, 2010 6:03 pm
Forum: NEURON + Python
Topic: Playing a vector
Replies: 12
Views: 11811

Re: Playing a vector

It works!

Thank you very much.
by breynaert
Fri Jul 23, 2010 5:24 pm
Forum: NEURON + Python
Topic: Playing a vector
Replies: 12
Views: 11811

Re: Playing a vector

Hi everybody, Im trying to play a vector into an IClamp Electrode in order to stimulate with a time dependent current, but my efforts have been unfruitful. Here is a test case: from neuron import * from nrn import * axon = Section() axon.L = 3000 axon.nseg = 3000 axon.insert('hh') axon.insert('pas')...
by breynaert
Wed May 12, 2010 12:48 pm
Forum: NEURON + Python
Topic: Segfault + question
Replies: 4
Views: 2825

Re: Segfault + question

I think the code you posted pretty much solves the problem. Probably for design purposes, performance should be a priority, but I'm not sure on which path would lead to better performance: either storing the x values, storing references to the segments, or maybe coding the the allseg() function as a...
by breynaert
Mon May 10, 2010 4:31 pm
Forum: NEURON + Python
Topic: Segfault + question
Replies: 4
Views: 2825

Segfault + question

Hi everbody, I am just learning about NEURON so please bear with me. I am looking for a way to keep references to segments and made the following observation, which might be helpful to other Python programmers, as NEURON behaves different from usual Python modules: soma = Section() segments = soma.a...