def cam(scope): from PYME.Acquire.Hardware.uc480 import uCam480 uCam480.init() cam = uCam480.uc480Camera(0, nbits=10) scope.register_camera(cam, 'Focus') scope.cam.SetGainBoost(False) # shouldn't be needed, but make sure it is off scope.cam.SetGain(1) # we really don't need any extra gain, this defaults to 10 on startup scope.cam.SetROI(289, 827, 1080, 1008) # Can't get frame rate higher than ~297 Hz for the current ROI, so default to just under that scope.cam.SetIntegTime(0.0035) # [s]
def cam(scope): from PYME.Acquire.Hardware.uc480 import uCam480 uCam480.init() cam = uCam480.uc480Camera(0, nbits=10) scope.register_camera(cam, 'Focus') scope.cam.SetGainBoost( False) # shouldn't be needed, but make sure it is off scope.cam.SetGain( 1 ) # we really don't need any extra gain, this defaults to 10 on startup scope.cam.SetROI(289, 827, 1080, 1008) # With our laser at a stable operating current we saturate easily, set integ low. Can't get frame rate higher than # 300 Hz, so try and get a low integ and 250 frame rate scope.cam.SetIntegTime(0.005)
def cam(scope): from PYME.Acquire.Hardware.uc480 import uCam480 uCam480.init(cameratype='ueye') cam = uCam480.uc480Camera(0) scope.register_camera(cam, 'Drift')