Analytical modelling of temperature effects on an AMPA-type synapse (Kufel & Wojcik 2018)

 Download zip file 
Help downloading and running models
Accession:239072
This code was used in the construction of the model developed in the paper. It is a modified version of the simulation developed by Postlethwaite et al. 2007 - for details of modifications refer to the main body of Kufel & Wojcik (2018).
Reference:
1 . Kufel DS, Wojcik GM (2018) Analytical modelling of temperature effects on an AMPA-type synapse. J Comput Neurosci 44:379-391 [PubMed]
Model Information (Click on a link to find other models with that property)
Model Type: Synapse;
Brain Region(s)/Organism:
Cell Type(s):
Channel(s):
Gap Junctions:
Receptor(s): AMPA;
Gene(s):
Transmitter(s): Glutamate;
Simulation Environment: MCell; Python;
Model Concept(s): Methods; Temperature;
Implementer(s): Kufel, Dominik [dominic.kufel at gmail.com];
Search NeuronDB for information about:  AMPA; Glutamate;
#Author D.Kufel
#Date: 09/08/2016
'''
File to analyze the data from the Monte Carlo simulation - calculating the average fraction of channels in any state. Used to find the fraction of unbound channels (Figure 4).
'''
statelist=["C0","C1","C2","C3","C4","O1","O2","O3","O4","D1","D2","D3","D4"]
for state in statelist:
	file=open("Average_AMPA_"+state+"_25.dat",'w')

	import csv

	listaverages=[]

	csv_reader0=csv.reader(open("AMPAR_"+state+"_001_001.dat"),delimiter=" ")
	for row in csv_reader0:
		listaverages.append(float(row[1]))

	for vesicle in range(1,10):
		for run_number in range(1,41):
			if vesicle!=1 and run_number!=1:
				nStrv=str(vesicle).rjust(3, '0')  
				nStrr=str(run_number).rjust(3, '0') 
				name="AMPAR_"+state+"_"+nStrv+"_"+nStrr+".dat"
				print(name)
				csv_reader=csv.reader(open(name), delimiter=" ")
				counter=0
				for row in csv_reader:
					listaverages[counter]+=float(row[1])
					counter+=1

	i=0
	for k in listaverages:
		file.write(str(i))
		file.write(" ")
		file.write(str(k/360.))
		file.write("\n")
		i+=1

Loading data, please wait...