Search found 10 matches

by tine
Wed Jan 21, 2015 12:43 pm
Forum: NEURON + Python
Topic: how to save a segment list in a pkl file
Replies: 2
Views: 3188

how to save a segment list in a pkl file

Dear all, I am running a simulation, where among others the voltage of different dendrite segments is calculated and saved in a pkl file. This is all done in the main.py file. Afterwards the analysis.py script opens this pkl script, and analyses the data and makes figures. This all worked fine, but ...
by tine
Thu Oct 25, 2012 2:26 am
Forum: Anatomically detailed models
Topic: only plot dendrites in shape plot
Replies: 2
Views: 2325

only plot dendrites in shape plot

dear all,

I have a model which contains both axons and dendrites and a soma. For demonstration purposes I want to make a shapeplot of soma and dendrites only. Does any body has any suggestions how to do this?

thanks
by tine
Wed Jan 18, 2012 2:15 am
Forum: Anatomically detailed models
Topic: Measuring total membrane current in multicompartment model
Replies: 5
Views: 6283

Re: Measuring total membrane current in multicompartment mod

I am not sure if it is possible to have them both simultaneously. If I have the most simple model, namely only soma, load_file("nrngui.hoc") create soma soma.nseg=1 soma.diam=20 soma.L=20 soma.Ra=123 insert hh objectvar elec_Iclamp soma elec_Iclamp= new IClamp(0.5) elec_Iclamp.amp=0.1 elec...
by tine
Thu Jan 05, 2012 4:53 am
Forum: Anatomically detailed models
Topic: Measuring total membrane current in multicompartment model
Replies: 5
Views: 6283

Re: Measuring total membrane current in multicompartment mod

Dear Ted, Thanks for your quick response. I conceptually understand your solution but I end up with SEClamp.i=0. Can you help me where my error is? I inserted an Iclamp to insert tonic current step objectvar stim300 apic[14] stim300 = new IClamp(0.36) stim300.del = 50 stim300.dur = 200 stim300.amp =...
by tine
Wed Jan 04, 2012 8:52 am
Forum: Anatomically detailed models
Topic: Measuring total membrane current in multicompartment model
Replies: 5
Views: 6283

Measuring total membrane current in multicompartment model

Dear all, For a demonstration I want to show the attenuation of a tonic currents at some specific locations in the dendrites to the soma. My plan of action is - insert Iclamp at a specific location of the dendrites (for example 100 microm) and insert a long step of 10 pA - measure currents at the so...
by tine
Fri Sep 09, 2011 5:23 am
Forum: Anatomically detailed models
Topic: Square like soma: pt3dadd and diam_shape()
Replies: 5
Views: 4310

Square like soma: pt3dadd and diam_shape()

Oops, I must have clicked on the "edit" button, not the "reply" button. Sorry! Your original procedure was proc shape3d_1() { soma { pt3dclear() pt3dadd(3.99799, -13.8169, 0, 3.78114) pt3dadd(3.6609, -12.5621, 0, 6.52282) pt3dadd(3.32381, -11.3073, 0, 9.30135) pt3dadd(2.98671, -1...
by tine
Fri Sep 09, 2011 4:55 am
Forum: Anatomically detailed models
Topic: scalebar in shapeplot
Replies: 1
Views: 4824

scalebar in shapeplot

Dear all,

I would like to add a scalebar in my shapeplot before exporting it to a postscript. How could I do this?

Thanks a lot, Martine
by tine
Wed Jan 19, 2011 12:28 pm
Forum: Anatomically detailed models
Topic: Exporting rangeVar into .dat file
Replies: 3
Views: 3604

Re: Exporting rangeVar into .dat file

Thanks a lot for the answers. Your answer to the second question was easy to implement and is working fine. For the first question, saving the data in a big matrix, I still have some difficulties. objref savdata2,tempmatrix2 proc open_outputfile_RangeVar(){ tempmatrix2=new Matrix() tempmatrix2.resiz...
by tine
Sun Jan 16, 2011 4:54 am
Forum: Anatomically detailed models
Topic: Exporting rangeVar into .dat file
Replies: 3
Views: 3604

Exporting rangeVar into .dat file

Dear all, I have two questions relating Rangevar. 1) I want to save the values plotted in the rangevar plot into a data file, using hoc coding. Currently I have this piece of code: before run() and after defining the cell's morphology and electrophysiology // Make range variable and put it into vect...