pygsti.report.cell

Defines the Cell class

Module Contents

Classes

Cell

Representation of a table cell, containing formatting and labeling info

class pygsti.report.cell.Cell(data=None, formatter_name=None, label=None)

Bases: object

Representation of a table cell, containing formatting and labeling info

Parameters

dataReportableQty

data to be reported

formatter_namestring, optional

name of the formatter to be used (ie ‘Effect’)

labelstring, optional

label of the cell

Creates Cell object

Parameters

dataReportableQty

data to be reported

formatter_namestring

name of the formatter to be used (ie ‘Effect’)

labelstring

label of the cell

render(fmt, spec)

Render full cell as a string

Parameters
fmtstring

name of format to be used

specdict

dictionary of formatting options

Returns

string