Problem lmporting compressed tiff files

open

#1

Hi,
I am trying to import *.tiff files on cryoSPARC (v2.9.0). The process is failing with the following error message:

imgdata = tiff.read_tiff(abs_path).sum(axis=0) * gainref
ValueError: operands could not be broadcast together with shapes (4092,5760) (8184,11520)

Can anybody help with this?
Thank you.
Kapil


#2

Hi @kplkmrgoutam,
Thanks for reporting. This error is saying that your gain reference file and the tiff data itself are of different sizes. In particular, the tiff data seems to be K3 non-superres data, while the gainreference is a superres K3 gain reference.
Any change you’ve used the wrong gain reference file?