Search found 2 matches

by espenh
Wed Jun 11, 2025 3:17 am
Forum: NEURON + Python
Topic: Changing parameters in NMODL files from within a Python script?
Replies: 3
Views: 36339

Re: Changing parameters in NMODL files from within a Python script?

Thanks a lot urid and Ted.
I think Ted's answer is the one that directly addresses the essence of my question.
Very helpful, I will see how far this takes me.
Espen
by espenh
Tue Feb 25, 2025 12:39 pm
Forum: NEURON + Python
Topic: Changing parameters in NMODL files from within a Python script?
Replies: 3
Views: 36339

Changing parameters in NMODL files from within a Python script?

Hi, How can you change (e.g., by looping over a range of values) a parameter of an NMODL file (compiled and made available to NEURON) from within a Python script used to run a compartmental model that uses the NMODL mechanism? One example could be that you want to explore the effect of changing a sp...