colour_visuals.common.append_channel#

class colour_visuals.common.append_channel(a: ArrayLike, value: float = 1)[source]#

Bases:

Append a channel to given variable \(a\).

Parameters:
  • a (ArrayLike) – Variable \(a\) to append a channel to.

  • value (float) – Channel value.

Returns:

Variable \(a\) with appended channel.

Return type:

numpy.ndarray