funclp.JointChannel module

class funclp.JointChannel(function, variables=None, affine=None, data=None, prefix=None)[source]

Bases: object

Single channel definition for JointFunction.

Parameters:
  • function (Function) – Channel function model.

  • variables (dict, optional) – Mapping from joint/global variable names to this channel variable names. Example: {‘x’: ‘xx’, ‘y’: ‘yy’} means joint x -> channel xx and joint y -> channel yy.

  • affine (dict, optional) – Fixed affine transforms applied on channel variables. Keys are tuples of channel variable names, values are homogeneous affine matrices with shape (n + 1, n + 1). Example: {(‘x’, ‘y’): matrix_3x3}.

  • data (dict, optional) – Mapping from user-facing per-channel data names to this channel data names. Usually optional because data inputs remain channel-local and can be passed as tuples/lists in the channel data order.

  • prefix (str, optional) – Prefix used for channel-specific parameters and constants.