UT3Variations.unit ================== .. py:method:: t3toolbox.uniform_frame_variations_format.UT3Variations.unit(uniform_variation_shapes, shape, index, stack_shape = (), masks = None, use_jax = False) :staticmethod: .. code-block:: python def unit( uniform_variation_shapes, shape: typ.Sequence[int], index: typ.Tuple[bool, int, typ.Sequence[int]], # (use_tt_coordinate, i, within_index) stack_shape: typ.Tuple[int, ...] = (), masks: typ.Optional['UT3VariationsMasks'] = None, use_jax: bool = False, ) -> 'UT3Variations': Canonical unit variation: zero supercores except a single entry set to 1 (broadcast over the stack). ``index = (use_tt_coordinate, i, within_index)`` selects the family, the mode ``i``, and the within-core entry. (For a meaningful unit the entry must land in a real slot -- automatic under the all-True default.)