Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory error with a detection threshold of 50*sigma #143

Open
turchis opened this issue Sep 5, 2022 · 0 comments
Open

Memory error with a detection threshold of 50*sigma #143

turchis opened this issue Sep 5, 2022 · 0 comments

Comments

@turchis
Copy link

turchis commented Sep 5, 2022

Hello,

I'm analyzing a data set acquired by the LCO/Sinistro telescope, and I get the following error message even if I use a detection threshold of 50*rms of the background in the sep.extract function:

"Traceback (most recent call last):
File "/export/work/marcotu/J1720/sinistro/photometry_LCO_sep.py", line 604, in
photometry(image,image_file=image_file,threshold=50.0,min_area=2,star_scale=1.5,max_fwhm=16)
File "/export/work/marcotu/J1720/sinistro/photometry_LCO_sep.py", line 329, in photometry
sources = sep.extract(data, threshold, minarea=min_area, deblend_nthresh=32, deblend_cont=1., err=bkg_rms)
File "sep.pyx", line 737, in sep.extract
File "sep.pyx", line 265, in sep._assert_ok
MemoryError"

Is there any way to tune the limit for the memory allocation in the C source code sep.pyx?

Thank you,
Marco

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant