superbit-collaboration / superbit-metacal

Contains a collection of routines used to perform gmix/metacalibration on simulated SuperBIT images
4 stars 1 forks source link

Source Extractor doesn't run detection on the full det image #127

Closed sweverett closed 1 year ago

sweverett commented 1 year ago

For an unknown reason, Source Extractor is not running detection on the full det image - see below. I thought it might be related to a power of 2 issue, but the detection catalog came out to 20,715 which is not a suspicious number. Unclear what is happening but will check out the SE config.

image
mcclearyj commented 1 year ago

Hi Spencer,

Updating here for the sake of posterity. I have found that DS9 has trouble importing large FITS catalogs and mapping them to regions on the image. This ends up creating alarming-looking images like the one you show, even though there is nothing wrong with the underlying catalog.

DS9 has no problem loading VOTable (Virtual Observatory Tabular) format catalogs, so the solution is just saving the catalog to VOTable format. FITS tables can be exported as VOTables with astropy.table.Table to convert a FITS catalog, or one can just set the SExtractor catalog output format (CATALOG_TYPE) to ASCII_VOTABLE.

I am going to preemptively close the issue with this comment; please re-open if this is in error.

sweverett commented 1 year ago

Thanks @mcclearyj!