kaira.modulations.utils.gray_array_to_binary

kaira.modulations.utils.gray_array_to_binary(gray: List[int] | Tensor) Tensor[source]

Convert Gray-coded array to binary.

Parameters:

gray – Gray-coded array to convert

Returns:

Binary array as PyTorch tensor