Types¶
Types for hilbertsfc.
Type aliases used throughout the public API to keep function signatures readable.
IntScalar ¶
IntScalar = int | integer
Scalar integer input type.
Accepts a Python int or a NumPy integer scalar (e.g. np.uint32(1)).
LutUIntDType ¶
LutUIntDType = dtype[uint16] | dtype[uint32] | dtype[uint64]
LUT dtype as a numpy.dtype instance.
LutUIntDTypeLike ¶
LutUIntDTypeLike = LutUIntType | LutUIntDType
LUT dtype accepted by LUT/kernel builders.
Allows either the dtype type (e.g. np.uint32) or a numpy.dtype instance
(e.g. np.dtype(np.uint32)).
LutUIntType ¶
LutUIntType = type[uint16] | type[uint32] | type[uint64]
LUT dtype as a type (np.uint16/np.uint32/np.uint64).