dodal.devices.detector.detector.DetectorParams#

class dodal.devices.detector.detector.DetectorParams[source]#

Holds parameters for the detector. Provides access to a list of Dectris detector sizes and a converter for distance to beam centre.

Parameters:

data (Any)

Create a new model by parsing and validating input data from keyword arguments.

Raises ValidationError if the input data cannot be parsed to form a valid model.

Parameters:

data (Any)

Methods

create_beamxy_and_runnumber(values)

param values:

get_beam_position_mm(detector_distance)

param detector_distance:

get_beam_position_pixels(detector_distance)

param detector_distance:

get_detector_size_pizels()

rtype:

DetectorSize

Attributes

full_filename

full_number_of_images

expected_energy_ev

exposure_time

directory

prefix

detector_distance

omega_start

omega_increment

num_images_per_trigger

num_triggers

use_roi_mode

det_dist_to_beam_converter_path

trigger_mode

detector_size_constants

beam_xy_converter

run_number

enable_dev_shm