DASP the Durham Adaptive optics Simulation Platform: Modelling and simulation of adaptive optics systems
GNU Affero General Public License v3.0
16
stars
10
forks
source link
added numpy version check for fits write method dependency #1
Closed
sdimoudi closed 6 years ago
numpy.ndarray.tobytes() works for bumpy version >=1.9.0, added a version check to avoid failure for earlier bumpy versions (did not work on Ubuntu 14.04 with Python 2.7.6 and numpy 1.8.2) . See also https://docs.scipy.org/doc/numpy/reference/generated/numpy.ndarray.tobytes.html