syntax error:

Illegal expression:

Illegal statement:

Illegal block at line 114 in file Isinunoisy.mod

if ((t%1000)>500) {

^

make: *** [Isinunoisy.c] Error 1

The above is the error information. However, I can use % in the terminal.

## Search found 24 matches

- Mon Apr 16, 2018 8:18 am
- Forum: Getting started
- Topic: modulus in the mod file
- Replies:
**3** - Views:
**878**

- Thu Apr 12, 2018 12:37 am
- Forum: Getting started
- Topic: modulus in the mod file
- Replies:
**3** - Views:
**878**

### modulus in the mod file

Hi,

I am trying to use the built-in expression % to compute the modulus in mod file. However, there are errors for the compilation of the mod files. I have tried this expression in GUI. It works perfectly. Can anybody tell me why? Thanks.

I am trying to use the built-in expression % to compute the modulus in mod file. However, there are errors for the compilation of the mod files. I have tried this expression in GUI. It works perfectly. Can anybody tell me why? Thanks.

- Tue Aug 22, 2017 8:41 am
- Forum: Getting started
- Topic: Suggestion for dynamic synaptic inputs
- Replies:
**6** - Views:
**8773**

### Re: Suggestion for dynamic synaptic inputs

once the cell receives stimulus, the presynaptic input firing rate (signal) is like a sinusoidal wave FR = sin((t-stimulus_onset)/10), when t<stimulus_onset or t>stimulus_onset+10*pi. sin((t-stimulus_onset)/10) is negative half of the time. Would you like to revise the expression for firing rate? Y...

- Mon Aug 21, 2017 9:44 pm
- Forum: Getting started
- Topic: Suggestion for dynamic synaptic inputs
- Replies:
**6** - Views:
**8773**

### Re: Suggestion for dynamic synaptic inputs

To go any further, you will have to provide a mathematical description of the effect of a stimulus on presynaptic firing rate. It would be best if your description is based on experimental evidence. Yes, I am trying to simulate the cell spiking in vivo. It includes two stages, the resting state and...

- Sun Aug 20, 2017 9:05 pm
- Forum: Getting started
- Topic: Suggestion for dynamic synaptic inputs
- Replies:
**6** - Views:
**8773**

### Re: Suggestion for dynamic synaptic inputs

Thanks Ted. The second one would be the question.ted wrote:What do you need help with--attaching a bunch of synapses to a model cell, or making the presynaptic firing rates change in a way that represents the effect of a stimulus?

- Tue Aug 15, 2017 11:07 pm
- Forum: Getting started
- Topic: Suggestion for dynamic synaptic inputs
- Replies:
**6** - Views:
**8773**

### Suggestion for dynamic synaptic inputs

I have built a cell model and now I want to do the in vivo simulations. When the animal is at resting condition, there are only spontaneous/background synaptic inputs. To make it simple, I assume there are 1000 synaptic contacts uniformly formed on the dendrite from another type of cells. At resting...

- Thu Jan 05, 2017 7:27 pm
- Forum: Other questions
- Topic: calculating impedance at different frequencies
- Replies:
**2** - Views:
**4475**

### Re: calculating impedance at different frequencies

Impedance is calculated in the frequency domain from the Laplace transformation of the spatially discretized cable equation. As mentioned here https://www.neuron.yale.edu/phpBB/viewtopic.php?f=8&t=3515&p=14922 the second argument to the Impedance class's compute() method specifies whether voltage-d...

- Wed Jan 04, 2017 2:40 am
- Forum: Other questions
- Topic: calculating impedance at different frequencies
- Replies:
**2** - Views:
**4475**

### calculating impedance at different frequencies

I am wondering how Neuron compute the impedance at different frequencies. I mean if I write the hoc code myself, Obviously I need to exert an input signal and then record the change of the membrane potential. For 0 HZ input impedance, it is easy to understand. What is the input signal for NEURON to ...

- Tue Jun 14, 2016 8:54 am
- Forum: Reaction-diffusion in NEURON
- Topic: How to solve the calcium summation problem?
- Replies:
**5** - Views:
**9293**

### Re: How to solve the calcium summation problem?

I am glad to provide whatever advice I can that would help you and your advisor achieve your goals. Much of it I have already provided. However my primary obligations will consume nearly all of my effort for the next three weeks, and even after that I will not have the time to take on a new modelin...

- Sun Jun 12, 2016 10:44 pm
- Forum: Reaction-diffusion in NEURON
- Topic: How to solve the calcium summation problem?
- Replies:
**5** - Views:
**9293**

### Re: How to solve the calcium summation problem?

The more detail that is included in a model, the more difficulty there is in selecting model parameters and getting desired results. That's why so many computational neuroscience models don't bother with ion accumulation--it is just assumed that concentrations are constant. Many modelers have used ...

- Wed May 25, 2016 11:32 pm
- Forum: Reaction-diffusion in NEURON
- Topic: How to solve the calcium summation problem?
- Replies:
**5** - Views:
**9293**

### Re: How to solve the calcium summation problem?

Thanks for the reply. Yes, the simple calcium handling mechanism do make the problem more simple.

- Mon May 16, 2016 4:00 am
- Forum: Reaction-diffusion in NEURON
- Topic: How to solve the calcium summation problem?
- Replies:
**5** - Views:
**9293**

### How to solve the calcium summation problem?

When using the detailed calcium handling mechanism including the buffering and diffusion, I met a problem to simulate the repetitive firing of the soma in Purkinje cell. Let's take the example of cdp model in the NEURON BOOK, there will be a long tail part for the decay of the calcium transient. For...

- Wed Jan 06, 2016 1:45 am
- Forum: Reaction-diffusion in NEURON
- Topic: calcium diffusion in different shells
- Replies:
**8** - Views:
**6137**

### Re: calcium diffusion in different shells

Thanks for the reply. Yes, I am collaborating with other experimentalist and I will contact him to get more details. Thanks again.

- Mon Jan 04, 2016 2:35 am
- Forum: Reaction-diffusion in NEURON
- Topic: calcium diffusion in different shells
- Replies:
**8** - Views:
**6137**

### Re: calcium diffusion in different shells

I hope to compare the model computed calcium transients including the amplitude, rise and decay dynamics with experimental observations. I think experimentally measured calcium-bounded dye signal should represent the average concentration.Sure, but the average of what? 1. Is all of the dye in the c...

- Thu Dec 31, 2015 8:55 pm
- Forum: Reaction-diffusion in NEURON
- Topic: calcium diffusion in different shells
- Replies:
**8** - Views:
**6137**

### Re: calcium diffusion in different shells

Thanks for ramcdougal and Ted's explanation. I hope to compare the model computed calcium transients including the amplitude, rise and decay dynamics with experimental observations. I think experimentally measured calcium-bounded dye signal should represent the average concentration. Is this correct...