Search found 27 matches
- Mon May 05, 2014 5:02 pm
- Forum: NEURON + Python
- Topic: Having python read from a NEURON binary file
- Replies: 7
- Views: 6823
Having python read from a NEURON binary file
Hi, apologies if this is the incorrect place for this post. I've been having a bit of trouble with python correctly reading a binary file output by neuron. Neuron records the data as follows: strdef outdir, fprefix outdir = "./data" fprefix = "test" strdef filename objref runfile...
- Mon Mar 24, 2014 11:38 am
- Forum: Other questions
- Topic: Get system time
- Replies: 1
- Views: 1735
Get system time
Is there any way to get the current time of the system from within the nrniv window? Something akin to localtime() in C?
- Thu Mar 20, 2014 12:37 pm
- Forum: Adding new mechanisms and functions to NEURON
- Topic: Trouble with creating ions
- Replies: 1
- Views: 1864
Trouble with creating ions
I've created a few new ions using ion_style, but it seems that they're not working correctly. // register the new ions with NEURON cltype = ion_register("cl",-1) hco3type = ion_register("hco3",-1) catype = ion_register("ca",2) forall { kstyle = ion_style("k_ion&quo...
- Mon Mar 17, 2014 3:58 pm
- Forum: The GUI
- Topic: Visualizing multiple point processes in the same window
- Replies: 3
- Views: 16011
Re: Visualizing multiple point processes in the same window
I have: // make the shape plot for point process tracking save_window = new Shape() save_window.size(-245.449,315.449,-160,330) for i = 1,Gstim.count(){ save_window.point_mark(Gstim.o(i), 2, "o", 4) } {save_window.view(-245.449, -160, 560.898, 490, 700, 500, 350.4, 304.96)} fast_flush_list...
- Mon Mar 17, 2014 1:31 pm
- Forum: The GUI
- Topic: Visualizing multiple point processes in the same window
- Replies: 3
- Views: 16011
Visualizing multiple point processes in the same window
I was wondering if there is a way to have multiple point processes of the same type displayed on a shape plot of the cell. I know the point process viewer displays a list of PPs, but I was hoping there is some way I could use the existing windows or design my own window to show them as dots on the c...
- Sat Mar 01, 2014 2:52 pm
- Forum: The GUI
- Topic: Setting limits on xvalue inputs
- Replies: 3
- Views: 15558
Re: Setting limits on xvalue inputs
location_prompt = 0 xmenu("Location of Synapses") xvarlabel(location_string) xradiobutton("Soma", "set_location(0)") xradiobutton("Proximal Dendrite", "set_location(1)") xradiobutton("Middle Dendrite", "set_location(2)") xradiobu...
- Tue Feb 25, 2014 1:29 pm
- Forum: The GUI
- Topic: Setting limits on xvalue inputs
- Replies: 3
- Views: 15558
Setting limits on xvalue inputs
I was wondering if you can set boundaries on the possible inputs to an xvalue field editor - for example I have location_paired = 0 xvalue("Location of Paired Synapses","location_paired", 1,"procedure()", 1, 1 ) and I want the only possible values to be 0, 1, 2, 3. Alte...
- Fri Jan 25, 2013 12:05 pm
- Forum: Adding new mechanisms and functions to NEURON
- Topic: Getting the GUI to recognize parameters of new mechanisms
- Replies: 5
- Views: 2724
Re: Getting the GUI to recognize parameters of new mechanism
Sorry, I meant to ask if the concept is the same for point processes/distributed mechanisms. That is, to appear as a button in the GUI, a parameter must be declared as a RANGE variable in the NEURON block. I was having some problems with one parameter of a point process appearing in the point proces...
- Thu Jan 24, 2013 5:12 pm
- Forum: Adding new mechanisms and functions to NEURON
- Topic: Getting the GUI to recognize parameters of new mechanisms
- Replies: 5
- Views: 2724
Re: Getting the GUI to recognize parameters of new mechanism
If instead I wanted a particular parameter of a point process or distributed mechanism available to edit in the GUI, would I need something extra?
- Thu Jan 24, 2013 1:31 pm
- Forum: Adding new mechanisms and functions to NEURON
- Topic: Kinetic block error message
- Replies: 3
- Views: 2026
Re: Kinetic block error message
Using cnexp, derivimplicit and sparse all gave the same error message. I have read through most of Chapter 9 and some of the programmer's reference, but a lot of the instructions about syntactic rules seem to be given with specific examples, and I have not yet seen an example that explains why this ...
- Wed Jan 23, 2013 2:58 pm
- Forum: Adding new mechanisms and functions to NEURON
- Topic: Kinetic block error message
- Replies: 3
- Views: 2026
Kinetic block error message
In writing a mod file for extracellular chloride management, I get an error message that a) I don't understand the cause of and b) I'm not sure how to fix. I have: PARAMETER { clbath = 140 (mM) :Resting clo concentration fhspace = 350 (angstrom) txfer = 5 (ms) :Time constant of Clo DFree = 2.03 (um2...
- Wed Jan 16, 2013 5:52 pm
- Forum: Adding new mechanisms and functions to NEURON
- Topic: Getting the GUI to recognize parameters of new mechanisms
- Replies: 5
- Views: 2724
Getting the GUI to recognize parameters of new mechanisms
Hopefully this is the right place to put this question. I have written mod files for chloride ion management, one for intracellular and one for extracellular management. In the extracellular management file, I have specified parameters in the PARAMETER block (clbath, fhspace, txfer, DFree), all of w...