14 lines
331 B
Python
14 lines
331 B
Python
run("pointing/config")
|
|
|
|
def check():
|
|
if beamline_name.read() != BEAMLINE_NAME:
|
|
raise "Invalid beamline mode"
|
|
|
|
|
|
camera_screen.setSettlingCondition(ChannelSettlingCondition("SAROP21-PPRM094:IN_POS", 1, None, 'i'))
|
|
|
|
|
|
|
|
def get_saturated_pixels(img):
|
|
img = flatten(img)
|
|
return sum([1 if v>=4095 else 0 for v in img]) |