Closedown
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
from jeputils import *
|
||||
|
||||
def img_get_int(fname, header, width, height, depth, x1,y1,x2,y2, bx1,by1,bx2,by2 ):
|
||||
print [fname, header, width, height, depth, x1,y1,x2,y2, bx1,by1,bx2,by2]
|
||||
ret = call_jep("CPython/image_functions", "img_get_int", [fname, header, width, height, depth, x1,y1,x2,y2, bx1,by1,bx2,by2])
|
||||
return ret
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
from shutil import copyfile
|
||||
run("cpython/wrapper")
|
||||
|
||||
class Image(DeviceBase, Readable):
|
||||
def __init__(self, name, pixel):
|
||||
@@ -59,7 +58,6 @@ class Image(DeviceBase, Readable):
|
||||
|
||||
add_device( Image("image", pixel), True)
|
||||
|
||||
print image.read()
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ import sys
|
||||
# threshold 4
|
||||
# median filter
|
||||
# filter nsigma
|
||||
info = /sls/X04SA/data/x04sa/ES3/pixel/images/tmp/spec_image_info.dat
|
||||
info = "/sls/X04SA/data/x04sa/ES3/pixel/images/tmp/spec_image_info.dat"
|
||||
thres1 = 40
|
||||
thres2 = 500
|
||||
thres3 = 8000
|
||||
|
||||
Reference in New Issue
Block a user