Search found 51 matches

by RBJ
Wed Apr 24, 2019 7:23 pm
Forum: UNIX/Linux
Topic: No module named hoc37
Replies: 10
Views: 598

Re: No module named hoc37

Ah ha!!
so now I loaded python with simply

Code: Select all

python3

Code: Select all

from neuron import gui
successfully brings up the menus!!

In fact still no go through spyder, but I am sure I can work it out from here!
Thanks!
..,.and so to bed (UK)...
R.
by RBJ
Wed Apr 24, 2019 6:58 pm
Forum: UNIX/Linux
Topic: No module named hoc37
Replies: 10
Views: 598

Re: No module named hoc37

I am sorry, I don't know the ldd `which python3` instruction, but it returned this linux-vdso.so.1 (0x00007ffdbc3fb000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007ff4e8c09000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007ff4e8818000) libdl.so.2 => /lib/x86_64-linux-gnu/...
by RBJ
Wed Apr 24, 2019 5:44 pm
Forum: UNIX/Linux
Topic: No module named hoc37
Replies: 10
Views: 598

Re: No module named hoc37

Thanks, cp hoc.cpython-37m-x86_64-linux-gnu.so hoc.so # be sure to make a copy of hoc.so first!!! cp hoc.cpython-37m-x86_64-linux-gnu.so hoc37.so so copying that file to those two alternative hoc.so and hoc37.made no difference that I can see. However: ldd /usr/local/nrn/lib/python/neuron/hoc.cpytho...
by RBJ
Tue Apr 23, 2019 9:42 am
Forum: UNIX/Linux
Topic: No module named hoc37
Replies: 10
Views: 598

Re: No module named hoc37

Thank you, so yes tried these: firstly python3 -v Gives: import _frozen_importlib # frozen import _imp # builtin import '_thread' # <class '_frozen_importlib.BuiltinImporter'> import '_warnings' # <class '_frozen_importlib.BuiltinImporter'> import '_weakref' # <class '_frozen_importlib.BuiltinImport...
by RBJ
Mon Apr 22, 2019 6:38 pm
Forum: UNIX/Linux
Topic: No module named hoc37
Replies: 10
Views: 598

Re: No module named hoc37

Thank you for your reply, So firstly, no NEURON does not work from a regular python prompt. In fact it gets less far, failing to find neuron at all, because I only set PYTHONPATH within the PYTHONPATH preferences of Spyder. Same as I do on my mac. Secondly, the PYTHONPATH I am using on these UBUNTU ...
by RBJ
Sun Apr 21, 2019 10:15 am
Forum: UNIX/Linux
Topic: No module named hoc37
Replies: 10
Views: 598

No module named hoc37

I have Neuron successful installed on OSX and Windows 7/10... but I have failed with two separate linux (Ubuntu) machines now and so I think it is time to call for help. I don't have much experience with linux, so it is highly probably I am being an idiot. I have been trying off and on for days, tho...
by RBJ
Tue Feb 19, 2019 2:07 pm
Forum: Hot tips
Topic: Turning adaptive integration ("CVODE") on and off
Replies: 3
Views: 10009

Re: Turning adaptive integration ("CVODE") on and off

Yes, sorry I realise this. That is the only way I know to turn it on and off. The post says "Instead of using... an argument of 1 or 0 to turn ..., it is better to call cvode_active() with the appropriate argument....". I thought I might be missing the alternative arguments to 1 and 0. Sorry. Kind R...
by RBJ
Tue Feb 19, 2019 3:18 am
Forum: Hot tips
Topic: Turning adaptive integration ("CVODE") on and off
Replies: 3
Views: 10009

Re: Turning adaptive integration ("CVODE") on and off

Sorry Ted, I am doubtless being really slow here; but I keep reading the first line of this post over and over and don’t follow. If one should not use cvode.active(1) etc., please can you give an explicit example of the “appropriate argument” one would use? Thanks, sorry... just want to be sure I am...
by RBJ
Mon Feb 18, 2019 5:13 pm
Forum: Reaction-diffusion in NEURON
Topic: RXD lower concentration limit?
Replies: 2
Views: 326

Re: RXD lower concentration limit?

Thank you yes that nails it!
by RBJ
Sat Feb 16, 2019 6:29 am
Forum: Reaction-diffusion in NEURON
Topic: RXD lower concentration limit?
Replies: 2
Views: 326

RXD lower concentration limit?

Hello again, I m having good success with the RXD now, and hoping to incorporate in a range of models now. I’ve hit another hiccup however. When I have a species that should be decreasing in concentration asymptotically towards zero it invariably equilibrates at somewhat above zero. For example, dro...
by RBJ
Mon Feb 04, 2019 4:19 pm
Forum: Reaction-diffusion in NEURON
Topic: Unexpected 3D behaviour
Replies: 2
Views: 474

Re: Unexpected 3D behaviour

Oh that's perfect, thanks so much! I did try and debug species.py but of course I got nowhere. Just copying in the new file worked fine-I didn't need to compile.
kind Regards R.
by RBJ
Thu Jan 31, 2019 3:24 pm
Forum: Reaction-diffusion in NEURON
Topic: Unexpected 3D behaviour
Replies: 2
Views: 474

Unexpected 3D behaviour

Sorry. me again. I am confused by the output I get with 3D RXD. Figure I below shows how I get a nice as diffusion if I just add some factor to central nodes with diffusion . It seems to indicate to me I am on the right track. http://pcwww.liv.ac.uk/~rbj/NEURON/surf1.png However, now look what happe...
by RBJ
Thu Jan 31, 2019 2:59 pm
Forum: Reaction-diffusion in NEURON
Topic: 3D Dimensional RXD/CRXD
Replies: 4
Views: 639

Re: 3D Dimensional RXD/CRXD

Thank you, yes charging dx Is so easy and speeds up processing enormously. I am sorry I didn't find that myself in the documentation. Regards R.
by RBJ
Tue Jan 29, 2019 8:30 am
Forum: Reaction-diffusion in NEURON
Topic: 3D Dimensional RXD/CRXD
Replies: 4
Views: 639

Re: 3D Dimensional RXD/CRXD

Thanks there are some useful ideas. I really I want to press on with full-scale3-D simulation, however, so I can get smooth surfaces (with microdomains etc). How do I change dx? I googled for hours! Also to clarify, the 10 hours that that 3D script takes to execute is spent waiting in the Finitialis...
by RBJ
Fri Jan 25, 2019 2:51 pm
Forum: Reaction-diffusion in NEURON
Topic: 3D Dimensional RXD/CRXD
Replies: 4
Views: 639

3D Dimensional RXD/CRXD

Hello, I wonder if you could help further. Simply adding rxd.set_solve_type(dimension=3) ...to the simple rxd model you helped me with before makes my PC workstations and mac really struggle. I have not had success with the mac at all, and one PC has taken 4 hrs to complete the task (<1 minute 1D), ...