Search found 51 matches

by roybens
Tue Aug 23, 2011 9:48 am
Forum: NEURON hacks
Topic: Changing NMODL
Replies: 4
Views: 9544

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: 9544

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: 9254

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 no...
by roybens
Fri Dec 04, 2009 7:14 am
Forum: Optimization
Topic: Praxis Verbose
Replies: 5
Views: 9254

Re: Praxis Verbose

Thanks for the fast reply the problematic line is minchisq = fit_praxis(NP, "pfunk", &prax_par[0]) when i put the statement in brackets {minchisq = fit_praxis(NP, "pfunk", &prax_par[0])} i still get chunks of praxis output like this: After 73 linear searches, the function...
by roybens
Wed Dec 02, 2009 5:28 am
Forum: Optimization
Topic: Praxis Verbose
Replies: 5
Views: 9254

Praxis Verbose

Hello I am trying to run multiple runs of praxis using mpi, the problem is that I can't cancel printing using printmode= 0 at attr_praxis function and the logfiles gets HUGE and causing problems in our cluster. Am I using the function correctly? Is there any other way to omit the output to the scree...
by roybens
Fri Mar 14, 2008 8:11 am
Forum: Adding new mechanisms and functions to NEURON
Topic: Adding C code in a model file
Replies: 1
Views: 2377

Adding C code in a model file

Hello All, For my simulation i need a RNG(Random Number Generator) which is not included in neuron (Levy Distribution). I wrote a mod file with the c code that will invoke the method gsl_ran_levy. the function gsl_ran_levy is part of the GSL Library located under usr/local/gsl. After building the mo...