Search found 12 matches

by tfoutz99
Tue Jul 06, 2010 12:31 am
Forum: NEURON + Python
Topic: Neuron+Python+Gui
Replies: 2
Views: 1922

Re: Neuron+Python+Gui

Thanks for the reply!
I'm running a macbook pro, Mac OS 10.6.3, and using the enthought distribution of python (2.6.4)
by tfoutz99
Wed Jun 16, 2010 4:37 pm
Forum: NEURON + Python
Topic: Neuron+Python+Gui
Replies: 2
Views: 1922

Neuron+Python+Gui

If I create a section in python: "python" from neuron import h,gui soma = h.Section() dend = h.Section() and then create a Voltage axis graph, "Plot what?" doesn't list any sections. I get an even stranger response when I launch "nrngui -python". "Plot what?" displays a really messed up picture, whi...
by tfoutz99
Wed Feb 10, 2010 1:06 am
Forum: UNIX/Linux
Topic: What packages do I need? Ubuntu/Hardy
Replies: 10
Views: 7729

Re: What packages do I need? Ubuntu/Hardy

I deleted everything, and then started over. InterViews compiles find. Most of neuron compiles, but it hangs on nrniv. ./configure --prefix=/nrn --with-iv=/nrn --with-nrnpython make ... /bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/nrnoc -I../../src/oc ...
by tfoutz99
Wed Feb 03, 2010 11:29 am
Forum: UNIX/Linux
Topic: What packages do I need? Ubuntu/Hardy
Replies: 10
Views: 7729

Re: What packages do I need? Ubuntu/Hardy

I had installed byacc, thinking I might need it, but I think it was causing the yacc errors. Now I have a new problem, still with mint linux and nrnivmodl. The compiling fails with Error 1: Making all in modlunit make[3]: Entering directory `/nrn/nrn/src/modlunit' /bin/bash ../../ylwrap parse1.y y.t...
by tfoutz99
Wed Feb 03, 2010 10:31 am
Forum: UNIX/Linux
Topic: What packages do I need? Ubuntu/Hardy
Replies: 10
Views: 7729

Re: What packages do I need? Ubuntu/Hardy

I do have /usr/bin/bison installed /usr/bin/bison --version bison (GNU Bison) 2.4.1 Written by Robert Corbett and Richard Stallman. Copyright (C) 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FI...
by tfoutz99
Tue Feb 02, 2010 4:01 pm
Forum: UNIX/Linux
Topic: What packages do I need? Ubuntu/Hardy
Replies: 10
Views: 7729

Re: What packages do I need? Ubuntu/Hardy

I'm actually on linux mint 8, which is based on ubuntu 9. I have compiled InterViews, and am now trying to compile neuron. I get the following when running make: make[3]: Entering directory `/nrn/nrn/src/modlunit' gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/nrnoc -I../../src/oc -I../../src/parallel ...
by tfoutz99
Tue Nov 24, 2009 12:00 pm
Forum: NEURON + Python
Topic: nobanner when using "from neuron import h"
Replies: 1
Views: 1748

nobanner when using "from neuron import h"

I am running a number of simulation in the background, and would like to suppress the banner from showing up x million times: NEURON -- VERSION 7.1 (346:d0d58af16783) d0d58af16783 Duke, Yale, and the BlueBrain Project -- Copyright 1984-2008 See http://www.neuron.yale.edu/credits.html Additional mech...
by tfoutz99
Mon Aug 24, 2009 2:00 pm
Forum: NEURON + Python
Topic: setpointer in Python
Replies: 15
Views: 10071

Re: setpointer in Python

Works great. Thanks!
by tfoutz99
Wed Aug 19, 2009 2:20 pm
Forum: NEURON + Python
Topic: setpointer in Python
Replies: 15
Views: 10071

Re: setpointer in Python

Thank you for this fix. It has been working for a while now. However, on long simulations, i'm getting a deallocating none fault: Sample mod file: NEURON { SUFFIX test POINTER ex } PARAMETER { } ASSIGNED { ex (millivolts) } INITIAL { ex = 1 } Sample neuron/python script from neuron import h import s...
by tfoutz99
Thu Jul 02, 2009 12:15 pm
Forum: NEURON + Python
Topic: setpointer in Python
Replies: 15
Views: 10071

Re: setpointer in Python

Thanks!
by tfoutz99
Wed Jul 01, 2009 6:48 pm
Forum: NEURON + Python
Topic: setpointer in Python
Replies: 15
Views: 10071

setpointer in Python

Hi everybody, I am having a hard time implementing setpointers in python. In hoc, I'm using: forall { for (x, 0) { setpointer im_xtra(x), i_membrane(x) } } but I can't get h.setpointer to work. Here's what I tried: for sec_id in h.allsec(): sec_id.push() for seg in sec_id: h.setpointer(seg.im_xtra, ...
by tfoutz99
Wed Dec 12, 2007 3:20 pm
Forum: MSWin
Topic: nrniv.exe from the command line
Replies: 1
Views: 3282

nrniv.exe from the command line

I like running neuron from the prompt, or from editors like crimson editor, and I noticed that while in version 6.0 i can run from the command line with:

cd <directory>
c:\nrn60\bin\nrniv.exe filename.hoc

this doesn't work in version 6.1

I am running vista, and I haven't checked this under xp

-Tom