Skip to content

Instantly share code, notes, and snippets.

@augustfly
Created March 18, 2014 13:27
Show Gist options
  • Select an option

  • Save augustfly/9620005 to your computer and use it in GitHub Desktop.

Select an option

Save augustfly/9620005 to your computer and use it in GitHub Desktop.
example header file (output from header.totextfile("/tmp/example.txt"))
SIMPLE = T / Standard FITS file
BITPIX = 8 / ASCII or bytes array
NAXIS = 0 / Minimal header
EXTEND = T / There may be FITS ext
WCSAXES = 2 / no comment
CTYPE1 = 'RA---TAN-SIP' / TAN (gnomic) projection + SIP distortions
CTYPE2 = 'DEC--TAN-SIP' / TAN (gnomic) projection + SIP distortions
EQUINOX = 2000.0 / Equatorial coordinates definition (yr)
LONPOLE = 180.0 / no comment
LATPOLE = 0.0 / no comment
CRVAL1 = 83.8578729347 / RA of reference point
CRVAL2 = -4.80906712139 / DEC of reference point
CRPIX1 = 658.560804168 / X reference pixel
CRPIX2 = 846.31956318 / Y reference pixel
CUNIT1 = 'deg ' / X pixel scale units
CUNIT2 = 'deg ' / Y pixel scale units
CD1_1 = 0.000379896710979 / Transformation matrix
CD1_2 = 3.09964459561E-06 / no comment
CD2_1 = -2.50900887992E-06 / no comment
CD2_2 = 0.000385952339204 / no comment
IMAGEW = 1232 / Image width, in pixels.
IMAGEH = 1752 / Image height, in pixels.
A_ORDER = 2 / Polynomial order, axis 1
A_0_2 = 7.97091031426E-07 / no comment
A_1_1 = -3.25803481917E-07 / no comment
A_2_0 = -5.57382289314E-06 / no comment
B_ORDER = 2 / Polynomial order, axis 2
B_0_2 = 6.7137293633E-06 / no comment
B_1_1 = -1.50750404962E-06 / no comment
B_2_0 = -3.5621746579E-06 / no comment
AP_ORDER= 2 / Inv polynomial order, axis 1
AP_0_1 = 5.07513337827E-06 / no comment
AP_0_2 = -7.95128716227E-07 / no comment
AP_1_0 = 1.1421609263E-05 / no comment
AP_1_1 = 3.24968663928E-07 / no comment
AP_2_0 = 5.56660441363E-06 / no comment
BP_ORDER= 2 / Inv polynomial order, axis 2
BP_0_1 = 3.87373237225E-05 / no comment
BP_0_2 = -6.70565965846E-06 / no comment
BP_1_0 = 7.52779528137E-07 / no comment
BP_1_1 = 1.50834569787E-06 / no comment
BP_2_0 = 3.55228615193E-06 / no comment
HISTORY Created by the Astrometry.net suite.
HISTORY For more details, see http://astrometry.net .
HISTORY Subversion URL
HISTORY svn+ssh://astrometry.net/svn/tags/tarball-0.43/astrometry/
HISTORY util/
HISTORY Subversion revision 22481
HISTORY Subversion date 2013-03-27 18:30:56 +0000 (Wed, 27 Mar
HISTORY 2013)
HISTORY This WCS header was created by the program "blind".
DATE = '2013-08-20T18:16:50' / Date this file was created.
COMMENT -- blind solver parameters: --
COMMENT Index(0):
COMMENT /n/scratch2/goodman_lab/maxlu/astrometry.net-0.43//data/in
COMMENT dex-4219.fits
COMMENT Index(1):
COMMENT /n/scratch2/goodman_lab/maxlu/astrometry.net-0.43//data/in
COMMENT dex-4218.fits
COMMENT Index(2):
COMMENT /n/scratch2/goodman_lab/maxlu/astrometry.net-0.43//data/in
COMMENT dex-4217.fits
COMMENT Index(3):
COMMENT /n/scratch2/goodman_lab/maxlu/astrometry.net-0.43//data/in
COMMENT dex-4216.fits
COMMENT Index(4):
COMMENT /n/scratch2/goodman_lab/maxlu/astrometry.net-0.43//data/in
COMMENT dex-4215.fits
COMMENT Index(5):
COMMENT /n/scratch2/goodman_lab/maxlu/astrometry.net-0.43//data/in
COMMENT dex-4214.fits
COMMENT Index(6):
COMMENT /n/scratch2/goodman_lab/maxlu/astrometry.net-0.43//data/in
COMMENT dex-4213.fits
COMMENT Index(7):
COMMENT /n/scratch2/goodman_lab/maxlu/astrometry.net-0.43//data/in
COMMENT dex-4212.fits
COMMENT Index(8):
COMMENT /n/scratch2/goodman_lab/maxlu/astrometry.net-0.43//data/in
COMMENT dex-4211.fits
COMMENT Index(9):
COMMENT /n/scratch2/goodman_lab/maxlu/astrometry.net-0.43//data/in
COMMENT dex-4210.fits
COMMENT Index(10):
COMMENT /n/scratch2/goodman_lab/maxlu/astrometry.net-0.43//data/in
COMMENT dex-4209.fits
COMMENT Index(11):
COMMENT /n/scratch2/goodman_lab/maxlu/astrometry.net-0.43//data/in
COMMENT dex-4208.fits
COMMENT Index(12):
COMMENT /n/scratch2/goodman_lab/maxlu/astrometry.net-0.43//data/in
COMMENT dex-4207-05.fits
COMMENT Index(13):
COMMENT /n/scratch2/goodman_lab/maxlu/astrometry.net-0.43//data/in
COMMENT dex-4206-05.fits
COMMENT Index(14):
COMMENT /n/scratch2/goodman_lab/maxlu/astrometry.net-0.43//data/in
COMMENT dex-4205-05.fits
COMMENT Index(15):
COMMENT /n/scratch2/goodman_lab/maxlu/astrometry.net-0.43//data/in
COMMENT dex-4204-21.fits
COMMENT Index(16):
COMMENT /n/scratch2/goodman_lab/maxlu/astrometry.net-0.43//data/in
COMMENT dex-4204-20.fits
COMMENT Index(17):
COMMENT /n/scratch2/goodman_lab/maxlu/astrometry.net-0.43//data/in
COMMENT dex-4203-21.fits
COMMENT Index(18):
COMMENT /n/scratch2/goodman_lab/maxlu/astrometry.net-0.43//data/in
COMMENT dex-4203-20.fits
COMMENT Index(19):
COMMENT /n/scratch2/goodman_lab/maxlu/astrometry.net-0.43//data/in
COMMENT dex-4202-21.fits
COMMENT Index(20):
COMMENT /n/scratch2/goodman_lab/maxlu/astrometry.net-0.43//data/in
COMMENT dex-4202-20.fits
COMMENT Field name:
COMMENT astrometry_output/1895ApJ.....2..164R-002-001.axy
COMMENT Field scale lower: 0.292208 arcsec/pixel
COMMENT Field scale upper: 525.974 arcsec/pixel
COMMENT X col name: X
COMMENT Y col name: Y
COMMENT Start obj: 20
COMMENT End obj: 30
COMMENT Solved_in: (null)
COMMENT Solved_out:
COMMENT astrometry_output/1895ApJ.....2..164R-002-001.solved
COMMENT Solvedserver: (null)
COMMENT Parity: 2
COMMENT Codetol: 0.01
COMMENT Verify pixels: 1 pix
COMMENT Maxquads: 0
COMMENT Maxmatches: 0
COMMENT Cpu limit: 300.000000 s
COMMENT Time limit: 0 s
COMMENT Total time limit: 0 s
COMMENT Total CPU limit: 0.000000 s
COMMENT Tweak: yes
COMMENT Tweak AB order: 2
COMMENT Tweak ABP order: 2
COMMENT --
COMMENT -- properties of the matching quad: --
COMMENT index id: 4207
COMMENT index healpix: 5
COMMENT index hpnside: 1
COMMENT log odds: 99.5882
COMMENT odds: 1.78085e+43
COMMENT quadno: 101327
COMMENT stars: 146391,146345,146364,146388
COMMENT field: 12,20,5,18
COMMENT code error: 0.00898496
COMMENT nmatch: 15
COMMENT nconflict: 0
COMMENT nfield: 84
COMMENT nindex: 20
COMMENT scale: 1.37852 arcsec/pix
COMMENT parity: 1
COMMENT quads tried: 183
COMMENT quads matched: 15
COMMENT quads verified: 0
COMMENT objs tried: 21
COMMENT cpu time: 0.004
COMMENT --
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment