Search found 68 matches

by stephanmg
Fri Apr 05, 2019 1:07 pm
Forum: OS X
Topic: Installation problem Neuron
Replies: 36
Views: 53281

Re: Installation problem Neuron

Thank you very much. I'll forward this to my colleagues who try to build it - I presume they still have the old source code and did not update it. Kind Regards, SG stephanmg: that post is more than half a year old. Chances are that the "library deprecated out of existence" issue has been r...
by stephanmg
Fri Apr 05, 2019 12:26 pm
Forum: OS X
Topic: Installation problem Neuron
Replies: 36
Views: 53281

Re: Installation problem Neuron

Greetings! Will it be necessary to apply the patch you posted below to the source? Or will be the --with-readline=no option enough to get rid of the error Symbol not found: _rl_event_hook ? Kind Regards, SG If installing from sources, use the configure option --with-readline=no Also a library I used...
by stephanmg
Tue Apr 28, 2015 6:14 am
Forum: Other questions
Topic: Start NEURON and load MOD files
Replies: 3
Views: 4439

Re: Start NEURON and load MOD files

Thanks, this helps a lot.

Best regards,
Stephan
by stephanmg
Mon Apr 27, 2015 5:18 am
Forum: Other questions
Topic: Start NEURON and load MOD files
Replies: 3
Views: 4439

Start NEURON and load MOD files

Dear Users, I've come up with a question: I need to start NEURON from let's say the directory /foo/bar/ but i have my mod files in /ext/dir/ - how would i load the mod files? Please note, I'm using ivocmain for initializing NEURON in a custom cpp project. Best regards and thanks in advance, Stephan
by stephanmg
Mon Mar 16, 2015 7:25 am
Forum: Other questions
Topic: HOC grammar
Replies: 1
Views: 1550

HOC grammar

Dear NEURON users,

it's been a while when i asked my last question here, now I'm back with some small question:

For the .hoc files there must be available a parser in NEURON.
I'm wondering where I could fine a grammar for this parser (probably (E)BNF would be great).

Best regards,
Stephan
by stephanmg
Fri Aug 15, 2014 4:05 am
Forum: Adding new mechanisms and functions to NEURON
Topic: use a hoc statement to "load" a compiled mechanism?
Replies: 6
Views: 4514

Re: use a hoc statement to "load" a compiled mechanism?

Hey, i just want to let you know some issue, maybe you can help out again dear users. If i'm compiling my NEURON from the hg repository as indicated above dynamically, everything fine. That is, i compile a mod file and then i can load it. If i'm compiling my NEURON from the hg repository instead as ...
by stephanmg
Fri Aug 15, 2014 3:58 am
Forum: Other questions
Topic: Possible precision problem
Replies: 8
Views: 5743

Re: Possible precision problem

Thanks,

i found a bug in our code! :)

Best regards,
Stephan
by stephanmg
Fri Aug 15, 2014 2:48 am
Forum: Other questions
Topic: Possible precision problem
Replies: 8
Views: 5743

Re: Possible precision problem

Dear Ted, that's interesting. I'm using in my C code the expression hoc_valid_stmt("a_bla = 0.123456789", 0); Then, if i retrieve it with: double hoc_ac_; hoc_valid_stmt("hoc_ac_ = a_bla"); I receive again lower precision, i. e. 0.123456 for example. Is this to be expected? Thank...
by stephanmg
Thu Aug 14, 2014 12:39 pm
Forum: Other questions
Topic: Possible precision problem
Replies: 8
Views: 5743

Re: Possible precision problem

Could it be related to this issue, maybe? => http . . . 2. Refuse to accept biological reality. If some parameter really must be specified to > 5-6 place precision, do that assignment in hoc or Python. Or you could insert a statement like a = 0.123456789 in the NMODL code's INITIAL block. This &quo...
by stephanmg
Mon Aug 11, 2014 2:59 am
Forum: Other questions
Topic: Possible precision problem
Replies: 8
Views: 5743

Re: Possible precision problem

Dear Ted,

that is great, thanks, and it explains the issue.

Thanks in advance,
Stephan
by stephanmg
Fri Aug 08, 2014 3:19 pm
Forum: Other questions
Topic: Possible precision problem
Replies: 8
Views: 5743

Re: Possible precision problem

Yes, i'm sorry for the imperfect description. But you got it nevertheless. Thank you so much.

HTH.

Best
Stephan
by stephanmg
Fri Aug 08, 2014 11:31 am
Forum: Other questions
Topic: Possible precision problem
Replies: 8
Views: 5743

Possible precision problem

Dear NEURON users, we're facing a strange problem: The precision of a variable we retrieve from a .hoc file is different from a .modl file, i. e.: let's consider variable foo with value 0.123456789, retrieving it from hoc we receive the full length, i. e. 0.123456789, whereas when the variable foo i...
by stephanmg
Thu Jul 17, 2014 2:48 am
Forum: Other questions
Topic: Import SWC file from NeuroMorpho -> Export as HOC file
Replies: 9
Views: 6611

Re: Import SWC file from NeuroMorpho -> Export as HOC file

Thanks,

to understand it fully, this means, that, if I would add by pt3dadd() points to a section, i implicit define an order of the points along the section, right?

Best,
Stephan
by stephanmg
Wed Jul 16, 2014 11:12 am
Forum: Other questions
Topic: Import SWC file from NeuroMorpho -> Export as HOC file
Replies: 9
Views: 6611

Re: Import SWC file from NeuroMorpho -> Export as HOC file

Hi Stephan, check out the part of the NEURON documentation about n3d() , x3d(i), y3D(i) and z3d(i)... sounds like that's what you're looking for. These functions return the x/y/z coordinate of the ith point along the currently accessed section - so x=0 would be i=0, and x=1 would be i=n3d()-1. chee...
by stephanmg
Wed Jul 16, 2014 6:58 am
Forum: Other questions
Topic: Import SWC file from NeuroMorpho -> Export as HOC file
Replies: 9
Views: 6611

Re: Import SWC file from NeuroMorpho -> Export as HOC file

Follow up question,
hopefully this is not in the wrong place... feel free to move it around.

Thank you so much,
Ted & the whole forum