dodal.devices.zocalo.XrcResult#

class dodal.devices.zocalo.XrcResult[source]#

Information about a diffracting centre.

NOTE: the coordinate systems of centre_of_mass and max_voxel/bounding_box are not

the same; centre_of_mass coordinates are continuous whereas max_voxel and bounding_box coordinates are discrete.

centre_of_mass#

The position of the centre of mass of the crystal, adjusted so that

grid box centres lie on integer grid coordinates, such that a 1x1x1 crystal detected in
a single grid box at 0, 0, 0, has c.o.m. of 0, 0, 0, not 0.5, 0.5, 0.5
max_voxel#

Position of the voxel with the maximum count, in integer coordinates

max_count#

max count achieved in a single voxel for the crystal

n_voxels#

Number of voxels (aka grid boxes) in the diffracting centre

total_count#

Total of above-threshold spot counts in the labelled voxels

bounding_box#

The rectangular prism that bounds the crystal, expressed as the volume of whole boxes as a half-open range i.e such that p1 = (x1, y1, z1) <= p < p2 = (x2, y2, z2) and p2 - p1 gives the dimensions in whole voxels.

Methods

Attributes