UUTrack.Model.Cameras.PSI

Model for Photonic Science GEV Cameras. The model just implements the basic methods defined in the cameraBase() using a Photonic Sicence camera. The controller for this camera is PhotonicScience

copyright:2017

Section author: Aquiles Carattino <aquiles@aquicarattino.com>

class UUTrack.Model.Cameras.PSI.camera(camera)[source]

Bases: UUTrack.Model.Cameras._skeleton.cameraBase

GetCCDHeight()[source]

Gets the CCD height.

GetCCDWidth()[source]

Gets the CCD width.

getParameters()[source]

Returns all the parameters passed to the camera, such as exposure time, ROI, etc. Not necessarily the parameters go to the hardware, it may be that some are just software related.

Return dict:keyword => value.

Todo

Implement this method

getSize()[source]

Returns the size in pixels of the image being acquired.

initializeCamera()[source]

Initializes the camera.

Todo

UUTrack.Controller.devices.PhotonicScience.scmoscam.GEVSCMOS.SetGainMode() behaves unexpectedly. One is forced to set the gain mode twice to have it right. So far, this is the only way to prevent the weird lines from appearing. Checking the meaning of the gains is a must.

readCamera()[source]

Reads the camera

setExposure(exposure)[source]

Sets the exposure of the camera.

Todo

Include units for ensuring the proper exposure time is being set.

setROI(X, Y)[source]

Sets up the ROI.

setupCamera(params)[source]

Setups the camera with the given parameters.

  • params[‘exposureTime’]
  • params[‘binning’]
  • params[‘gain’]
  • params[‘frequency’]
  • params[‘ROI’]

Todo

not implemented

stopAcq()[source]

Stop the acquisition even if ongoing.

stopCamera()[source]

Stops the acquisition and closes the camera. This has to be called before quitting the program.

triggerCamera()[source]

Triggers the camera.