Skip to content

Commit

Permalink
Remove grad norm calculation
Browse files Browse the repository at this point in the history
Co-authored-by: Sam Tygier <sam.tygier@stfc.ac.uk>
Co-authored-by: JackEAllen <jack.allen@stfc.ac.uk>
  • Loading branch information
3 people committed Mar 17, 2023
1 parent a7c3e35 commit 42a5a13
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions mantidimaging/core/reconstruct/cil_recon.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,6 @@ def set_up_TV_regularisation(image_geometry: ImageGeometry, acquisition_data: Ac
alpha = recon_params.alpha
Grad = GradientOperator(image_geometry)

if image_geometry.voxel_num_z == 0:
Grad.set_norm(sqrt(8))
else:
Grad.set_norm(sqrt(12))

if recon_params.stochastic:
# now, A2d is a BlockOperator as acquisition_data is a BlockDataContainer
fs = []
Expand Down

0 comments on commit 42a5a13

Please sign in to comment.