tergite-autocalibration

Operation

The package ships with a CLI called acli (autocalibration command line interface) to solve some common tasks that appear quite often. In the following there are a number of useful commands, but if you want to find out information about commands in your shell use acli --help.

Since some of the commands below are using autocompleting in most cases you would have to enable that feature in your shell by running:

acli --install-completion

Usually the shell would just suggest you file paths when pressing the tabulator, but with autocompletion enabled, you would be even get suggestions for node names or other inputs depending on your configuration.

CLI

This section provides an overview of the Command Line Interface (CLI) options and their functionalities.

Main Commands

The autocalibration CLI is organized into several main command groups:

Cluster Commands

cluster reboot

Reboots the cluster.

Usage:

acli cluster reboot

This command will prompt for confirmation before rebooting the cluster, as it can interrupt ongoing measurements.

Node Commands

node reset

Resets all parameters in Redis for the specified node(s).

Usage:

acli node reset [OPTIONS]

Options:

Graph Commands

graph plot

Plots the calibration graph to the user-specified target node in topological order.

Usage:

acli graph plot

This command visualizes the calibration graph using an arrow chart.

Configuration Commands

config load

Load the configuration.

Usage:

acli config load [OPTIONS]

Options:

Notes:

To run this command, please navigate to the root directory of the repository. The configuration package will be placed into the root directory, which is the default location for the application to detect the configuration package.

config save

Usage:

acli config save [OPTIONS]

Save the configuration.

Options:

quickstart

Usage:

acli quickstart [OPTIONS]

Loads the default configuration package. This configuration package is not supposed to run on any setup, but it will just copy configuration files into the application, so, that the application does not crash because configuration files are missing.

Options:

Calibration Commands

start

Starts the calibration supervisor.

Usage:

acli start [OPTIONS]

Options:

Dataset browser

browser

Starts the dataset browser.

Usage:

acli browser --datadir [OPTIONS]

Options:

Joke Command

joke

Prints a random joke to lighten the mood.

Usage:

acli joke

This command fetches and displays a random joke, excluding potentially offensive content.

Notes

For more detailed information about each command, use the --help option with any command or subcommand.