-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Hello, I am trying to run Spitfire from Jupiter notebook. I first tried just your code for Python users with C.elegans image and unfortunately, the code breaks and an error appears that the SPSFGaussian module is not present in the sdeconv.deconv library.
Can you please help me with this error?
thanks in advance
Roman
Running code:
from sdeconv.data import celegans
from sdeconv.deconv import Spitfire, SPSFGaussian
load the blurry image
image = celegans()
create a PSF
psf_generator = SPSFGaussian((1.5, 1.5), (13, 13))
psf = psf_generator()
filter_ = Spitfire(psf, weight=0.6, reg=0.995, gradient_step=0.01, precision=1e-7, pad=13)
deconv_image = filter_(image)
Error:
ImportError: cannot import name 'SPSFGaussian' from 'sdeconv.deconv'
Metadata
Metadata
Assignees
Labels
No labels