work on config, fiducial, autofocus

This commit is contained in:
2022-09-20 12:33:41 +02:00
parent c3542ad38c
commit 158150a954
3 changed files with 73 additions and 90 deletions

View File

@@ -456,7 +456,7 @@ class autofocus:
mtr[idx,:]=(p,m)
_log.debug(f'{args} {kwargs} p:{p} mtr={m}')
print(p)
if abs(p-self._pDst)<0.01:
if abs(p-self._pDst)<0.01 or idx>mtr.shape[0]:
_log.debug(f'DONE->{self._idx}')
del cam.process
print(mtr[:idx,:])