Skip to content
Snippets Groups Projects
Commit 95ac0fb6 authored by Roberto Susino's avatar Roberto Susino
Browse files

Add Metis specific WCS keywords

parent 78408cb0
Branches
Tags
No related merge requests found
...@@ -177,6 +177,14 @@ function metis_wcs, header, cal_pack, ref_detector = ref_detector ...@@ -177,6 +177,14 @@ function metis_wcs, header, cal_pack, ref_detector = ref_detector
name: 'SUN_YCEN', $ name: 'SUN_YCEN', $
value: sunpix[1], $ value: sunpix[1], $
comment: '[pixel] Sun center location along axis 2'} comment: '[pixel] Sun center location along axis 2'}
wcs.add, { $
name: 'SUNPIX1', $
value: sunpix[0], $
comment: '[pixel] Sun center location along axis 1'}
wcs.add, { $
name: 'SUNPIX2', $
value: sunpix[1], $
comment: '[pixel] Sun center location along axis 2'}
wcs.add, { $ wcs.add, { $
name: 'IO_XCEN', $ name: 'IO_XCEN', $
value: borpix[0], $ value: borpix[0], $
...@@ -185,6 +193,14 @@ function metis_wcs, header, cal_pack, ref_detector = ref_detector ...@@ -185,6 +193,14 @@ function metis_wcs, header, cal_pack, ref_detector = ref_detector
name: 'IO_YCEN', $ name: 'IO_YCEN', $
value: borpix[1], $ value: borpix[1], $
comment: '[pixel] Metis IO center location along axis 2'} comment: '[pixel] Metis IO center location along axis 2'}
wcs.add, { $
name: 'IOPIX1', $
value: borpix[0], $
comment: '[pixel] Metis IO center location along axis 1'}
wcs.add, { $
name: 'IOPIX2', $
value: borpix[1], $
comment: '[pixel] Metis IO center location along axis 2'}
wcs.add, { $ wcs.add, { $
name: 'FS_XCEN', $ name: 'FS_XCEN', $
value: crpix[0], $ value: crpix[0], $
...@@ -193,6 +209,14 @@ function metis_wcs, header, cal_pack, ref_detector = ref_detector ...@@ -193,6 +209,14 @@ function metis_wcs, header, cal_pack, ref_detector = ref_detector
name: 'FS_YCEN', $ name: 'FS_YCEN', $
value: crpix[1], $ value: crpix[1], $
comment: '[pixel] Metis field-stop center location along axis 2'} comment: '[pixel] Metis field-stop center location along axis 2'}
wcs.add, { $
name: 'FSPIX1', $
value: crpix[0], $
comment: '[pixel] Metis field-stop center location along axis 1'}
wcs.add, { $
name: 'FSPIX2', $
value: crpix[1], $
comment: '[pixel] Metis field-stop center location along axis 2'}
wcs.add, { $ wcs.add, { $
name: 'SC_XCEN', $ name: 'SC_XCEN', $
value: pntpix[0], $ value: pntpix[0], $
...@@ -201,6 +225,14 @@ function metis_wcs, header, cal_pack, ref_detector = ref_detector ...@@ -201,6 +225,14 @@ function metis_wcs, header, cal_pack, ref_detector = ref_detector
name: 'SC_YCEN', $ name: 'SC_YCEN', $
value: pntpix[1], $ value: pntpix[1], $
comment: '[pixel] S/C pointing location along axis 2'} comment: '[pixel] S/C pointing location along axis 2'}
wcs.add, { $
name: 'SCPIX1', $
value: pntpix[0], $
comment: '[pixel] S/C pointing location along axis 1'}
wcs.add, { $
name: 'SCPIX2', $
value: pntpix[1], $
comment: '[pixel] S/C pointing location along axis 2'}
wcs.add, { $ wcs.add, { $
name: 'SC_YAW', $ name: 'SC_YAW', $
value: pointing[0], $ value: pointing[0], $
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment