Skip to content

Commit

Permalink
renamed denoise input array bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DarnellGranberry committed Nov 12, 2024
1 parent f139fb1 commit f3dfd0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion topaz/denoise.py
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ def denoise_stream(micrographs:List[str], output_path:str, format:str='mrc', suf
(image, header, extended_header) = image if type(image) is tuple else (image, None, None)

# process and denoise the micrograph
mic = denoise_image(mic, models, lowpass=lowpass, cutoff=pixel_cutoff, gaus=gaus,
mic = denoise_image(image, models, lowpass=lowpass, cutoff=pixel_cutoff, gaus=gaus,
inv_gaus=inv_gaus, deconvolve=deconvolve, deconv_patch=deconv_patch,
patch_size=patch_size, padding=padding, normalize=normalize, use_cuda=use_cuda)
denoised.append(mic)
Expand Down

0 comments on commit f3dfd0c

Please sign in to comment.