Closedown

This commit is contained in:
gac-x04sa
2018-10-30 16:17:52 +01:00
parent ebf365a1da
commit c266e41833
3 changed files with 1 additions and 4 deletions

View File

@@ -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

View File

@@ -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()

View File

@@ -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