Skip to content

Instantly share code, notes, and snippets.

@celoyd
Created July 11, 2016 04:55
Show Gist options
  • Select an option

  • Save celoyd/1f5d1a48d99461027a0758dbc88e41eb to your computer and use it in GitHub Desktop.

Select an option

Save celoyd/1f5d1a48d99461027a0758dbc88e41eb to your computer and use it in GitHub Desktop.
#!/usr/bin/env python
from astropy.io import fits
from skimage import io
from sys import argv
io.imsave(
argv[2],
fits.open(argv[1])[0].data
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment