1# to create an x-bit point with numpy, use np.intx
2# to create an unsigned x-bit point with numpy, use np.uintx
3# examples:
4import numpy as np
5
6a = np.int16(10000) # 10000 stored as a 16-bit number (can store numbers from -32768 to 32767)
7b = np.uint(10000) # 10000 stored as an unsigned 16-bit number (can store numbers from 0 to 65535)