sashimi.hardware.cameras.HamamatsuCamera#

class sashimi.hardware.cameras.HamamatsuCamera(camera_id, max_sensor_resolution)[source]#

Bases: AbstractCamera

Methods

Attributes

static convert_property_name(p_name)[source]#

Regularizes a property name to lowercase names with the spaces replaced by underscores.

get_camera_properties()[source]#

Return the ids & names of all the properties that the camera supports. This is used at initialization to populate the self.properties attribute.

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.

get_property_attribute(property_name)[source]#

Return the attribute structure of a particular property.

get_property_range(property_name)[source]#

Return the range for an attribute.

get_property_text(property_name)[source]#

Return the text options of a property (if any).

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()[source]#

Close down the connection to the camera.

start_acquisition()[source]#

Allocate as many frames as will fit in 2GB of memory and start data acquisition.

stop_acquisition()[source]#

Stop data acquisition and release the memory allocated for frames.