Skip to content

Commit

Permalink
Explictly set residual=False in remove_dead_stripe
Browse files Browse the repository at this point in the history
The default has changed, so match old behaviour.
  • Loading branch information
samtygier-stfc committed Sep 24, 2021
1 parent 4747009 commit b3d0ba0
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,7 @@ class RemoveDeadStripesFilter(BaseFilter):

@staticmethod
def filter_func(images: Images, snr=3, size=61, cores=None, chunksize=None, progress=None):
f = ps.create_partial(
remove_dead_stripe,
ps.return_to_self,
snr=snr,
size=size,
)
f = ps.create_partial(remove_dead_stripe, ps.return_to_self, snr=snr, size=size, residual=False)
ps.shared_list = [images.data]
ps.execute(f, images.num_projections, progress, cores=cores)
return images
Expand Down

0 comments on commit b3d0ba0

Please sign in to comment.