pygsti.report.ReportableQty

class pygsti.report.ReportableQty(value, errbar=None)

Encapsulates a computed quantity and possibly its error bars, primarily for use in reports.

__init__(value, errbar=None)

Initialize a new ReportableQty object, which is essentially a container for a value and error bars.

Parameters:
  • value (anything) – The value to store
  • errbar (anything) – The error bar(s) to store

Methods

__init__(value[, errbar]) Initialize a new ReportableQty object, which is essentially a container for a value and error bars.
get_err_bar() Returns the quantity’s error bar(s)
get_value() Returns the quantity’s value
get_value_and_err_bar() Returns the quantity’s value and error bar(s)