remove not implemented tab "point and shoot"

This commit is contained in:
2022-07-18 11:22:16 +02:00
parent af8a887f2f
commit c056f3f329
4 changed files with 13 additions and 56 deletions

View File

@@ -120,6 +120,14 @@ class epics_cam(object):
pv_pic=self.getPv('FPICTURE')
sz=self._sz
pic = pv_pic.get(count=sz[0]*sz[1], as_numpy=True).reshape(sz[::-1])
f=np.array(((0, 0, 0, 0, 0),
(0, 1, 1, 1, 0),
(0, 1, 0, 0, 0),
(0, 1, 1, 0, 0),
(0, 1, 0, 0, 0),
(0, 0, 0, 0, 0),), pic.dtype)
pic[0:6, 0:5]=f*255
except AttributeError as e:
_log.warning("failed to fetch image")
else: