utils.report_creation_utils

Classes

ReportCreationMixin

Mixin class for creating a report for the RANO module.

Module Contents

class utils.report_creation_utils.ReportCreationMixin[source]

Mixin class for creating a report for the RANO module.

onCreateReportButton()[source]

Triggered when the user clicks the “Create Report” button.

create_report()[source]

Create a report for the RANO module.

static get_report_dir_from_node(default_report_dir, node1, node2, timestamp)[source]
create_images(report_dir)[source]

Create images for the report.

Parameters:

report_dir (str) – Directory to save the images.

static table_to_csv(report_dir)[source]

Save the results table to a CSV file.

Parameters:

report_dir (str) – Directory to save the CSV file.

create_json_file(report_dir, timestamp)[source]

Create a JSON file with the report information.

Parameters:

report_dir (str) – Directory to save the JSON file.

create_report_pdf(report_json_path)[source]

Create a PDF report from the JSON file.

Parameters:

report_json_path (str) – Path to the JSON file.