mantidimaging.core.data.geometry module#

class mantidimaging.core.data.geometry.Geometry(num_pixels: list | tuple = (10, 10), pixel_size: list | tuple = (1.0, 1.0), angle_unit: str = 'radian', units: str = 'default', *args, **kwargs)[source]#

Bases: AcquisitionGeometry

is_parallel: bool = False#
set_geometry_from_cor_tilt(cor: ScalarCoR, tilt: float) None[source]#

Converts a centre of rotation (that uses MI conventions) to the CIL convention.

Parameters:
  • cor (ScalarCoR) – A ScalarCoR object defining the centre of rotation as a float value.

  • tilt (float) – A float value defining the tilt in degrees.