qibocal.cli package#
CLI entry point.
Submodules#
qibocal.cli.acquisition module#
qibocal.cli.compare module#
- qibocal.cli.compare.initialize_combined_report(report_path: Path, output_folder: Path, force: bool) tuple[qibocal.auto.output.Output, pathlib.Path] [source]#
Initialisation of the output.
Create the report directory and set up start-finish time, report title.
- Parameters:
report_path (pathlib.Path) – path of the folder containing one of the initial reports.
output_folder (pathlib.Path) – path of the folder containing the combined report.
force (bool) – if set to true, overwrites output_folder (if it already exists).
- qibocal.cli.compare.compare_reports(folder: Path, path_1: Path, path_2: Path, force: bool)[source]#
Report comparison generation.
Currently only two reports can be combined together. Only tasks with the same id can be merged. Tables display data from both reports side by side. Plots display data from both reports.
- Parameters:
folder (pathlib.Path) – path of the folder containing the combined report.
path_1 (pathlib.Path) – path of the first report to be compared.
path_2 (pathlib.Path) – path of the second report to be compared.
force (bool) – if set to true, overwrites folder (if it already exists).
qibocal.cli.fit module#
qibocal.cli.report module#
- qibocal.cli.report.ReportOutcome#
Report produced by protocol.
- qibocal.cli.report.generate_figures_and_report(node: Completed, target: Union[str, int, Tuple[Union[str, int], Union[str, int]], list[Union[str, int]]]) tuple[str, list[plotly.graph_objs._figure.Figure]] [source]#
Calling protocol plot by checking if fit has been performed.
It operates on a completed node and a specific protocol target, generating a report outcome (cf. ReportOutcome).
qibocal.cli.run module#
qibocal.cli.update module#
qibocal.cli.upload module#
Upload report to server.