diff options
Diffstat (limited to 'astro/fits')
-rwxr-xr-x | astro/fits/fitscube.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/astro/fits/fitscube.py b/astro/fits/fitscube.py index 2c9a4fc..7c30783 100755 --- a/astro/fits/fitscube.py +++ b/astro/fits/fitscube.py @@ -165,7 +165,7 @@ class FITSCube: """ nslice = self.nslice wcs = self.wcs - pix = np.zeros(shape=(nslice, 3), dtype=np.int) + pix = np.zeros(shape=(nslice, 3), dtype=int) pix[:, 2] = np.arange(nslice) world = wcs.wcs_pix2world(pix, 0) return world[:, 2] |