Search found 220 matches

by Raj
Fri Jul 20, 2007 2:00 pm
Forum: Adding new mechanisms and functions to NEURON
Topic: multi-compartment artificial integrate and fire cells
Replies: 11
Views: 7043

Whether that is a good way to proceed depends entirely on your objectives. The main thing to realize is that you probably want to be able to access the metacells as separate units during the simulation. Then it is wise to have the LIF and DEND_SEG's managed by a single objects and writing a template...
by Raj
Fri Jul 06, 2007 3:30 am
Forum: Other questions
Topic: Initializing seed with the system time
Replies: 7
Views: 7247

Tsa,

Can you provide us with the shortest possible bit of code that shows your problem. What your wrote sofar gives me the impression that your are overlooking something simple quite unrelated to the details of sscanf.

Regards,
Raj
by Raj
Fri Jun 15, 2007 3:42 am
Forum: The GUI
Topic: Cumulative Frequency Spike Plot
Replies: 1
Views: 4230

Spikeplot use netcon to record spikes, you are using the vec record method. As a result you are not recording threshold crossing but you are recording the whole voltage trace.

In spikeplot.hoc the update function shows you how netcon is used for recording spikes.
by Raj
Fri Jun 08, 2007 10:59 am
Forum: Adding new mechanisms and functions to NEURON
Topic: compillation error during nmodl file
Replies: 4
Views: 3741

Did you update cygwin recently?

If so you might have a look at:
https://www.neuron.yale.edu/phpBB2/viewtopic.php?t=878
by Raj
Wed May 16, 2007 5:51 am
Forum: Adding new mechanisms and functions to NEURON
Topic: Alternating current
Replies: 7
Views: 5609

You might have a look at the play method of the vector class. It allows you to play any vector in to a variable. So if you create a sine wave in a vector and play it into a currentclamp mechanism you should be in business. Other solutions are creating your own current clamp mechanisms but that invol...
by Raj
Tue May 08, 2007 3:42 pm
Forum: MSWin
Topic: Cygwin changed CRLF handling in bash shell
Replies: 0
Views: 6838

Cygwin changed CRLF handling in bash shell

The latest releases of cygwin has a new handling of CRLF. If you install NEURON next to cygwin you might run into this problem. There are two ways to handle this problem: 1. Remove CRLF from the shell scripts you use. In PSPad this can be done by opening the file and then doing Format->Unix (LF) and...
by Raj
Sun May 06, 2007 12:15 pm
Forum: Modeling networks
Topic: Cvode::interpolate assert error
Replies: 5
Views: 5794

New interpolation errors?

Build: NEURON -- Version 5.9 2006-5-20 18:55:15 Main (39) by John W. Moore, Michael Hines, and Ted Carnevale Duke and Yale University -- Copyright 1984-2005 loading membrane mechanisms from nrnmech.dll Additional mechanisms from files AMPAS.mod des_cad.mod des_hh2.mod des_im.mod des_it.mod first_ord...
by Raj
Thu May 03, 2007 3:00 am
Forum: Other questions
Topic: How can we make movies from NEURON simulations?
Replies: 3
Views: 5141

http://www.vanelburg.net/neuronforum/Movie23.gif http://www.vanelburg.net/neuronforum/VmMovie23.gif Thanks Ted! I combined elements of your second suggestion with elements of Destexhe's solution. So first I created a function for plotting to eps: stillno=0 objref mySpacePlot func printspaceplot(){ ...
by Raj
Mon Apr 30, 2007 8:56 am
Forum: Other questions
Topic: How can we make movies from NEURON simulations?
Replies: 3
Views: 5141

How can we make movies from NEURON simulations?

I remember that quite some time ago there was a posting to the mailing list ( in times before this forum existed) describing how to make movies from a NEURON simulation, unfortunately I don't remember the details. I would like to make a movie from a spaceplot. What i think is possible is to generate...
by Raj
Fri Apr 20, 2007 5:13 pm
Forum: Modeling networks
Topic: question about point processes
Replies: 2
Views: 3938

If you are going to connect several sources to the same target it is probably because you are using synapses with a linear dynamics for the state variables. In that case it might be easier to create a synapse at all relevant locations and assume these exist when connecting to them. Only with a very ...
by Raj
Wed Apr 11, 2007 7:31 am
Forum: Other questions
Topic: finding time at instantaneous voltage level
Replies: 11
Views: 7636

Eugene here you have two mod-files (based on Ted's example) to solve the problem and an example to illustrate their use. The first is a distributed implementation, giving you a signed duplicate in every segment of of section, following the changes in the underlying membrane potential. The second mod...
by Raj
Tue Apr 10, 2007 5:15 am
Forum: Other questions
Topic: finding time at instantaneous voltage level
Replies: 11
Views: 7636

That is correct only the last threshold specified will be used, every source has one single threshold. This is based on the reasonable assumption that cells have a single threshold not depending on the postsynaptic target. From the NetCon documentation: http://www.neuron.yale.edu/neuron/static/docs/...
by Raj
Mon Mar 05, 2007 11:45 am
Forum: Getting started
Topic: what's the difference between connect and NetCon?
Replies: 1
Views: 3015

Connect and NetCon cannot be used for the same purpose. Connect sets up an electrical connection between two neighbouring cell compartments thus introducing continuity of the intracellular fluid into the model. This electrical continuity is for some mechanisms extended with a chemical continuity by ...
by Raj
Sat Feb 10, 2007 3:44 pm
Forum: Modeling networks
Topic: Cvode::interpolate assert error
Replies: 5
Views: 5794

I reproduced the problem with version 5.9.10 (1601). Sofar running the same code at other parameter settings gave no problems under version 5.8 2005-10-14 12:36:20 Main (88). To get towards a more (faster) reproducible situation I will have to provide an explicit seed to NetStim at the start of each...
by Raj
Sat Feb 10, 2007 6:31 am
Forum: Other questions
Topic: Random play()
Replies: 4
Views: 4231

Regarding Porio's second point: It seems to me that you have to indicate that your variable 'i' is a current. Depending on what your trying to model or your preference for the sign the current should have, you have the option of using the NONSPECIFIC_CURRENT or the ELECTRODE_CURRENT keyword to do th...