Changes
Jump to:
navigation
,
search
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
Navigation menu
Personal tools
Create account
Log in
Namespaces
Special page
Variants
Views
More
Search
Navigation
Main page
Recent changes
Random page
Help
Tools
Special pages