Skip to content
9 changes: 8 additions & 1 deletion METIS/METIS.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,19 @@ effects:
minimum_throughput: !!float 0.

- name : common_fits_keywords
decription : FITS keywords common to all modes
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops, thanks

description : FITS keywords common to all modes
class : ExtraFitsKeywords
include : True
kwargs :
filename: headers/FITS_common_keywords.yaml

- name: cfo_fits_keywords
description: FITS keywords to CFO elements
class: ExtraFitsKeywords
include: True
kwargs:
filename: headers/FITS_cfo_keywords.yaml

# - name : metis_adc_residuals
# class : AtmosphericDispersionCorrection
# include : False
Expand Down
7 changes: 7 additions & 0 deletions METIS/METIS_DET_IFU.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,10 @@ effects:
class: Quantization
kwargs:
dtype: uint16

- name: det_ifu_fits_keywords
descriptions: FITS keywords specific to IFU detectors
class: ExtraFitsKeywords
include: True
kwargs:
filename: headers/FITS_det_ifu_keywords.yaml
7 changes: 7 additions & 0 deletions METIS/METIS_DET_IMG_LM.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,10 @@ effects:
class: Quantization
kwargs:
dtype: uint16

- name: det_lm_fits_keywords
descriptions: FITS keywords specific to LM detector
class: ExtraFitsKeywords
include: True
kwargs:
filename: headers/FITS_det_lm_keywords.yaml
7 changes: 7 additions & 0 deletions METIS/METIS_DET_IMG_N_GeoSnap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,10 @@ effects:
class: Quantization
kwargs:
dtype: uint16

- name: det_n_fits_keywords
descriptions: FITS keywords specific to N detector
class: ExtraFitsKeywords
include: True
kwargs:
filename: headers/FITS_det_n_keywords.yaml
8 changes: 8 additions & 0 deletions METIS/METIS_IMG_LM.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ changes:
- 2022-01-12 (OC) change default bkg_width to -1
- 2022-02-17 (OC) increase spectral_bin_width for imaging
- 2022-02-21 (OC) renamed effects
- 2025-04-16 (OC) add ExtraFitsKeywords

properties:
pixel_scale: 0.00547 # arcsec / pixel, METIS_1097
Expand Down Expand Up @@ -81,6 +82,13 @@ effects:
wave_key: "WAVELENG"
bkg_width: -1

- name: img_lm_fits_keywords
descriptions: FITS keywords specific to IMG-LM
class: ExtraFitsKeywords
include: True
kwargs:
filename: headers/FITS_img_lm_keywords.yaml

---
### default simulation parameters needed for a METIS simulation
object: simulation
Expand Down
8 changes: 8 additions & 0 deletions METIS/METIS_IMG_N.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,14 @@ effects:
wave_key: "WAVELENG"
bkg_width: -1

- name: img_n_fits_keywords
descriptions: FITS keywords specific to IMG-N
class: ExtraFitsKeywords
include: True
kwargs:
filename: headers/FITS_img_n_keywords.yaml


---
### default simulation parameters needed for a METIS simulation
object: simulation
Expand Down
7 changes: 6 additions & 1 deletion METIS/METIS_LMS.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,12 @@ effects:
col_number_start: 1
slice_samples: 5 # number of samples along slice width


- name: lms_fits_keywords
description: FITS keywords specific to LMS elements
class: ExtraFitsKeywords
include: True
kwargs:
filename: headers/FITS_lms_keywords.yaml

---
### default simulation parameters needed for a METIS simulation
Expand Down
7 changes: 7 additions & 0 deletions METIS/METIS_LSS.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,13 @@ effects:
s_colname: "xi"
col_number_start: 1

- name: lss_fits_keywords
descriptions: FITS keywords specific to LSS
class: ExtraFitsKeywords
include: True
kwargs:
filename: headers/FITS_lss_keywords.yaml

---
### default simulation parameters needed for a METIS simulation
object: simulation
Expand Down
14 changes: 14 additions & 0 deletions METIS/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ mode_yamls:
- METIS_IMG_LM.yaml
- METIS_DET_IMG_LM.yaml
properties:
ins_mode: IMG_LM # use as FITS header keyword
psf_file: PSF_SCAO_9mag_06seeing.fits
filter_name: Lp
nd_filter_name: open
Expand All @@ -93,6 +94,7 @@ mode_yamls:
- METIS_IMG_N.yaml
- METIS_DET_IMG_N_GeoSnap.yaml
properties:
ins_mode: IMG_N # use as FITS header keyword
psf_file: PSF_SCAO_9mag_06seeing.fits
filter_name: N2
nd_filter_name: open
Expand All @@ -115,6 +117,7 @@ mode_yamls:
- METIS_LSS.yaml
- METIS_DET_IMG_LM.yaml
properties:
ins_mode: LSS_L # use as FITS header keyword
psf_file: PSF_LM_9mag_06seeing.fits
trace_file: TRACE_LSS_L.fits
efficiency_file: TER_grating_L.fits
Expand All @@ -137,6 +140,7 @@ mode_yamls:
- METIS_LSS.yaml
- METIS_DET_IMG_LM.yaml
properties:
ins_mode: IMG_M # use as FITS header keyword
psf_file: PSF_LM_9mag_06seeing.fits
trace_file: TRACE_LSS_M.fits
efficiency_file: TER_grating_M.fits
Expand All @@ -159,6 +163,7 @@ mode_yamls:
- METIS_LSS.yaml
- METIS_DET_IMG_N_GeoSnap.yaml
properties:
ins_mode: IMG_N # use as FITS header keyword
psf_file: PSF_N_9mag_06seeing.fits
trace_file: TRACE_LSS_N.fits
efficiency_file: TER_grating_N.fits
Expand All @@ -180,6 +185,7 @@ mode_yamls:
- METIS_LMS.yaml
- METIS_DET_IFU.yaml
properties:
ins_mode: LMS # use as FITS header keyword
psf_file: PSF_LM_9mag_06seeing.fits
slit: false
adc: false
Expand All @@ -199,6 +205,7 @@ mode_yamls:
- METIS_LMS_EXT.yaml
- METIS_DET_IFU.yaml
properties:
ins_mode: LMS # use as FITS header keyword
slit: false
adc: false
detector_readout_mode: slow
Expand All @@ -213,6 +220,7 @@ mode_yamls:
- METIS_IMG_LM.yaml
- METIS_DET_IMG_LM.yaml
properties:
ins_mode: IMG_LM # use as FITS header keyword
psf_file: PSF_SCAO_9mag_06seeing.fits # REPLACE!
filter_name: Lp
nd_filter_name: open
Expand All @@ -230,6 +238,7 @@ mode_yamls:
- METIS_IMG_N.yaml
- METIS_DET_IMG_N_GeoSnap.yaml
properties:
ins_mode: IMG_N # use as FITS header keyword
psf_file: PSF_SCAO_9mag_06seeing.fits # REPLACE!
filter_name: N2
nd_filter_name: open
Expand All @@ -250,6 +259,7 @@ mode_yamls:
- METIS_LSS.yaml
- METIS_DET_IMG_LM.yaml
properties:
ins_mode: LSS_L # use as FITS header keyword
psf_file: PSF_LM_9mag_06seeing.fits # REPLACE!
trace_file: TRACE_LSS_L.fits
efficiency_file: TER_grating_L.fits
Expand All @@ -270,6 +280,7 @@ mode_yamls:
- METIS_LSS.yaml
- METIS_DET_IMG_LM.yaml
properties:
ins_mode: LSS_M # use as FITS header keyword
psf_file: PSF_LM_9mag_06seeing.fits # REPLACE!
trace_file: TRACE_LSS_M.fits
efficiency_file: TER_grating_M.fits
Expand All @@ -290,6 +301,7 @@ mode_yamls:
- METIS_LSS.yaml
- METIS_DET_IMG_N_GeoSnap.yaml
properties:
ins_mode: LSS_N # use as FITS header keyword
psf_file: PSF_N_9mag_06seeing.fits # REPLACE!
trace_file: TRACE_LSS_N.fits
efficiency_file: TER_grating_N.fits
Expand All @@ -309,6 +321,7 @@ mode_yamls:
- METIS_LMS.yaml
- METIS_DET_IFU.yaml
properties:
ins_mode: LMS # use as FITS header keyword
psf_file: PSF_LM_9mag_06seeing.fits # REPLACE!
slit: false
adc: false
Expand All @@ -326,6 +339,7 @@ mode_yamls:
- METIS_LMS_EXT.yaml
- METIS_DET_IFU.yaml
properties:
ins_mode: LMS # use as FITS header keyword
slit: false
adc: false
detector_readout_mode: slow
Expand Down
18 changes: 18 additions & 0 deletions METIS/headers/FITS_cfo_keywords.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
- ext_type: PrimaryHDU
keywords:

