qibocal.web package¶
Submodules¶
qibocal.web.compared_report module¶
- class qibocal.web.compared_report.ComparedReport(report_paths: list[~pathlib.Path], folder: ~pathlib.Path, meta: dict, history: dict = <factory>)[source]¶
Bases:
object
Class for comparison of two qibocal reports.
- create_common_history() dict[TaskId, list[History]] [source]¶
Obtain histories of common TaskIds from the reports.
- routine_targets(task_id: TaskId)[source]¶
Extract local targets parameter from Task.
If not available use the global ones.
- merge_plots(plots: list[list[Figure]]) list[Figure] [source]¶
Merge plots from different reports.
Scatter plots are plotted in the same figure. Heatmaps are vertically stacked.
- plotter(nodes: list[~qibocal.auto.task.Completed], target: ~typing.Annotated[int | str, FieldInfo(annotation=NoneType, required=True, metadata=[_PydanticGeneralMetadata(union_mode='left_to_right')])] | ~typing.Annotated[tuple[~typing.Annotated[int | str, FieldInfo(annotation=NoneType, required=True, metadata=[_PydanticGeneralMetadata(union_mode='left_to_right')])], ~typing.Annotated[int | str, FieldInfo(annotation=NoneType, required=True, metadata=[_PydanticGeneralMetadata(union_mode='left_to_right')])]], ~pydantic.functional_validators.BeforeValidator(func=~qibocal.calibration.calibration.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~qibocal.calibration.calibration.<lambda>, return_type=PydanticUndefined, when_used=always)] | list[~typing.Annotated[int | str, FieldInfo(annotation=NoneType, required=True, metadata=[_PydanticGeneralMetadata(union_mode='left_to_right')])]]) tuple[str, str] [source]¶