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(obj2obj_nets, im2im_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:
obj2obj_nets (list[pytomography.mappings.MapNet]) –
im2im_nets (list[pytomography.mappings.MapNet]) –
object_meta (pytomography.metadata.ObjectMeta) –
image_meta (pytomography.metadata.ImageMeta) –
device (str) –
- initialize_correction_nets()#
Function that initializes all mapping 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.