HIERARCH:
ESO:
INS:
OPTI1: # CFO PP1 mask wheel
# TODO: There are no names yet. We use the
# transmission, which is returned as an
# inconvenient list.
DESC: "CFO PP1 mask wheel"
NAME: "#cold_stop.transmission!"
OPTI2: # CFO PP1 ADC wheel
DESC: "ADC wheel"
NAME: "#adc_wheel.current_adc!"
OPTI3: # CFO FP2 mask/slit wheel
DESC: "Slit wheel"
NAME: "#slit_wheel.current_slit!"
2 changes: 1 addition & 1 deletion METIS/headers/FITS_common_keywords.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
#
# Many more are defined in E-LIS-KUL-MET-1002. Not all possible INS
# keywords are applicable to all observation modes.
#
MODE: "!OBS.ins_mode" # Instrument mode
# TODO: Add the OPTI keywords, but probably in separate yaml files
# for each mode.
#OPTI6:
Expand Down
24 changes: 24 additions & 0 deletions METIS/headers/FITS_det_ifu_keywords.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
- ext_type: PrimaryHDU
keywords:
HIERARCH:
ESO:
DET3:
DIT: "!OBS.dit"
NDIT: "!OBS.ndit"
CUBE:
MODE: "F"

- ext_type: ImageHDU
keywords:

HIERARCH:
ESO:
DET3:
CHIP:
ID: "!DET.detector"
#MODE: "#detector_readout_parameters.mode_properties"
MINDIT: "!DET.mindit"
FULLWELL: "!DET.full_well"
RON: "!DET.readout_noise"
DARK: "!DET.dark_current"
#GAIN: "!DET.gain"
23 changes: 23 additions & 0 deletions METIS/headers/FITS_det_lm_keywords.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
- ext_type: PrimaryHDU
keywords:
HIERARCH:
ESO:
DET1:
DIT: "!OBS.dit"
NDIT: "!OBS.ndit"
CUBE:
MODE: "F"

- ext_type: ImageHDU
keywords:
HIERARCH:
ESO:
DET1:
CHIP:
ID: "!DET.detector"
MODE: "!OBS.detector_readout_mode!"
MINDIT: "!DET.mindit"
FULLWELL: "!DET.full_well"
RON: "!DET.readout_noise"
DARK: "!DET.dark_current"
#GAIN: "!DET.gain"
29 changes: 29 additions & 0 deletions METIS/headers/FITS_det_n_keywords.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
- ext_type: PrimaryHDU
keywords:
HIERARCH:
ESO:
DET2:
DIT: "!OBS.dit"
NDIT: "!OBS.ndit"
CUBE:
MODE: "F"
SEQ:
CHOPNOD:
ST: "#chop_nod.include"
OFFSCHOP: ["!OBS.chop_offsets", "[arcsec]"]
OFFSNOD: ["!OBS.nod_offsets", "[arcsec"]

- ext_type: ImageHDU
keywords:

HIERARCH:
ESO:
DET2:
CHIP:
ID: "!DET.detector"
MODE: "!OBS.detector_readout_mode!"
MINDIT: "!DET.mindit"
FULLWELL: "!DET.full_well"
RON: "!DET.readout_noise"
DARK: "!DET.dark_current"
#GAIN
20 changes: 20 additions & 0 deletions METIS/headers/FITS_img_lm_keywords.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
- ext_type: PrimaryHDU
keywords:

HIERARCH:
ESO:
DPR:
TECH: "IMAGE,LM"
INS:
OPTI4: # LMS beamsplitter pickoff wheel
DESC: "LMS pickoff"
NAME: "OUT" # could be IN for parallel observing
OPTI9: # IMG-LM mask/grism wheel
DESC: "IMG-LM mask/grism"
NAME: "open"
OPTI10: # IMG-LM science filter wheel
DESC: "IMG-LM science filter"
NAME: "#filter_wheel.current_filter!"
OPTI11: # IMG-LM neutral density filter wheel
DESC: "IMG-LM neutral density filter"
NAME: "#nd_filter_wheel.current_filter!"
20 changes: 20 additions & 0 deletions METIS/headers/FITS_img_n_keywords.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
- ext_type: PrimaryHDU
keywords:

HIERARCH:
ESO:
DPR:
TECH: "IMAGE,N"
INS:
OPTI4: # LMS beamsplitter pickoff wheel
DESC: "LMS pickoff"
NAME: "OUT" # could be IN for parallel observing
OPTI12: # IMG-N mask/grism wheel
DESC: "IMG-N mask/grism"
NAME: "open"
OPTI13: # IMG-N science filter wheel
DESC: "IMG-N science filter"
NAME: "#filter_wheel.current_filter!"
OPTI14: # IMG-N neutral-density filter wheel
DESC: "IMG-N neutral density filter"
NAME: "#nd_filter_wheel.current_filter!"
Loading