Command Line Interface

apax.cli.apax_app.docs()[source]

Opens the documentation website in your browser.

apax.cli.apax_app.eval(train_config_path: Path = <typer.models.ArgumentInfo object>, n_data: int = <typer.models.OptionInfo object>)[source]

Starts performing the evaluation of the test dataset with parameters provided by a configuration file.

apax.cli.apax_app.md(train_config_path: Path = <typer.models.ArgumentInfo object>, md_config_path: Path = <typer.models.ArgumentInfo object>, log_level: str = <typer.models.OptionInfo object>)[source]

Starts performing a molecular dynamics simulation (currently only NHC thermostat) with parameters provided by a configuration file.

apax.cli.apax_app.schema_md(section: str = <typer.models.ArgumentInfo object>, keywords: bool = <typer.models.OptionInfo object>, flat: bool = <typer.models.OptionInfo object>)[source]

Print the MD config JSON schema to stdout.

apax.cli.apax_app.schema_train(section: str = <typer.models.ArgumentInfo object>, keywords: bool = <typer.models.OptionInfo object>, flat: bool = <typer.models.OptionInfo object>)[source]

Print the training config JSON schema to stdout.

apax.cli.apax_app.schema_vscode()[source]

Generate JSON schema files under .vscode/ for YAML autocompletion.

apax.cli.apax_app.template_md_config()[source]

Creates an MD input template in the current working directory.

apax.cli.apax_app.template_train_config(full: bool = <typer.models.OptionInfo object>)[source]

Creates a training input template in the current working directory.

apax.cli.apax_app.train(train_config_path: Path = <typer.models.ArgumentInfo object>, log_level: str = <typer.models.OptionInfo object>)[source]

Starts the training of a model with parameters provided by a configuration file.

apax.cli.apax_app.validate_md_config(config_path: Path = <typer.models.ArgumentInfo object>)[source]

Validates a molecular dynamics configuration file.

apax.cli.apax_app.validate_train_config(config_path: Path = <typer.models.ArgumentInfo object>, template: bool = <typer.models.OptionInfo object>)[source]

Validates a training configuration file.

apax.cli.apax_app.version_callback(value: bool) None[source]

Get the installed apax version.

apax.cli.apax_app.visualize_model(config_path: Path = <typer.models.ArgumentInfo object>)[source]

Visualize a model based on a configuration file. A CO molecule is taken as sample input (influences number of atoms, number of species is set to 10).