remove not implemented tab "point and shoot"
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user