Search found 13 matches

by Dmandel
Fri Aug 07, 2015 10:44 am
Forum: NEURON + Python
Topic: Repeated Step Pulses In Python
Replies: 14
Views: 4318

Re: Repeated Step Pulses In Python

Sweet!
by Dmandel
Thu Jul 30, 2015 10:14 am
Forum: NEURON + Python
Topic: Repeated Step Pulses In Python
Replies: 14
Views: 4318

Re: Repeated Step Pulses In Python

Ted I can't thank you enough for the brain mess I have caused you. Nevertheless, please see this simple python syntax and corresponding error: >>> from neuron import h NEURON -- VERSION 7.3 ansi (1148:433096832316) 2014-08-22 Duke, Yale, and the BlueBrain Project -- Copyright 1984-2014 See http://ww...
by Dmandel
Mon Jul 27, 2015 2:23 pm
Forum: NEURON + Python
Topic: Repeated Step Pulses In Python
Replies: 14
Views: 4318

Re: Repeated Step Pulses In Python

Okay, after a third time through, I think I can see a way using this type of syntax. step = 0.075 num_steps = 4 for i in numpy.linspace(step, step*num_steps, num_steps): stim.amp = i simulate() # When i==step, we are at the first time through. show_output(soma_v_vec, dend_v_vec, t_vec, i==step)
by Dmandel
Mon Jul 27, 2015 2:15 pm
Forum: NEURON + Python
Topic: Repeated Step Pulses In Python
Replies: 14
Views: 4318

Re: Repeated Step Pulses In Python

Yes, multiple times.
by Dmandel
Mon Jul 27, 2015 1:44 pm
Forum: NEURON + Python
Topic: Repeated Step Pulses In Python
Replies: 14
Views: 4318

Re: Repeated Step Pulses In Python

The real issue I'm having is accessing the IPulse mechanism, whether it is in hoc or Python.
by Dmandel
Mon Jul 27, 2015 12:45 pm
Forum: NEURON + Python
Topic: Repeated Step Pulses In Python
Replies: 14
Views: 4318

Re: Repeated Step Pulses In Python

IPulse1 does not seem to be an instance of the soma section... Do I need to write my own hoc code in order to incorporate any IPulse? Here is my Python code. soma = h.Section() In [9]: soma = h.Section(name='soma') In [10]: h.psection() soma { nseg=1 L=100 Ra=35.4 /*location 0 attached to cell 0*/ /...
by Dmandel
Fri Jul 24, 2015 8:27 pm
Forum: NEURON + Python
Topic: Repeated Step Pulses In Python
Replies: 14
Views: 4318

Re: Repeated Step Pulses In Python

How do I add the IPulse mechanism in order to use it in Python? I am able to use the IPulse with my model cell when loading the test1 and test2 hoc files from 'pulsedistr', and then loading my ses file. However, I cannot successfully load a new ses file into python containing my SingleCompartment an...
by Dmandel
Fri Jul 24, 2015 4:08 pm
Forum: NEURON + Python
Topic: Recording the m,h,n gating variables
Replies: 1
Views: 2733

Recording the m,h,n gating variables

I have built a channel in Channel Builder, saved as a session file and loaded into Python. But when I tried to record the State Gating variables, I have discovered that there is no reference to them, like there is in the 'hh' model. Here is the python code. # Load in Channels h.load_file('/Users/Don...
by Dmandel
Thu Jul 23, 2015 4:37 pm
Forum: NEURON + Python
Topic: Repeated Step Pulses In Python
Replies: 14
Views: 4318

Repeated Step Pulses In Python

I'm having a lot of trouble trying to figure out if I should use a mod file or a hoc file to set up a current clamp stimulus to deliver a repeating series of depolarizing step pulses to my existing single compartment with multiple channels (a ses file). Furthermore, I want to be able to use Python's...
by Dmandel
Tue Jul 21, 2015 2:40 pm
Forum: The GUI
Topic: Issues loading .ses files
Replies: 1
Views: 5903

Issues loading .ses files

I am now having issues with the GUI when I load a .ses file from the working directory. When I load the file, some of the windows open, ex, the Channel Builder windows, but when I try to view the single compartment properties, the GUI complains that I haven't accessed a soma. "No accessed secti...
by Dmandel
Tue Jul 14, 2015 9:58 am
Forum: The GUI
Topic: Customizing Rate Equations In Channel Builder
Replies: 4
Views: 6781

How many points on the graph should I use?

I have successfully imported my x, y data but I don't understand how the KSchannel uses the data. Does it use the exact data points I import? Or does it make a calculation based on the data points?
by Dmandel
Mon Jul 13, 2015 11:00 am
Forum: The GUI
Topic: Customizing Rate Equations In Channel Builder
Replies: 4
Views: 6781

Customizing Rate Equations In Channel Builder

Hi, I am attempting to model a Serotonergic Neuron of the Dorsal Raphe Nucleus. I am using the CHANNEL BUILDER and I want to customize the K+ channel. How would I go about writing my own equations for N∞, IE N∞ = 1 / 1 + e-(V-Vk)/k. I also want to specify an equation for τn (tau), IE τn = αk + βk / ...