1 2 3 4 5 6 7
#!/usr/bin/env python3 import numpy as np gamma = 2.2 out = np.linspace(0, 1, 17) ** 2.2 print(np.round(out * 24000).astype(int))