Search found 6 matches
- Thu Nov 11, 2010 7:19 am
- Forum: NEURON + Python
- Topic: Transporting hoc to python
- Replies: 11
- Views: 7704
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: 7704
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: 1599
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: 1599
Re: Odd voltage results
I hope it will let me insert the URL of the images this time:
http://www.flickr.com/photos/55323445@N04/5130708303
http://www.flickr.com/photos/55323445@N04/5130715545
http://www.flickr.com/photos/55323445@N04/5130708303
http://www.flickr.com/photos/55323445@N04/5130715545
- Sun Oct 31, 2010 5:25 am
- Forum: Other questions
- Topic: Odd voltage results
- Replies: 3
- Views: 1599
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: 2244
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...