lynx-x-ray-observatory / soxs

SOXS: Simulated Observations of X-ray Sources
Other
16 stars 3 forks source link

lam value too large when convolving spectra #24

Closed skylargrayson closed 1 year ago

skylargrayson commented 1 year ago

I am trying to run the XRISM resolve instrument simulator on a Count Rate Spectrum from pyxsim, but when it tries to add poisson noise, I am getting a ValueError: lam value too large

It's possible I'm running something wrong, but if not this could be an issue with the use of the random number generator and large datasets.