Search found 6 matches

Thu Nov 11, 2010 7:19 am
Forum: NEURON + Python
Topic: Transporting hoc to python
Replies: 11
Views: 6077

hoc "access" abuse

About "access abuse": When I write in a procedure : distal = new SectionList() dist=100 apic[14](0) distance() hotzone.remove(hotzone) forsec trunk { if (distance(0) <= dist) { distal.append() } } After changing the "access" as you suggested, the distances are not calculated from...
Tue Nov 09, 2010 5:38 am
Forum: NEURON + Python
Topic: Transporting hoc to python
Replies: 11
Views: 6077

Transporting hoc to python

I am transporting my hoc codes into python codes, but I have some questions: 1. How can I subtree() in python? In hoc it is: apical = new SectionList() access apic[0] apical.subtree() 2. How can do a distance() function? In hoc it is: distapic = new SectionList() access soma distance() forsec apical...
Sun Oct 31, 2010 9:56 am
Forum: Other questions
Topic: Odd voltage results
Replies: 3
Views: 1274

Update

After working on this strange phenomenon for 3 days, I found the bug! One of the many dendrites was actually composed of a couple of the same XYZ location points: apic[64] {pt3dclear() pt3dadd(-31.1, 253.26, -34.24, 2.07) pt3dadd(-31.1, 253.26, -34.24, 2.07) } This probably caused Neuron to think th...
Sun Oct 31, 2010 5:28 am
Forum: Other questions
Topic: Odd voltage results
Replies: 3
Views: 1274

Re: Odd voltage results

Sun Oct 31, 2010 5:25 am
Forum: Other questions
Topic: Odd voltage results
Replies: 3
Views: 1274

Odd voltage results

I run a model of a complicated reconstructed cell using nrn7.1 version. I insert only nseg, e_pas, g_pas, cm, global_ra and celsius and I run the simulation with a voltage graph. This is a simple simulation, but it results in a crazy voltage graph from the first millisecond: http://www.flickr.com/ph...
Mon Sep 27, 2010 9:21 am
Forum: Other questions
Topic: Current injections and cell voltage response
Replies: 1
Views: 1787

Current injections and cell voltage response

I am injecting square negative current at a specific place in a reconstructed cell in order to discover the distribution of the channels in the cell (by comparing the results to current injections in a real cell from my experiment). The problem is that no matter what I do in the model, I receive abo...