bluesky_runs_catalog_table_model#

QAbstractTableModel of tiled “CatalogOfBlueskyRuns”.

BRC: BlueskyRunsCatalog

BRCTableModel(*args, **kwargs)

Page of Bluesky catalog runs.

class gemviz.bluesky_runs_catalog_table_model.BRCTableModel(*args: Any, **kwargs: Any)[source]#

Page of Bluesky catalog runs.

columnCount(parent=None)[source]#

Return the number of columns. Called by QTableView.

data(index, role=None)[source]#

Return the cell data. Called by QTableView.

getMetadata(index)[source]#

Return the selected run’s metadata.

headerData(section, orientation, role=PyQt5.QtCore.Qt.DisplayRole)[source]#

Return the column label. Called by QTableView.

rowCount(parent=None)[source]#

Return the number of rows. Called by QTableView.

setRuns(runs)[source]#

Define the run (metadata) to be shown in the table now.

runs dict(uid, metadata_dictionary):

Dictionary of run metadata, keyed by run uid.