Skip to content

Commit

Permalink
use OSEM image
Browse files Browse the repository at this point in the history
  • Loading branch information
paskino committed Jul 4, 2024
1 parent e3f5300 commit ba74194
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion main_ISTA.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@ def __init__(self, data: Dataset, num_subsets: int = 7, step_size: float = 1e-6,
step_size_rule = ConstantStepSize(step_size) # ISTA default step_size is 0.99*2.0/F.L
g = IndicatorBox(lower=1e-6, accelerated=False) # "non-negativity" constraint

super().__init__(initial=data.OSEM_image, f=F, g=g, step_size=step_size_rule,
g = IndicatorBox(lower=1e-5, accelerated=False)

super().__init__(initial=data.OSEM_image,
f=F, g=g, step_size=step_size_rule,
update_objective_interval=update_objective_interval)


Expand Down

0 comments on commit ba74194

Please sign in to comment.