moving ROI with stage and zoom

This commit is contained in:
2022-08-17 12:04:51 +02:00
parent aa9a2c9948
commit 22fcad62c1
4 changed files with 108 additions and 37 deletions

View File

@@ -168,7 +168,7 @@ class geometry:
pix2pos[0, 1]=np.interp(zoom, K, AA[:, 0, 1])
pix2pos[1, 0]=np.interp(zoom, K, AA[:, 1, 0])
pix2pos[1, 1]=np.interp(zoom, K, AA[:, 1, 1])
_log.debug('interpolation array:{}'.format(tuple(pix2pos.ravel())))
_log.debug(f'{zoom} -> {pix2pos.ravel()}')
def update_pix2pos(self, meas):
# calculates _lut_pix2pos out of measurements