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).
Bug fix (non-breaking change which fixes an issue)
Checklist before requesting a review
[x] I have verified that all unit tests pass in a clean virtual environment and added new unit tests, as needed
[x] I have run e2eTests and added new test scripts, as needed
[x] I have verified that all docstrings are properly formatted and added new documentation, as needed
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
e2eTests
and added new test scripts, as needed