dsavransky / EXOSIMS

Simulator for exoplanet direct imaging space missions
BSD 3-Clause "New" or "Revised" License
25 stars 35 forks source link

Need to switch to synphot for star photometry calculations #316

Closed dsavransky closed 1 year ago

dsavransky commented 1 year ago

Is your feature request related to a problem? Please describe. Our stellar photometry calculations have gotten too complex and hard to check/debug. We're also needlessly reinventing the wheel on a lot of this.

Describe the solution you'd like synphot (https://synphot.readthedocs.io/) is a mature, stable package, supported by STScI, which does exactly what we need.

Additional context This will involve wrapping synphot file management into the init of TargetList (replacing current handling of the Pickles library), rewriting starMag and starF0 and F0 methods, and all of their calls.

dsavransky commented 1 year ago

This should also cover #275 and #280