-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
We get NaN warnings from two things that we expect to happen:
- NaN regions of images:
WARNING: Input data contains unmasked non-finite values (NaN or inf), which were automatically ignored. [photutils.psf.photometry]
- Negative flux values converted to magnitudes:
mk_lc.py:208: RuntimeWarning: invalid value encountered in log10
star_fit_mags = -2.5 * np.log10(xm["flux_fit"])
Add code to suppress this warnings. Either for everything or just as specific context managers.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels