Home
Random
Watchlist
Settings
Log in
About SAAO TOPS Wiki
Disclaimers
Open main menu
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 />
← Older edit
Newer edit →
Gilbank
118
edits