ct_geometry.py¶
Source: LION/CTtools/ct_geometry.py
Geometry parameter objects for fan- and parallel-beam CT.
- class LION.CTtools.ct_geometry.Geometry(**kwargs)[source]¶
Bases:
LIONParameterDescribe a discretised CT image, detector, and acquisition trajectory.
Geometry instances are serialisable
LIONParameterobjects. They retain native image dimensions alongside optionally scaled reconstruction dimensions, allowing datasets and checkpoints to preserve the physical field of view while changing numerical resolution.- classmethod init_from_parameter(parameter)[source]¶
Construct a geometry from a serialised LION parameter object.
- Parameters:
parameter (LIONParameter)
- static default_parameters(image_scaling=1.0)[source]¶
Return the default LIDC-style fan-beam geometry.
- static sparse_view_parameters(image_scaling=1.0)[source]¶
Return the default fan-beam geometry with sparse angular views.
- static sparse_angle_parameters(image_scaling=1.0)[source]¶
Return the default fan-beam geometry with limited angular span.
- static padis_fan_beam_parameters(image_scaling=1.0)[source]¶
Return the public-PaDIS fan-beam coordinate convention.
- static parallel_default_parameters(image_shape=None, image_scaling=1.0)[source]¶
Return a full-angle parallel-beam geometry.
- static parallel_sparse_view_parameters(image_shape=None, image_scaling=1.0)[source]¶
Return a sparse-view parallel-beam geometry.