Command Line Interface

Functions related to the command-line interface (CLI) of emg3d.

Consult the CLI interface section in the documentation for more information.

emg3d.cli.main Module

Entry point for the command-line interface (CLI).

Functions

main([args]) Parsing command line inputs of CLI interface.

emg3d.cli.parser Module

Parser for the configuration file of the command-line interface.

Functions

parse_config_file(args_dict) Read and parse the configuration file and set defaults.

emg3d.cli.run Module

Functions that actually call emg3d within the CLI interface.

Functions

check_files(cfg, term) Ensure all paths and files exist.
initiate_logger(cfg, runtime, verb) Initiate logger for CLI of emg3d.
simulation(args_dict) Run emg3d invoked by CLI.