:py:mod:`pytomography.projections.projection`
=============================================

.. py:module:: pytomography.projections.projection


Module Contents
---------------

Classes
~~~~~~~

.. autoapisummary::

   pytomography.projections.projection.ProjectionNet




.. py:class:: ProjectionNet(obj2obj_nets, im2im_nets, object_meta, image_meta, device = None)

   Bases: :py:obj:`torch.nn.Module`

   Abstract parent class for projection networks. Any subclass of this network must implement the ``forward`` method.
   :param obj2obj_nets: Sequence of object mappings that occur before projection.
   :type obj2obj_nets: list
   :param im2im_nets: Sequence of image mappings that occur after projection.
   :type im2im_nets: list
   :param object_meta: Object metadata.
   :type object_meta: ObjectMeta
   :param image_meta: Image metadata.
   :type image_meta: ImageMeta
   :param device: Pytorch device used for computation. If None, uses the default device `pytomography.device` Defaults to None.
   :type device: str, optional

   .. py:method:: initialize_correction_nets()

      Initializes all mapping networks with the required object and image metadata corresponding to the projection network.



   .. py:method:: foward()
      :abstractmethod:

      Abstract method that must be implemented by any subclass of this class.




