pytomography.projections.projection
#
Module Contents#
Classes#
Abstract parent class for projection networks. Any subclass of this network must implement the |
- class pytomography.projections.projection.ProjectionNet(object_correction_nets, image_correction_nets, object_meta, image_meta, device='cpu')#
Bases:
torch.nn.Module
Abstract parent class for projection networks. Any subclass of this network must implement the
forward
method.- Parameters:
object_correction_nets (list[pytomography.corrections.CorrectionNet]) –
image_correction_nets (list[pytomography.corrections.CorrectionNet]) –
object_meta (pytomography.metadata.ObjectMeta) –
image_meta (pytomography.metadata.ImageMeta) –
device (str) –
- initialize_correction_nets()#
Function that initializes all correction networks with the required object and image metadata corresponding to the projection network.
- abstract foward()#
Abstract method that must be implemented by any subclass of this class.