Search found 17 matches

by Feanor
Thu Mar 07, 2019 8:59 am
Forum: Other questions
Topic: See what a vector is recording from ?
Replies: 4
Views: 1127

Re: See what a vector is recording from ?

OK, thank you.
by Feanor
Wed Feb 06, 2019 12:14 pm
Forum: Other questions
Topic: See what a vector is recording from ?
Replies: 4
Views: 1127

Re: See what a vector is recording from ?

It is a very good friend, indeed, but this time I couldn't find the answer in the documentation of the Vector class.
by Feanor
Fri Jan 18, 2019 12:17 pm
Forum: Other questions
Topic: See what a vector is recording from ?
Replies: 4
Views: 1127

See what a vector is recording from ?

Hello to everyone,

my question is about the following scenario. Say we have a vector that is recording from some variable. Is there a way to check what the vector is recording from, like, an attribute or a method in the vector class that returns this information?

Best regards
by Feanor
Thu Jul 06, 2017 5:39 am
Forum: NEURON + Python
Topic: DIfferent results with Neuron + Python and with HOC
Replies: 3
Views: 9868

Re: DIfferent results with Neuron + Python and with HOC

Thank you so much! I wouldn't have guessed.

Daniel
by Feanor
Mon Jun 26, 2017 12:11 pm
Forum: NEURON + Python
Topic: DIfferent results with Neuron + Python and with HOC
Replies: 3
Views: 9868

DIfferent results with Neuron + Python and with HOC

Hello to all! When trying out a ball-and-stick model, one written using nrnpython and the other using HOC, I get different results from each of them. I think I have written the equivalent code statements in each example, and I can't see what is going wrong. The codes are below, and I can send the fi...
by Feanor
Sat May 30, 2015 7:17 am
Forum: Adding new mechanisms and functions to NEURON
Topic: NMDA_S cannot be used with CVODE
Replies: 2
Views: 6366

Re: NMDA_S cannot be used with CVODE

The answer to the question - I didn't find any at the time, but yes, I didn't look thoroughly. Alternatively, yes, starting with the AMPA_S mechanism sounds like the way to go. Thank you!
by Feanor
Tue May 26, 2015 9:30 am
Forum: Adding new mechanisms and functions to NEURON
Topic: NMDA_S cannot be used with CVODE
Replies: 2
Views: 6366

NMDA_S cannot be used with CVODE

Hello to all, I am trying to modify the file nmda2.mod file from http://senselab.med.yale.edu/ModelDB/Sh ... 3808&file=\MyFirstNEURON\nmda2.mod so that it writes the calcium current, ica, and that it responds to an event received by a NetStim. I get the error NMDA_S cannot be used with CVODE I thoug...
by Feanor
Wed May 13, 2015 9:14 am
Forum: Other questions
Topic: What is the argument to set_seed() ?
Replies: 1
Views: 902

What is the argument to set_seed() ?

Hello to all,

what is the argument to the function set_seed() used in pregen.mod, for example? Does it need to be an integer (I don't know about random number generators)? It works with passing a floating point number to it, but is it maybe truncated?

Best regards
by Feanor
Tue May 12, 2015 3:16 pm
Forum: Other questions
Topic: Cvode corrector convergence failed repeatedly
Replies: 7
Views: 7735

Re:

hines wrote: The problem is that cvode set h to a slightly negative value during its investigations and that is an out of domain error for the pow function.
Hello to all,

which pow function does this refer to? Is it the exponentiation function exp used in the end of the mod file?

Best regards
by Feanor
Thu Apr 16, 2015 6:09 pm
Forum: Other questions
Topic: What is the attribute 'number' in NetStim?
Replies: 2
Views: 1505

Re: What is the attribute 'number' in NetStim?

Very well. Before doing it, I will mention what I have tried doing. A neuron with many excitatory synapses receiving Poisson input trains. The interval for a NetStim, representing the Poisson train is set as the inverse of a rate, and the number of spikes as (rate * stimtime), where stimtime is the ...
by Feanor
Sat Apr 11, 2015 6:31 pm
Forum: Other questions
Topic: What is the attribute 'number' in NetStim?
Replies: 2
Views: 1505

What is the attribute 'number' in NetStim?

Hello to all, I don't understand what the field 'number' in NetStim is. http://www.neuron.yale.edu/neuron/static/new_doc/modelspec/programmatic/mechanisms/mech.html?highlight=netstim#NetStim Does it refer to the (average) number of events to be generated during the whole period where NetStim is to b...
by Feanor
Sat Mar 07, 2015 2:13 pm
Forum: Adding new mechanisms and functions to NEURON
Topic: programatically changing the temperature
Replies: 8
Views: 11269

Re: programatically changing the temperature

Hello ted, it was/is helpful, because knowing that I continued searching where the error is. Thank you. I have another question on the same topic: is the part if (cvode.active()) { cvode.re_init() } else { fcurrent() } necessary for this example (changing the weights of NetCons)? The results look th...
by Feanor
Mon Mar 02, 2015 11:09 pm
Forum: Adding new mechanisms and functions to NEURON
Topic: programatically changing the temperature
Replies: 8
Views: 11269

Re: programatically changing the temperature

Hello to all, i would like to change the weight of a NetCon (i.e. many NetCon objects) at a point during the simulation. Would sending an event via cvode.event() be the way to do it? I have tried it, without success, and am wondering if I am not doing it properly or if it is not the way to go. Best ...