setup_myogen#
- myogen.utils.setup_myogen(verbose=True, force_nmodl_reload=False)[source]#
Set up MyoGen with automatic configuration.
This function handles all necessary setup including NMODL compilation and loading. Users should call this once at the start of their script for best results.
- Parameters:
- Returns:
True if setup was successful, False otherwise
- Return type:
Example
>>> from myogen.utils import setup_myogen >>> setup_myogen() >>> from myogen import simulator # Now safe to import