MyoGen Core#

This module contains the core MyoGen package-level functions and objects for random number generation and setup.

set_random_seed([seed])

Set the random seed for reproducibility.

load_nmodl_mechanisms([quiet, strict])

Load pre-compiled NMODL mechanisms into current NEURON session.

Global Objects#

RANDOM_GENERATOR: Generator#

Global random number generator for reproducibility across MyoGen simulations.

This is a numpy.random.Generator instance initialized with the default seed. Use set_random_seed() to change the seed for reproducible simulations.

SEED: int#

Default random seed value (180319) used to initialize RANDOM_GENERATOR.