Search found 20 matches

by Kolorek
Tue Mar 10, 2015 5:37 pm
Forum: NEURON + Python
Topic: SWC files
Replies: 33
Views: 16107

Re: SWC files

Dear ramcdougal
I have done every step that you have write and from NEURON side everything works. I have only error from Visual Studio Just-In-Time Debugger
by Kolorek
Thu Mar 05, 2015 3:37 am
Forum: MSWin
Topic: Neuron as Python module in Win (again)
Replies: 37
Views: 26541

Re: Neuron as Python module in Win (again)

Thank you Ted now it should be ok with the URL
but still i don't know how to fix my problem
If I should write some more information just say
I really don't know how to fix the problem :(
by Kolorek
Thu Feb 26, 2015 2:43 pm
Forum: MSWin
Topic: Neuron as Python module in Win (again)
Replies: 37
Views: 26541

Re: Neuron as Python module in Win (again)

I remove/unistall pyNEURON 7.2 and now I only have NEURON 7.3 I do steps which was write here http://www.neuron.yale.edu/phpbb/viewto ... f=5&t=2604 When I write import neuron I don't have any messages :( but when I write from neuron import h h.neuronhome() I have this message: "C:\python27\nrn73w" ...
by Kolorek
Tue Feb 24, 2015 11:00 am
Forum: NEURON + Python
Topic: SWC files
Replies: 33
Views: 16107

Re: SWC files

I remove/unistall pyNEURON 7.2 and now I only have NEURON 7.3 I do steps which was write here http://www.neuron.yale.edu/phpbb/viewtopic.php?f=5&t=2604 When I write import neuron I don't have any messages :( but when I write from neuron import h h.neuronhome() I have this message: "C:\python27\nrn73...
by Kolorek
Fri Feb 20, 2015 12:32 pm
Forum: NEURON + Python
Topic: SWC files
Replies: 33
Views: 16107

Re: SWC files

in python I have this : Python 2.7.3 |EPD_free 7.3-2 (32-bit)| (default, Apr 12 2012, 14:30:37) [MSC v.1500 32 bit (Intel)] on win32 Type "copyright", "credits" or "license()" for more information. >>> ================================ RESTART ================================ >>> import neuron Found ...
by Kolorek
Fri Feb 20, 2015 10:29 am
Forum: NEURON + Python
Topic: SWC files
Replies: 33
Views: 16107

Re: SWC files

I download what you wite but still there is a problem: Traceback (most recent call last): File "C:\Users\Właściciel\Desktop\cell\hh.py", line 4, in <module> from neuron import h, rxd ImportError: cannot import name rxd Maybe I am so stupid that I can't run this program, could someone explain in poin...
by Kolorek
Thu Feb 19, 2015 3:28 pm
Forum: NEURON + Python
Topic: SWC files
Replies: 33
Views: 16107

Re: SWC files

Ted thank you for the links :) I read them but I didn't find solution for my problem :( Maybe you know how to fix this ? See if this helps: mod files: what they are, and how to use them https://www.neuron.yale.edu/phpBB/viewtopic.php?f=28&t=3263 Also go to http://www.neuron.yale.edu/neuron/docs and ...
by Kolorek
Wed Feb 18, 2015 1:59 pm
Forum: NEURON + Python
Topic: SWC files
Replies: 33
Views: 16107

Re: SWC files

I do what you write and I have this message bash-4.1$ cd C:/Users/Właściciel/Desktop/komórki bash-4.1$ nrnivmodl ls: cannot access *.[mM][oO][dD]: No such file or directory gcc -DDLL_EXPORT -DPIC -I/cygdrive/c/nrn73/src/scopmath -I/cygdrive/c/nrn73/src/ nrnoc -I/cygdrive/c/nrn73/src/oc -I/cygdrive/c...
by Kolorek
Tue Feb 17, 2015 4:23 pm
Forum: NEURON + Python
Topic: SWC files
Replies: 33
Views: 16107

Re: SWC files

To run a file in Python use execfile . For your example you would: execfile('hh.py') OK, but now its another problem :( I have error that >>> execfile('hh.py') Traceback (most recent call last): File "stdin", line 1, in <module> IOError: [Errno 2] No such file or directory: 'hh.py' or that "No modu...
by Kolorek
Tue Feb 17, 2015 2:48 pm
Forum: NEURON + Python
Topic: SWC files
Replies: 33
Views: 16107

Re: SWC files

Installing the cygwin version should give you a nrngui with python icon that you can click to get to a python interpreter. NEURON supports Python. pyNeuron is a third party's attempt to make NEURON easier to install; it has nothing to do with whether-or-not NEURON supports Python. I install Neuron 7...
by Kolorek
Mon Feb 16, 2015 7:49 am
Forum: NEURON + Python
Topic: SWC files
Replies: 33
Views: 16107

Re: SWC files

Now I can record voltage to vector but it's empty after record (I don't have nothing in time vector and voltage vector) here is my all code: # -*- coding: cp1250 -*- import btmorph import matplotlib.pyplot as plt import neuron from neuron import h, gui, rxd import numpy as np import pylab as py from...
by Kolorek
Fri Feb 13, 2015 4:37 am
Forum: NEURON + Python
Topic: SWC files
Replies: 33
Views: 16107

Re: SWC files

Great now almost (problem with record voltage) everything work fine problem is that I make vector vrec1 = h.Vector() and I want to record voltage from cell1 but like you write the cells has got morphology so i want to record from for example (In future i want to record from soma, dend and axon) soma...
by Kolorek
Thu Feb 12, 2015 4:46 pm
Forum: NEURON + Python
Topic: SWC files
Replies: 33
Views: 16107

Re: SWC files

Thank you :) I have some other questions 1) how can i put some current (something like this) ic = h.IClamp(cell1(1.0)) ic.deley = 1 ic.dur = 1 ic.amp = 100 2) I saw that there is something like neuron rxd but when i want to import (from neuron import rxd) it says that there is no rxd -I ask about it...
by Kolorek
Tue Feb 10, 2015 2:54 pm
Forum: NEURON + Python
Topic: SWC files
Replies: 33
Views: 16107

Re: SWC files

I do like you write and now I have swc files as hoc files and i read in python everything is alright till I want ot connect the cells (I want to connect cells, put some current and have a graph of voltage in time and have graph with the concentration of ions inside and outside the cells ) from neuro...
by Kolorek
Sat Feb 07, 2015 7:56 am
Forum: NEURON + Python
Topic: SWC files
Replies: 33
Views: 16107

Re: SWC files

Thank you for explain it :).