pytvx.TvbOp

class pytvx.TvbOp(lhs: Union[bool, Tvb, PyTvb], rhs: Union[bool, Tvb, PyTvb])[source]

Bases: pytvx.PyTvb

An abstract base class for a PyTvb that is the result of applying a binary operator to two other PyTvb instances.

Derived classes fill in the actual boolean operator functionality as appropriate.

Parameters
  • lhs – The left-hand side of the binary operator expression.

  • rhs – The right-hand side of the binary operator expression.

Methods

indent_repr

abstract __call__(t: float) bool[source]

Call self as a function.