macro_eeg_model.config.configs

macro_eeg_model.config.configs#

Functions#

get_simulate_config()

First parses command line arguments using get_parsed_args(), then

get_parsed_args()

Parses command line arguments using src.config.parser.Parser.parse_args().

Module Contents#

macro_eeg_model.config.configs.get_simulate_config()[source]#

First parses command line arguments using get_parsed_args(), then creates an instance of the src.config.model_config.ModelConfig class based on the parsed arguments.

Returns:

A tuple containing:

  • config (ModelConfig): The configuration object for the simulation.

  • model_name (str): The name of the model as specified in the command line arguments.

  • n (int): The number of simulations to run, as specified in the command line arguments.

Return type:

tuple

macro_eeg_model.config.configs.get_parsed_args()[source]#

Parses command line arguments using src.config.parser.Parser.parse_args().

Returns:

The parsed command line arguments as an argparse.Namespace object.

Return type:

argparse.Namespace