dsavransky / EXOSIMS

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

Addressing the case when a star has zero flux in the observing band #361

Closed dsavransky closed 12 months ago

dsavransky commented 12 months ago

Describe your changes

This fixes two issues associated with the case when a star is evaluated to have zero flux in the observing band. First, this leads to a synphot error, which is now surpressed. Second, this leads to a dMag to intTime inversion error - this is handled by filtering out all stars with zero flux in the observing band prior to any downstream calculations.

Type of change

Please delete options that are not relevant (and this line).

Checklist before requesting a review