-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
I was trying out the example notebook using the default sample data, sequentially running all the commands.I get a runtime warning with this command
fits_browser = ImageBrowser(images, keys=['imagetyp', 'exposure'])
fits_browser.display()
The warning is
/home/rohan/anaconda3/lib/python3.6/site-packages/astropy/visualization/mpl_normalize.py:117: RuntimeWarning: divide by zero encountered in true_divide
np.true_divide(values, self.vmax - self.vmin, out=values)
/home/rohan/anaconda3/lib/python3.6/site-packages/astropy/visualization/mpl_normalize.py:117: RuntimeWarning: invalid value encountered in true_divide
np.true_divide(values, self.vmax - self.vmin, out=values)
This only happens for imagetyp: BIAS
.Other imagetyp fit files are shown correctly.
This is probably related to Issue #162. The error there is different than I'm getting here but it's on the same command(probably).
Python version:3.6.4
Reducer version:0.4.1
IPython 6.2.1
Jupyter 4.4.0
Metadata
Metadata
Assignees
Labels
No labels