Search found 8 matches

by virtualkss
Wed Jul 20, 2022 10:05 pm
Forum: NEURON + Python
Topic: Can the simulation results of Python and HOC be different?
Replies: 5
Views: 12781

Re: Can the simulation results of Python and HOC be different?

Dear Ted I have sent my code to your e-mail. But I seem to have found the problem in my code. "h.celsius" should not be placed after "h.finitialze()". I noticed that "h.celsius()" was used in "h.finitialize()" for the NMODL (.mod file) initialization. I misund...
by virtualkss
Tue Jul 19, 2022 5:16 am
Forum: NEURON + Python
Topic: Can the simulation results of Python and HOC be different?
Replies: 5
Views: 12781

Re: Can the simulation results of Python and HOC be different?

The problem was not resolved. As I mentioned above, even if I set up "h.celsius" properly, there is still a problem where the execution results of the HOC and Python code are different. The cause of the problem seems to be in the "hh2.mod" file. This problem did not occur when t...
by virtualkss
Tue Jul 19, 2022 12:13 am
Forum: NEURON + Python
Topic: Can the simulation results of Python and HOC be different?
Replies: 5
Views: 12781

Re: Can the simulation results of Python and HOC be different?

I debug using the method you suggested. This problem is not due to a programmatic error, but entirely to my mistake. The cause of the problem was the execution order of the Python code I wrote. From the Python code I wrote, h.finitialize(-65) h.dt = 0.2 h.continuerun(50) h.celsius = 30 In order for ...
by virtualkss
Mon Jul 18, 2022 5:56 am
Forum: NEURON + Python
Topic: Can the simulation results of Python and HOC be different?
Replies: 5
Views: 12781

Can the simulation results of Python and HOC be different?

Hello, I wrote a simple simulation code in two different versions (Python, HOC). I'm curious as to why the execution results are different. The content of the simulation code is to provide a step current input to a single compartment cell model and to draw a graph of the membrane potential. The code...
by virtualkss
Tue Jul 06, 2021 9:48 pm
Forum: Getting started
Topic: Can "nrniv" or "nrngui" command accept multiple argument?
Replies: 2
Views: 7634

Re: Can "nrniv" or "nrngui" command accept multiple argument?

Thank you very much!

In my case, I can script running of nrniv with -c option.

Code: Select all

nrniv -c "a=1" -c "b=2" test.hoc
Thank you for the information.

Sincerely,

Kisung Shin
by virtualkss
Thu Jul 01, 2021 12:10 am
Forum: Getting started
Topic: Can "nrniv" or "nrngui" command accept multiple argument?
Replies: 2
Views: 7634

Can "nrniv" or "nrngui" command accept multiple argument?

Hello, I am trying Python scripting to do multiple simulations by modifying only a few parameters in one hoc code. I usually type the following command in terminal on Ubuntu Linux when running NEURON. nrniv mosinit.hoc or nrngui mosinit.hoc Can the "nrniv" or "nrngui" command acc...
by virtualkss
Wed Jun 30, 2021 9:45 pm
Forum: NEURON hacks
Topic: Document related to NMODL
Replies: 2
Views: 9251

Re: Document related to NMODL

I think it will be very helpful for my study!

Thank you for the information.

Sincerely,

Kisung Shin
by virtualkss
Tue May 04, 2021 3:07 am
Forum: NEURON hacks
Topic: Document related to NMODL
Replies: 2
Views: 9251

Document related to NMODL

Hello, I am trying to implement synaptic mechanism in .mod file using NMODL. However, neither the NEURON book nor the documentation at NEURON HOC documentation(https://neuronsimulator.github.io/nrn/new_doc/index.html) seems to have an explanation of the each syntax like "net_send()" or &qu...