Search found 48 matches

by roybens
Mon Nov 18, 2013 5:59 pm
Forum: Other questions
Topic: Getting the full topology (segments level) from hoc
Replies: 18
Views: 7661

Re: Getting the full topology (segments level) from hoc

regarding the verbatim used in the ri.mod it helps me a lot since now i can get the fmatrix() in any precision i like and the segments level topology (_nt._v_parent_index) so it has been super helpful and answers the question i asked in the topic. here is the mod file i am using now: NEURON { SUFFIX...
by roybens
Sun Nov 17, 2013 4:49 pm
Forum: Other questions
Topic: Getting the full topology (segments level) from hoc
Replies: 18
Views: 7661

Re: Getting the full topology (segments level) from hoc

So in the loop i didn't change the properties of the last Ext section i am pasting the corrected code: objref somaref,secref,extVec,strFunc,stim,g1 strFunc = new StringFunctions() create Exts[1] proc disperseBranch(){localobj sl,conVec,tempSec,existList strdef fatherStr ext_ind=0 forall{ comps = 0 f...
by roybens
Sun Nov 17, 2013 2:07 pm
Forum: Other questions
Topic: Getting the full topology (segments level) from hoc
Replies: 18
Views: 7661

Re: Getting the full topology (segments level) from hoc

Yes! it does help a lot, my bad
Thanks so much!
by roybens
Fri Nov 15, 2013 12:44 pm
Forum: Other questions
Topic: Getting the full topology (segments level) from hoc
Replies: 18
Views: 7661

Re: Getting the full topology (segments level) from hoc

Thank you very much for this, I tried to implement this but when comparing it to the original code (without splitting the branching) i get different results. So i probably got something wrong: So when i set Ra=0 in the additional nodes then the volt is nan, so i changed it to 0.00000001 but the resu...
by roybens
Sat Nov 09, 2013 2:00 pm
Forum: Other questions
Topic: Getting the full topology (segments level) from hoc
Replies: 18
Views: 7661

Re: Getting the full topology (segments level) from hoc

Hi Ted, Thanks for your time, I probably should have been more clear regarding nt._v_parent_index so its a member of the struct NrnThread defined in nrnoc/multicore.h that holds an array of all the indices of the parents for each segment. My goal is to use GPU and CUDA to simulate neuronal models (h...
by roybens
Fri Nov 08, 2013 1:02 am
Forum: Other questions
Topic: Getting the full topology (segments level) from hoc
Replies: 18
Views: 7661

Getting the full topology (segments level) from hoc

Hi, Is there a way to get the whole topology as in which segment compartments are connected? I saw that "nt._v_parent_index" holds this information but how can i get to it from the hoc file Another question: I am trying to make a modify the dendritic tree so there are no segments that has more than ...
by roybens
Thu Sep 13, 2012 1:38 am
Forum: Other questions
Topic: Cell where each node has two children or less
Replies: 3
Views: 1531

Re: Cell where each node has two children or less

Hi Ted, Thanks for your reply. I did check they are the same, actually i copied the same code which loaded the same cell, and in one file i applied the function described in the previous post, i can send the hoc files if necessary. Though they dont have the same number of sections since in the origi...
by roybens
Sun Sep 09, 2012 3:24 am
Forum: Other questions
Topic: Cell where each node has two children or less
Replies: 3
Views: 1531

Cell where each node has two children or less

Hello, I am trying to manipulate my cell so each node would not have more than two children. The only section who has more than two children is the soma - (called a_soma in the code). My thought was to make a section array with the size of the number of children that the soma has, connect between th...
by roybens
Thu Jun 07, 2012 5:04 pm
Forum: Other questions
Topic: Right Hand Side (RHS)
Replies: 1
Views: 1069

Right Hand Side (RHS)

Hello,
I am trying to implement a cell with a fork morphology using HH in Matlab.
I am having problems in computing the RHS from fmatrix(). Where can i find the components that make up the RHS (such as cm*dv/dt ion currents and stimulus)?
Best Regards
Roy
by roybens
Thu May 10, 2012 12:58 pm
Forum: Other questions
Topic: Access to the set of linear equations / Hines matrix
Replies: 2
Views: 2291

Re: Access to the set of linear equations / Hines matrix

Thanks a lot it is very helpfull
by roybens
Wed May 09, 2012 1:56 pm
Forum: Other questions
Topic: Access to the set of linear equations / Hines matrix
Replies: 2
Views: 2291

Access to the set of linear equations / Hines matrix

Hello,

Is there any way to access the Hines matrix in hoc?
That is, the almost tridiagonal set of linear equation, used in, e.g. the cnexp model.

Best regards,
Roy
by roybens
Sat Aug 27, 2011 3:53 pm
Forum: NEURON hacks
Topic: Changing NMODL
Replies: 4
Views: 9343

Re: Changing NMODL

Thank you,
I'll take a look into these files.
by roybens
Tue Aug 23, 2011 9:48 am
Forum: NEURON hacks
Topic: Changing NMODL
Replies: 4
Views: 9343

Re: Changing NMODL

Hi,
The NMODL parser, generates a C code from the mod files.
I want, from the same mode files, generate my own C code.
Meaning, I want only to change the output of the parser.
by roybens
Sun Aug 21, 2011 8:18 am
Forum: NEURON hacks
Topic: Changing NMODL
Replies: 4
Views: 9343

Changing NMODL

Hello,
I want to change the code which is generated by NMODL, I want to generate my own code using NMODL.

Is there anyone who has done something similar or can someone guide me ?

Thank You
by roybens
Fri Dec 04, 2009 11:02 am
Forum: Optimization
Topic: Praxis Verbose
Replies: 5
Views: 9033

Re: Praxis Verbose

I use: attr_praxis(Tolorance, 0.1,0) minchisq=0 NUM_ITER = 0 {minchisq = fit_praxis(NP, "pfunk", &prax_par[0])} PC.post("DONE",iter,NUM_ITER,minchisq) to call praxis but still get lots of verbose tried it on several versions of neuron and still the printmode parameter does not matter to the amount o...