diff options
author | jaseg <git@jaseg.de> | 2023-10-02 01:23:31 +0200 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2023-10-02 01:23:31 +0200 |
commit | c8623eb4c6c1464ffd49e83126e66d71ba5bf862 (patch) | |
tree | 55151e10f1ca05f2539de59778e757819038678e /center_fw/gamma.py | |
parent | 67e30fa91e12b452c1a18f6c5eb8a33cdb9ec625 (diff) | |
download | 8seg-c8623eb4c6c1464ffd49e83126e66d71ba5bf862.tar.gz 8seg-c8623eb4c6c1464ffd49e83126e66d71ba5bf862.tar.bz2 8seg-c8623eb4c6c1464ffd49e83126e66d71ba5bf862.zip |
8b10b issues
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)) |