Skip to content

Commit

Permalink
autoyapf complaints
Browse files Browse the repository at this point in the history
  • Loading branch information
paskino committed Dec 5, 2023
1 parent 0a39716 commit a4c5b5e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions mantidimaging/core/reconstruct/cil_recon.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

import numpy as np

from cil.framework import (AcquisitionData, AcquisitionGeometry, DataOrder, ImageGeometry, BlockGeometry,
from cil.framework import (AcquisitionData, AcquisitionGeometry, DataOrder, ImageGeometry, BlockGeometry,
BlockDataContainer)
from cil.optimisation.algorithms import PDHG, SPDHG
from cil.optimisation.operators import GradientOperator, BlockOperator
Expand Down Expand Up @@ -85,7 +85,6 @@ def set_up_TV_regularisation(

return (K, F, G)


@staticmethod
def set_up_TGV_regularisation(
image_geometry: ImageGeometry, acquisition_data: AcquisitionData,
Expand Down Expand Up @@ -122,7 +121,7 @@ def set_up_TGV_regularisation(
# mathematicians like to multiply 1/2 in front of L2NormSquared. This is not necessary
# it will mean that the regularisation parameter alpha is doubled
f1 = L2NormSquared(b=acquisition_data)

F = BlockFunction(f1, f2, f3)

# Define BlockOperator K
Expand Down

0 comments on commit a4c5b5e

Please sign in to comment.