Usage of Celsius

Anything that doesn't fit elsewhere.
Post Reply
shyam_u2
Posts: 77
Joined: Sun Feb 20, 2011 7:15 pm

Usage of Celsius

Post by shyam_u2 » Thu Jul 04, 2013 12:13 pm

I have a network model with two separate population of neurons without any connection with each other. I am running the model in mpi environment. Population 1 rests at 23 C and population 2 at 30 C. I assign their temperature using the keyword 'celsius'. I observe that the spiking behivour of Population 1 is drastically affected (frequency and spike shape changes). The spiking behaviour of population 1 is restored to its control value when I make the both the population resting at same temparature or when I restrain using keyword 'celsius' in Population 2( Here I declare the temparature of Population 2 in its mechanisms mod files using a different variable (not 'celsius')). What do you think of this ? Isn't it odd that the usage of keyword 'celsius' in one population affects the behaviour of other eventhough they are not connected with each other.

regger
Posts: 21
Joined: Sun Apr 22, 2012 9:49 pm

Re: Usage of Celsius

Post by regger » Fri Jul 05, 2013 6:05 am

As far as I'm aware, celsius is a global variable in hoc, meaning it has the same value everywhere in your NEURON session.
If you want to assign different temperatures to different populations, you could declare a RANGE variable 'local_temperature' in all your NMODL files that are affected by temperature, set the temperature value for each instance of this mechanism separately and replace the keyword celsius in the NMODL files with 'local_temperature' (most likely in various rate functions...).
Not sure if this is the best/most elegant solution, but it should accomplish what you want...

ted
Site Admin
Posts: 5590
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: Usage of Celsius

Post by ted » Sun Jul 07, 2013 4:35 pm

regger wrote:As far as I'm aware, celsius is a global variable in hoc, meaning it has the same value everywhere in your NEURON session.
True.
If you want to assign different temperatures to different populations, you could declare a RANGE variable 'local_temperature' in all your NMODL files that are affected by temperature, set the temperature value for each instance of this mechanism separately and replace the keyword celsius in the NMODL files with 'local_temperature' (most likely in various rate functions...).
This would work.

Post Reply