Empirical model module

Module description

This module contains functions that can be used to properly print empirical models and measurements scenarios.

Module documentation

contextuality.printing.print_table(em, precision=3, tablefmt='grid')

Pretty prints an empirical model.

Parameters:
  • em (EmpiricalModel) – Empirical model to print.

  • precision (int) – Decimal precision of the table.

  • tablefmt (str) – parameter to pass to tablulate.

Return type:

None