Skip to content

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

@turchis

Description

@turchis

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions