Search found 1691 matches

by hines
Fri Jun 24, 2005 4:49 pm
Forum: Other questions
Topic: Simulations without GUI
Replies: 1
Views: 3667

What happens if you take the simulation code that includes the GUI (I assume you launch with something like "nrngui myfile.hoc") and launch with nrngui --bbs_nhost 0 myfile.hoc The option was obviously intended for other purposes but for you it has the desirable side effect of turning off ...
by hines
Tue Jun 21, 2005 7:28 pm
Forum: Adding new mechanisms and functions to NEURON
Topic: Calling C functions from NEURON
Replies: 2
Views: 7037

The easiest way to add c code to NEURON is with a mod file. Search for VERBATIM in ModelDB. NMODL provides many of the interface details automatically. But if you do want to add a c function directly into the nrn/src/oc interpreter then you are very close, only missing 3 points. Don't forget to add ...
by hines
Tue Jun 21, 2005 6:56 pm
Forum: OS X
Topic: Is NEURON 5.7.159 slow compared to the previous 5.7?
Replies: 2
Views: 6586

That slowdown is certainly not supposed to happen. Could you
zip up all the ses/mod/hoc files needed to reproduce the problem
and send them to me so I can determine the cause of the problem.
I'll have a mac osx 4 available next Monday and can get back to
you a few days after that.
by hines
Tue Jun 21, 2005 6:26 pm
Forum: UNIX/Linux
Topic: Compilation of iv-17 on SGI IRIX64 6.5 fails
Replies: 3
Views: 7153

I have not seen the strange X and $X prefixes before on the SGI or anywhere else. I'd recommend using the http://www.neuron.yale.edu/ftp/neuron/versions/alpha/iv-17.tar.gz version since it has been slightly updated to compile under gcc-4.0.0 on osx 4 but that seems a longshot for the sgi. If that ma...
by hines
Tue Jun 21, 2005 9:30 am
Forum: Other questions
Topic: Vector manipulation and play
Replies: 4
Views: 5577

I did an experiment to see if one can use pointers to weights and it indeed works. Consider the NEURONDEMO after choosing the Synchronizing Net demo. oc>NetCon[5].weight -0.3 oc>objref pp oc>pp = new Pointer(&NetCon[5].weight) oc>pp.val -0.3 oc>pp.val = -1 oc>NetCon[5].weight -1 oc> Of course th...
by hines
Tue Jun 07, 2005 3:27 am
Forum: UNIX/Linux
Topic: Compilation error on sparc/sunOS
Replies: 2
Views: 6221

Did you have a previously installed version and overwrote the old sources with the new version? If so there has been a recent upgrade to the sundials integrators that removed and added many files. It may be that you need to do a make clean to get rid of the old .o files before doing a make. If this ...
by hines
Fri May 27, 2005 11:34 am
Forum: Adding new mechanisms and functions to NEURON
Topic: Single Channel Simulation
Replies: 3
Views: 7180

I should also mention that a PointProcess instance of a ChannelBuilder specification, when "Allow Single Channels" is selected, can be switched between macroscopic current mode and single channel mode by setting the value of Nsingle. When Nsingle has the value of 0 then it is a macroscopic...
by hines
Fri May 27, 2005 11:26 am
Forum: Adding new mechanisms and functions to NEURON
Topic: Single Channel Simulation
Replies: 3
Views: 7180

Single channel models can only be constructed with NEURONMainMenu/Build/ChannelBuilder/Point There can only be a single gate defined as a kinetic scheme raised to the first power. At that point you can select the Properties/AllowSingleChannels checkbox. For an example, launch the NEURONDEMO and sele...
by hines
Wed May 25, 2005 7:57 am
Forum: NEURON + Python
Topic: request for comments
Replies: 13
Views: 19968

request for comments

I have a question primarily directed to those who understand quite a bit about Python and a bit about NEURON's conceptual idea of the section. Several months ago, Mike Neubig suggested that NEURON's usefulness would be greatly enhanced if Python could be used as an alternative interpreter. To this p...
by hines
Sun May 22, 2005 10:06 pm
Forum: The GUI
Topic: can't reconstitute an Impedance Path tool from a ses file
Replies: 1
Views: 5415

I see that none of the Impedance tools have the ability to save themselves into a session file. And none of them use the proper idiom for properly opting out of the session file, i.e. when the box holding the gui for the object is created one should use VBox.save("") where the argument is ...
by hines
Thu May 19, 2005 1:18 pm
Forum: The GUI
Topic: Increment used by spinner
Replies: 1
Views: 5794

Re: Increment used by spinner

There is no way under program control to set the increment/decrement value for default field editors. That would require a new method to the ValueFieldEditor class, see: http://www.neuron.yale.edu/neuron/static/docs/help/neuron/general/classes/vfe.html and/or yet another optional argument to xvalue ...