Roman-Supernova-PIT / phrosty

Basic package for photometry on the RomanDESC sims.
MIT License
3 stars 2 forks source link

Source Extractor using wrong gain, saturation #9

Open laldoroty opened 3 months ago

laldoroty commented 3 months ago

After cross convolve, the following warning is thrown:

MeLOn CheckPoint [conv_align_skysub_Roman_TDS_simple_model_R062_37396_8.fits]: Run Python Wrapper of SExtractor!
/hpc/group/cosmology/lna18/sfft/sfft/utils/pyAstroMatic/PYSEx.py:493: UserWarning: MeLOn WARNING [conv_align_skysub_Roman_TDS_simple_model_R062_37396_8.fits]: SExtractor has to use default GAIN = 0!
  warnings.warn('MeLOn WARNING [%s]: %s' %(objname, _warn_message))
/hpc/group/cosmology/lna18/sfft/sfft/utils/pyAstroMatic/PYSEx.py:504: UserWarning: MeLOn WARNING [conv_align_skysub_Roman_TDS_simple_model_R062_37396_8.fits]: SExtractor has to use default SATURATION = 50000.0!
  warnings.warn('MeLOn WARNING [%s]: %s' %(objname, _warn_message))

Should default to gain=1, saturation=100000. The values in this error are default to SFFT. We need our defaults to be 1, 100000.

laldoroty commented 3 months ago

I updated my forked SFFT package (https://github.com/laldoroty/sfft) to allow choosing gain=1, saturation=100000, but I think we should leave this open and figure out if we need real gain/saturation values in headers. Or if these values are always correct because it's a sim...?