Search found 6393 matches

by ted
Fri Jun 30, 2006 12:08 am
Forum: Getting started
Topic: Neuron in shape plot not in cellBuilder
Replies: 12
Views: 13586

The message seems to indicate that you have to build the cell outside of a template to be able to import it. Exactly so. The CellBuilder can only import a cell whose sections are "top- level" (i.e. not encapsulated in an object). Just peel away the "boilerplate" statements that ...
by ted
Thu Jun 29, 2006 11:41 am
Forum: Getting started
Topic: troubleshooting question.... saving a session
Replies: 6
Views: 7623

Good point, Raj. The field at the bottom of the "save file" tool is only a "filter field" i.e. it allows you to restrict the kinds of files that are displayed (*.ses will show only ses files, *.* will show all files in a directory). The field at the top of the save file tool is w...
by ted
Thu Jun 29, 2006 1:55 am
Forum: Adding new mechanisms and functions to NEURON
Topic: NMODL question
Replies: 1
Views: 3835

Re: NMODL question

Once you write code in NMODL can you use the graphical interface to see what you have created? Yes. Compile the NMODL file, then run NEURON with that directory as the working directory. The new mechanism will automatically appear in all tools that are used to manage distributed mechanisms and point...
by ted
Thu Jun 29, 2006 1:35 am
Forum: Getting started
Topic: troubleshooting question.... saving a session
Replies: 6
Views: 7623

Can't write to c:\

Under WinXP, ordinary users do not have write permission in c:\
by ted
Thu Jun 29, 2006 1:18 am
Forum: Adding new mechanisms and functions to NEURON
Topic: error message when running mkrndll
Replies: 4
Views: 5095

The error message means that NMODL doesn't know anything about Na. The reserved symbol for sodium is na. Unless there is a very good reason to "invent" a "new" ionic species, the mod file should declare USEION na READ ena WRITE ina If you decide that it is absolutely necessary to...
by ted
Wed Jun 28, 2006 12:27 pm
Forum: Getting started
Topic: Is there any vector show the total current?
Replies: 1
Views: 3729

If you insert the extracellular mechanism, you can get total membrane current from its i_membrane. However, that includes capacitive current. If you only want ionic currents, you must add them up yourself. The most efficient way to do that is to use Vector record() to capture each ionic current duri...
by ted
Wed Jun 28, 2006 12:40 am
Forum: UNIX/Linux
Topic: problems on a 64bit machine
Replies: 3
Views: 7860

Re: compiling

Also, when I'm compiling I always get this error: Dunno about this one. Given what we know about the aforementioned hoc file, my suspicion is that the mod file is at fault--but can't be sure without seeing it. If you email it to me ted dot carnevale at yale dot edu then I can have an informed opini...
by ted
Wed Jun 28, 2006 12:36 am
Forum: UNIX/Linux
Topic: problems on a 64bit machine
Replies: 3
Views: 7860

Re: problems on a 64bit machine

dlopen("libjvm.so") failed: libjvm.so: cannot open shared object file: No such file or directory JNI_CreateJavaVM returned -1 Info: optional feature Java VM is not present. This is meaningless unless you are one of the handful of people who are using Java with NEURON. oc>/usr/local/nrn/i6...
by ted
Tue Jun 27, 2006 11:42 am
Forum: Getting started
Topic: Neuron in shape plot not in cellBuilder
Replies: 12
Views: 13586

Importing a model cell into the CellBuilder

How to import into the CellBuilder is described in the CellBuilder tutorial that you will find on NEURON's Documentation WWW page http://www.neuron.yale.edu/neuron/docs Caveats: Import into the CellBuilder gets topology and 3D information, but does NOT get stylized (L, diam) specification of geometr...
by ted
Mon Jun 26, 2006 4:34 pm
Forum: Adding new mechanisms and functions to NEURON
Topic: error message when running mkrndll
Replies: 4
Views: 5095

The mod file uses a STATE called j. When this mod file is translated to C, the symbol j0 is automatically generated (for every user-declared STATE x, the NMODL translator generates a corresponding initial condition variable called x0). This conflicts with a predefined symbol j0 (j0 is reserved for o...
by ted
Sun Jun 25, 2006 7:07 pm
Forum: Adding new mechanisms and functions to NEURON
Topic: error message when running mkrndll
Replies: 4
Views: 5095

Identifying the cause of the problem requires examination of the NMODL
code. If regard it as proprietary, or if it is more than ~30 lines long,
you may email it to me at
ted dot carnevale at yale dot edu
if you wish me to examine it.
by ted
Sun Jun 25, 2006 11:52 am
Forum: Other questions
Topic: Subscript out of range and Segment ation violation error?
Replies: 9
Views: 12877

Raj wrote:As long as they are switched on and off synchronously
That isn't to say that their current pulses must turn on and off at the same
time. Offhand I can't imagine a situation in which it would be useful to _not_
set up their parameters and events in a single procedure.
by ted
Sat Jun 24, 2006 9:56 pm
Forum: Other questions
Topic: Subscript out of range and Segment ation violation error?
Replies: 9
Views: 12877

Raj is correct about the cause of the problem and the clue to a workaround. But you know how many stim you need to configure, what params you want them to have, and the times at which you want to stuff events, so why not do all this at one time? Change proc initi() so that it iterates over all of th...
by ted
Sat Jun 24, 2006 9:31 pm
Forum: Modeling networks
Topic: how to use SaveState()?
Replies: 18
Views: 31145

Separate model specification from state restoration. The code that recreates the model must be executed before the code that restores states. One way to ensure that this happens is to use an init.hoc file that contains a sequence of load_file() statements that first recreate the model, and then as i...
by ted
Wed Jun 21, 2006 9:42 pm
Forum: Getting started
Topic: Complex Voltage Clamp
Replies: 6
Views: 8292

The Vector class's play() method can be used to drive any variable with an arbitrary waveform. Read about it http://www.neuron.yale.edu/neuron/static/docs/help/neuron/general/classes/vector/vect.html#play Also see this item SEClamp and IClamp just deliver rectangular step waveforms. How can I make t...