:py:mod:`pytomography.corrections.correction`
=============================================

.. py:module:: pytomography.corrections.correction


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

Classes
~~~~~~~

.. autoapisummary::

   pytomography.corrections.correction.CorrectionNet




.. py:class:: CorrectionNet(device = 'cpu')

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

   Correction net is the parent class for all correction networks used in reconstruction. Subclasses must implement the ``forward`` method.

   :param device: Pytorch device used for computation
   :type device: str

   .. py:method:: initialize_network(object_meta, image_meta)

      Initalizes the correction network using the object/image metadata

      :param object_meta: Object metadata.
      :type object_meta: ObjectMeta
      :param image_meta: Image metadata.
      :type image_meta: ImageMeta


   .. py:method:: forward(x)
      :abstractmethod:

      Abstract method; must be implemented in subclasses to apply a correction to an object/image and return it




