Gain file issue

I’m seeing a strange error when trying to apply a gain file to a data collection that I don’t know how to interpret.

Traceback (most recent call last):
File “cryosparc_master/cryosparc_compute/jobs/rtp_workers/”, line 371, in
File “cryosparc_master/cryosparc_compute/jobs/rtp_workers/”, line 434, in
File “cryosparc_master/cryosparc_compute/jobs/rtp_workers/”, line 580, in
File “cryosparc_master/cryosparc_compute/jobs/rtp_workers/”, line 585, in
File “cryosparc_master/cryosparc_compute/jobs/motioncorrection/”, line 255, in
File “cryosparc_master/cryosparc_compute/jobs/motioncorrection/”, line 264, in
File “cryosparc_master/cryosparc_compute/jobs/motioncorrection/”, line 190, in
File “mtrand.pyx”, line 3569, in numpy.random.mtrand.RandomState.poisson
File “_common.pyx”, line 824, in numpy.random._common.disc
File “_common.pyx”, line 621, in numpy.random._common.discrete_broadcast_d
File “_common.pyx”, line 355, in numpy.random._common.check_array_constraint
ValueError: lam value too large

Just checking if anyone has any thoughts on this. It’s preventing us from using cryosparc to analyze data

@hansenbry May we ask

  1. Does the error occur when you, for testing, omit gain correction?
  2. What are the movie format and dimensions?
  3. Would you be able to share an example movie and the gain correction with us?

Hi @wtempel It doesn’t occur with out the gain. We think it’s something wrong now with the gain file from epu. So we’re digging into that now. We didn’t initially think to look there with that error message but now understand it’s because the images are black after applying the gain file.