pyphi.display.mixin.Displayable#
- class pyphi.display.mixin.Displayable[source]#
Bases:
objectProvides
repr/str/ HTML from a subclass_describe()hook.Verbosity policy (read from
config.infrastructure.repr_verbosity):LOW(0): the one-line compact form only.MEDIUM(1): the full card minus expensive embedded TPM grids (e.g. aSubstrate’s TPM, aSystem’s conditioned cause/effect TPMs — which require computing marginals).HIGH(2, the default): everything in the standard card.FULL(3): the card plus all mathematical content (e.g. the cut-matrix grid for an RIA/MICE partition).PROVENANCE(4):FULLplus a provenance section recording how, when, and by what code the result was computed.
_describe(verbosity)honors this: it returns a compact-onlyDescriptionatLOW(so no heavy sections are built) and gates embedded TPM grids behindHIGH.