pytomography.transforms
#
This module contains transform operations used to build the system matrix. Currently, the PET transforms only support 2D PET.
Subpackages#
Submodules#
Package Contents#
Classes#
The parent class for all transforms used in reconstruction (obj2obj, im2im, obj2im). Subclasses must implement the |
- class pytomography.transforms.Transform[source]#
The parent class for all transforms used in reconstruction (obj2obj, im2im, obj2im). Subclasses must implement the
__call__
method.- Parameters:
device (str) – Pytorch device used for computation
- configure(object_meta, proj_meta)[source]#
Configures the transform to the object/proj metadata. This is done after creating the network so that it can be adjusted to the system matrix.
- Parameters:
object_meta (ObjectMeta) – Object metadata.
proj_meta (ProjMeta) – Projections metadata.
- Return type:
None