From 95ac0fb6ff845942809729824cc295f66c6df091 Mon Sep 17 00:00:00 2001 From: Roberto Susino <roberto.susino@inaf.it> Date: Tue, 18 Jan 2022 14:20:53 +0100 Subject: [PATCH] Add Metis specific WCS keywords --- metis_wcs.pro | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/metis_wcs.pro b/metis_wcs.pro index 3944d91..85c0ec1 100644 --- a/metis_wcs.pro +++ b/metis_wcs.pro @@ -177,6 +177,14 @@ function metis_wcs, header, cal_pack, ref_detector = ref_detector name: 'SUN_YCEN', $ value: sunpix[1], $ 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, { $ name: 'IO_XCEN', $ value: borpix[0], $ @@ -185,6 +193,14 @@ function metis_wcs, header, cal_pack, ref_detector = ref_detector name: 'IO_YCEN', $ value: borpix[1], $ 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, { $ name: 'FS_XCEN', $ value: crpix[0], $ @@ -193,6 +209,14 @@ function metis_wcs, header, cal_pack, ref_detector = ref_detector name: 'FS_YCEN', $ value: crpix[1], $ 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, { $ name: 'SC_XCEN', $ value: pntpix[0], $ @@ -201,6 +225,14 @@ function metis_wcs, header, cal_pack, ref_detector = ref_detector name: 'SC_YCEN', $ value: pntpix[1], $ 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, { $ name: 'SC_YAW', $ value: pointing[0], $ -- GitLab