Skip to content

Instantly share code, notes, and snippets.

@jonathansick
Created March 11, 2014 16:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonathansick/9489902 to your computer and use it in GitHub Desktop.
Save jonathansick/9489902 to your computer and use it in GitHub Desktop.
Pixel scale from CD matrix
np.sqrt(header['CD1_1'] ** 2. + header['CD1_2'] ** 2.) * 3600.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment