-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Bug report attached, I tracked this down to sep but properly fixing it is now straightforward (we would need to monkeypatch sep).
2022-05-04 13:00:04 - INFO - Placing output in '/flows/photometry_workdir/2020hvf/14683'
2022-05-04 13:00:04 - INFO - Load image '/flows/archive/2020hvf/SN2020hvf_20210420_H.fits.gz'
2022-05-04 13:00:08 - ERROR - Photometry failed
Traceback (most recent call last):
File "run_photometry.py", line 49, in process_fileid
photfile = photometry(
File "/usr/users/kasoc/flows/flows/flows/photometry.py", line 188, in photometry
objects = sep.extract(image.image - sep_background,
File "sep.pyx", line 737, in sep.extract
File "sep.pyx", line 289, in sep._assert_ok
Exception: internal pixel buffer full: The limit of 300000 active object pixels over the detection threshold was reached. Check that the image is background subtracted and the detection threshold is not too low. If you need to increase the limit, use set_extract_pixstack.