Search found 41 matches
- Sat Nov 08, 2014 8:16 am
- Forum: Anatomically detailed models
- Topic: Export PlotShape
- Replies: 6
- Views: 11789
Re: Export PlotShape
thank you, exec_menu() is good !
- Fri Nov 07, 2014 5:25 am
- Forum: Anatomically detailed models
- Topic: Export PlotShape
- Replies: 6
- Views: 11789
Re: Export PlotShape
and aside from export resolution, how to specify "ShapeStyle" in hoc code which can be done by GUI ?
- Fri Nov 07, 2014 5:04 am
- Forum: Anatomically detailed models
- Topic: Export PlotShape
- Replies: 6
- Views: 11789
Re: Export PlotShape
Is there a way to specify the resolution in printfile() ? The default one is pretty coarse :)
- Tue Sep 02, 2014 3:19 am
- Forum: NEURON hacks
- Topic: import matrix from file
- Replies: 2
- Views: 31753
Re: import matrix from file
thanks ! scanf() with no arguments works perfect.
- Thu Aug 28, 2014 11:44 pm
- Forum: NEURON hacks
- Topic: import matrix from file
- Replies: 2
- Views: 31753
import matrix from file
Dear Ted, The traditional way to import matrix data from file is to 1. define a matrix and then 2. scanf the file by specifying the number of rows and cols, e.g. mat = new Matrix(nrow, ncol) mat.scanf(fileobj, nrow, nrow) Is there a way in hoc, which can automatically read in the nrow/ncol informati...
- Wed Aug 06, 2014 5:24 pm
- Forum: OS X
- Topic: nrngui failed as Py_Initialize exited
- Replies: 5
- Views: 14478
Re: nrngui failed as Py_Initialize exited
thank you !
- Tue Aug 05, 2014 9:54 pm
- Forum: OS X
- Topic: nrngui failed as Py_Initialize exited
- Replies: 5
- Views: 14478
Re: nrngui failed as Py_Initialize exited
site.__file__ prints out
'/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.pyc'
so I tried:
export PYTHONHOME=/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
'/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.pyc'
so I tried:
export PYTHONHOME=/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
- Tue Aug 05, 2014 8:15 pm
- Forum: OS X
- Topic: nrngui failed as Py_Initialize exited
- Replies: 5
- Views: 14478
nrngui failed as Py_Initialize exited
Dear Ted: I just successfully installed NEURON with Python on the Mac OSX 10.9.4, everything works perfect under Python(2.7.8), but the nrngui doesn't seem to go and produces this error message, I tried different PYTHONHOMEs after examining that site.__file__, still no good. Anything else I shall tr...
- Tue Jul 29, 2014 12:41 pm
- Forum: NEURON hacks
- Topic: Equation behind Function Table
- Replies: 4
- Views: 33712
Re: Equation behind Function Table
When the value is out of the TABLE range, it evaluates the nearest point.
- Mon Jul 28, 2014 4:23 pm
- Forum: NEURON hacks
- Topic: Equation behind Function Table
- Replies: 4
- Views: 33712
Re: Equation behind Function Table
thank you Ted, yeah , FUNCTION works. A deeper question: when a FUNCTION_TABLE is provided, e.g. FUNCTION_TABLE var (v(mV)), if the values of voltage v in the provided table range only from -30 to 50, then what happens to NEURON evaluation when the voltage is below -30 ? Does it take the value for -...
- Thu May 01, 2014 12:42 pm
- Forum: NEURON + Python
- Topic: Recording changes in Impedance in NEURON (Python)
- Replies: 14
- Views: 14714
Re: Recording changes in Impedance in NEURON (Python)
thank you Ted, it works pure :)
another small question on this topic, when we do:
-> imp.compute(frequency)
some models chose the frequency = 10, what does this frequency exactly mean under the hook ?
another small question on this topic, when we do:
-> imp.compute(frequency)
some models chose the frequency = 10, what does this frequency exactly mean under the hook ?
- Thu Apr 24, 2014 11:11 am
- Forum: NEURON + Python
- Topic: Recording changes in Impedance in NEURON (Python)
- Replies: 14
- Views: 14714
Re: Recording changes in Impedance in NEURON (Python)
Dear Ted,
recording impedance using the NEURON impedance class works perfectly. Thank you !
but ... another question, how to do a shape plot of impedance throughout a model ? Like in the "Harnett and Magee 2012 Nature" Fig.3a (right) ?
recording impedance using the NEURON impedance class works perfectly. Thank you !
but ... another question, how to do a shape plot of impedance throughout a model ? Like in the "Harnett and Magee 2012 Nature" Fig.3a (right) ?
- Tue Apr 15, 2014 6:28 pm
- Forum: Anatomically detailed models
- Topic: Export PlotShape
- Replies: 6
- Views: 11789
Re: Export PlotShape
thank you Ted, it shapes :)
- Tue Apr 15, 2014 6:27 pm
- Forum: Anatomically detailed models
- Topic: Questions on import3d and export tools
- Replies: 15
- Views: 21484
Re: Questions on import3d and export tools
thank you Ted, it defines :)
- Tue Apr 15, 2014 12:42 pm
- Forum: Anatomically detailed models
- Topic: Questions on import3d and export tools
- Replies: 15
- Views: 21484
Re: Questions on import3d and export tools
Dear Ted,
First, it shall be "for ii = 0,n3d()-1",
and second, this still prints out the "relative" points ...
soma 0 0 0 30
soma 30 0 0 20
apical 0 0 0 10
apical 30 0 0 5 (apical 60 0 0 5, wanted)
...
any better solutions ?
First, it shall be "for ii = 0,n3d()-1",
and second, this still prints out the "relative" points ...
soma 0 0 0 30
soma 30 0 0 20
apical 0 0 0 10
apical 30 0 0 5 (apical 60 0 0 5, wanted)
...
any better solutions ?