keflavich / FITS_tools

Simple scipy and python based tools for FITS image manipulation
17 stars 12 forks source link

Fix issues with indexing by list of slices #12

Closed tonywong94 closed 2 years ago

tonywong94 commented 2 years ago

Previously working code broke with Numpy 1.23 (see https://numpy.org/devdocs/release/1.23.0-notes.html https://github.com/numpy/numpy/pull/21029). Hopefully I caught all the cases.