other debug version

This commit is contained in:
2023-06-29 08:49:37 +02:00
parent 3a8ac885f5
commit bd7d71b0b0
4 changed files with 55 additions and 27 deletions

View File

@@ -171,7 +171,7 @@ class geometry:
# [c d] [my] [py]
K, AA=self._lut_pix2pos
pix2pos=self._pix2pos=np.asmatrix(np.ndarray((2, 2), np.float))
pix2pos=self._pix2pos=np.asmatrix(np.ndarray((2, 2), np.float64))
pix2pos[0, 0]=np.interp(zoom, K, AA[:, 0, 0])
pix2pos[0, 1]=np.interp(zoom, K, AA[:, 0, 1])
pix2pos[1, 0]=np.interp(zoom, K, AA[:, 1, 0])