Search found 31 matches
- Thu Jun 26, 2008 11:45 am
- Forum: Getting started
- Topic: Multiple simulations: spawning a new graph on each run
- Replies: 6
- Views: 4616
Re: Multiple simulations: spawning a new graph on each run
I realized I omitted the vital line: graphlist[0].append(graph5). With its inclusion I now have a new graph created upon each trial and each new graph plots the voltage trace. However, each graph respawns the previous voltage trace as each new trial is automatically run. Is there a way to essentiall...
- Wed Jun 25, 2008 3:03 pm
- Forum: Getting started
- Topic: Multiple simulations: spawning a new graph on each run
- Replies: 6
- Views: 4616
Re: Multiple simulations: spawning a new graph on each run
The axis are scaled correctly and using "view = plot" does not reveal anything new. On a separate graph I can visualize the voltage traces as the simulations run, though each voltage trace is overwritten at the beginning of a new simulation. However, no traces appear on the graph's created...
- Wed Jun 25, 2008 2:22 pm
- Forum: Getting started
- Topic: Multiple simulations: spawning a new graph on each run
- Replies: 6
- Views: 4616
Re: Multiple simulations: spawning a new graph on each run
Thanks Ted, however now I am returned multiple graph windows as the simulations complete but no voltage trace is plotted on any of the graphs. My code for myrun is as follows: proc myrun() { graph5 = new Graph() graph5.addvar("Cell[0].soma.v(0.5)", 3,1,0.8,0.9,2) glist.append(graph5) run() }
- Wed Jun 25, 2008 10:53 am
- Forum: Getting started
- Topic: Multiple simulations: spawning a new graph on each run
- Replies: 6
- Views: 4616
Multiple simulations: spawning a new graph on each run
Hello, I am also trying to automate multiple simulations. I am examining a single bursting cell and varying a maximal conductance with each automated simulation. Though I have the automated process to vary the conductance and repeatedly run the simulation down correctly I have not figured out how to...
- Tue Aug 14, 2007 12:57 pm
- Forum: Getting started
- Topic: Plotting long periods of data
- Replies: 8
- Views: 7271
Hello, I have checked through my code and implemented your more efficient spike time capture method successfully. However, I still get the same bad_alloc error when, and only when, I include code for creating cumulative spike histograms in long simulations. I am able to run both long simulations whi...
- Thu Aug 09, 2007 1:41 pm
- Forum: Getting started
- Topic: Plotting long periods of data
- Replies: 8
- Views: 7271
- Thu Aug 09, 2007 1:21 pm
- Forum: Getting started
- Topic: Plotting long periods of data
- Replies: 8
- Views: 7271
Here is my code for creating raster and cumulative histogram plots: objref netcon, vec, spikes, nil, graster objref vecs1[100], gg1, yy1 proc preprasterplot1() { spikes = new List() for i=0, hgcells.count()-1 { vecs1[i] = new Vector(0) vec = new Vector () hgcells.object(i).soma netcon = new NetCon(&...
- Wed Aug 08, 2007 2:58 pm
- Forum: Getting started
- Topic: Plotting long periods of data
- Replies: 8
- Views: 7271
Plotting long periods of data
Hello, I'm having trouble outputting long strings of data from NEURON. I have been using the simulator to create raster plotz and cumulative histogram plots of cell populations and then using Vector: Save to File to selecting the histogram trace to output. This works well as long as my simulation tr...
- Fri Jul 06, 2007 9:06 am
- Forum: Other questions
- Topic: Initializing seed with the system time
- Replies: 7
- Views: 9485
- Thu Jul 05, 2007 12:21 pm
- Forum: Other questions
- Topic: Initializing seed with the system time
- Replies: 7
- Views: 9485
- Tue Jul 03, 2007 2:32 pm
- Forum: Other questions
- Topic: Initializing seed with the system time
- Replies: 7
- Views: 9485
I have been trying to use sscanf for this same task to convert the system date/time string to a number for seeding but I've been unsuccessful due to my ignorance of the formats used for sscanf. Every format I've tried listed in the programmers references returns an error of incorrect argument type. ...
- Thu Jun 14, 2007 12:09 pm
- Forum: The GUI
- Topic: Cumulative Frequency Spike Plot
- Replies: 1
- Views: 5575
Cumulative Frequency Spike Plot
Hello, I'm attempting to create code for a cumulative frequency spike plot for a population of 25 neurons similar to that which is included in the spikeplot feature of Network Builder. I've had success writing hoc to create raster plots for networks not created with the GUI but I'm having little luc...
- Thu May 31, 2007 11:45 am
- Forum: Modeling networks
- Topic: Threshold of SpikePlot
- Replies: 1
- Views: 4192
Threshold of SpikePlot
Hello, In modeling a network of cells with Network Builder I've noticed spikes are only recorded in SpikePlot when they have crossed a threshold of about +10 mV. Is there a way to change this threshold for SpikePlot? Additionally is there a way to change this threshold for individual cells/ cell typ...
- Thu May 24, 2007 11:32 am
- Forum: Adding new mechanisms and functions to NEURON
- Topic: Adding an intracellular calcium concentration
- Replies: 12
- Views: 13726
- Thu May 24, 2007 11:15 am
- Forum: Adding new mechanisms and functions to NEURON
- Topic: Adding an intracellular calcium concentration
- Replies: 12
- Views: 13726
Thanks Ted. I now see noticeable fluctuation in Isk with a 1 ms /1 nA current pulse. However the magnitude of the peak is much lower 0.04 mA compared to 1 mA in the paper I'm working from. The calcium current also peak at a lower magnitude than expected (~ -1mA compared to -2.5 mA) I believe this is...