sycan.components.blocks.gain

Static linear gain block: V_out = k * V_in.

Equivalent to a unit-gain VCVS controlled by the differential input, but with input/output port names ordered conventionally for signal- flow diagrams.

Classes

Gain(name, in_p, in_m, out_p, out_m, k, *[, ...])

class sycan.components.blocks.gain.Gain(name: 'str', in_p: 'str', in_m: 'str', out_p: 'str', out_m: 'str', k: 'cas.Expr', *, include_noise: 'NoiseSpec' = None)[source]

Bases: Component

Parameters:
  • name (str)

  • in_p (str)

  • in_m (str)

  • out_p (str)

  • out_m (str)

  • k (Expr)

  • include_noise (None | str | list[str] | tuple[str, ...] | frozenset[str])

name: str
in_p: str
in_m: str
out_p: str
out_m: str
k: Expr
include_noise: None | str | list[str] | tuple[str, ...] | frozenset[str] = None
ports: ClassVar[tuple[str, ...]] = ('in_p', 'in_m', 'out_p', 'out_m')
has_aux: ClassVar[bool] = True
SUPPORTED_NOISE: ClassVar[frozenset[str]] = frozenset({})
stamp(ctx)[source]
Parameters:

ctx (StampContext)

Return type:

None