Skip to content

Instantly share code, notes, and snippets.

@d3v-null
Created February 1, 2024 08:29
Show Gist options
  • Save d3v-null/afc0c109da3b6bbbe878e652d8d2c015 to your computer and use it in GitHub Desktop.
Save d3v-null/afc0c109da3b6bbbe878e652d8d2c015 to your computer and use it in GitHub Desktop.
quick fits dump
python -c 'from astropy.io import fits; import sys; from tabulate import tabulate; print(tabulate((i:=fits.open(sys.argv[-1])[1]).data, headers=[c.name for c in i.columns]))'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment