Closed irahorecka closed 3 years ago
hi @irahorecka, thanks for the heads up. i will try to take a look this week.
Hi @irahorecka,
Sorry I think that was just my bad in the docs. Try adding specifying the output_shape
argument for the rl_decon
function like this:
# also don't forget that you might need to provide additional keywords to RLcontext,
# like a deskew angle (or anything that you can pass to rl_init)
with RLContext(imshape, OTF_PATH, dz=0.5) as ctx:
for impath in imlist:
image = tifffile.imread(impath)
result = rl_decon(image, output_shape=ctx.out_shape)
I'll update the documentation in the meantime, let me know if that solves it for you.
Hello @tlambert03, I am using your pycudadecon library and so far I have found success in deconvoluting a single image. However, when I attempt to process a batch of tif images using
RLContext
, I receiveArgumentError: argument 7: <class 'TypeError'>: wrong type
.It seems like the
dup_rev_z
kwarg inrl_decon
is defaulted toFalse
. On another note, it also appears that thedz
kwarg inRLContext
is defaulted to float 0.1. Below is the code I am executing:I am also new to the field of LLS, so please let me know if I am making a mistake! Thank you.