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/run.py”, line 371, in cryosparc_compute.jobs.rtp_workers.run.rtp_worker
File “cryosparc_master/cryosparc_compute/jobs/rtp_workers/run.py”, line 434, in cryosparc_compute.jobs.rtp_workers.run.process_movie
File “cryosparc_master/cryosparc_compute/jobs/rtp_workers/run.py”, line 580, in cryosparc_compute.jobs.rtp_workers.run.do_patch_motion
File “cryosparc_master/cryosparc_compute/jobs/rtp_workers/run.py”, line 585, in cryosparc_compute.jobs.rtp_workers.run.do_patch_motion
File “cryosparc_master/cryosparc_compute/jobs/motioncorrection/patchmotion.py”, line 255, in cryosparc_compute.jobs.motioncorrection.patchmotion.unbend_motion_correction
File “cryosparc_master/cryosparc_compute/jobs/motioncorrection/patchmotion.py”, line 264, in cryosparc_compute.jobs.motioncorrection.patchmotion.unbend_motion_correction
File “cryosparc_master/cryosparc_compute/jobs/motioncorrection/patchmotion.py”, line 190, in cryosparc_compute.jobs.motioncorrection.patchmotion.prepare_movie_for_processing
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.