Changes

Using QL outputs

2 bytes added, 09:50, 22 December 2016
/* Overview */
from astropy.io import fits<br />
im2D = fits.getdata('image.fits')<br />
im2D = im2D[:,-::-1] # flip x<br />
im2D = im2D[:,98:2145] # trim<br />
fits.writeto('outimage.fits',im2D)<br />
118
edits