pytomography.transforms.transform
#
Module Contents#
Classes#
The parent class for all transforms used in reconstruction (obj2obj, im2im, obj2im). Subclasses must implement the |
- class pytomography.transforms.transform.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