diff options
Diffstat (limited to 'center_fw/gamma.py')
-rw-r--r-- | center_fw/gamma.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/center_fw/gamma.py b/center_fw/gamma.py new file mode 100644 index 0000000..2328724 --- /dev/null +++ b/center_fw/gamma.py @@ -0,0 +1,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)) |