sashimi.hardware.cameras.MockCamera#
- class sashimi.hardware.cameras.MockCamera(camera_id=None, max_sensor_resolution=None)[source]#
Bases:
AbstractCamera
Methods
Attributes
- get_frames()[source]#
Returns a list of arrays, each of which corresponds to an available frame. If no frames where found returns an empty list.
- property roi#
(x_min, y_min, x_size, y_size)
- Type:
roi attributes as a tuple
- property sensor_resolution#
Max size of the image, after binning and before ROI cropping (setting binning will change it, setting a ROI won’t).
- shutdown()#
Close down the connection to the camera.