Changing parameters in NMODL files from within a Python script?

When Python is the interpreter, what is a good
design for the interface to the basic NEURON
concepts.

Moderator: hines

Post Reply
espenh
Posts: 1
Joined: Fri Aug 18, 2023 7:39 am

Changing parameters in NMODL files from within a Python script?

Post by espenh »

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 specific rate constant for a channel implemented as a Markov scheme without having to generate separate NMODL files for each rate constant value.

Thanks a lot for your help,
Espen
Post Reply