0s autopkgtest [23:45:18]: starting date and time: 2024-04-18 23:45:18+0000 0s autopkgtest [23:45:18]: git checkout: 43bc6cdf gitlab-ci: do not include the salsa pipeline 0s autopkgtest [23:45:18]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.twrpr_vz/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:gsl --apt-upgrade cpl-plugin-uves --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=gsl/2.7.1+dfsg-6ubuntu2 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos02-ppc64el-9.secgroup --name adt-noble-ppc64el-cpl-plugin-uves-20240418-234518-juju-7f2275-prod-proposed-migration-environment-2-dc1b3232-2126-4094-bf6c-d2fdb047a916 --image adt/ubuntu-noble-ppc64el-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 127s autopkgtest [23:47:25]: testbed dpkg architecture: ppc64el 127s autopkgtest [23:47:25]: testbed apt version: 2.7.14build2 127s autopkgtest [23:47:25]: @@@@@@@@@@@@@@@@@@@@ test bed setup 128s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 128s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [2340 B] 128s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [381 kB] 128s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [57.5 kB] 128s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [12.2 kB] 128s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el Packages [112 kB] 128s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el c-n-f Metadata [3116 B] 128s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted ppc64el Packages [976 B] 128s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted ppc64el c-n-f Metadata [116 B] 128s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el Packages [587 kB] 128s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el c-n-f Metadata [8652 B] 128s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse ppc64el Packages [1004 B] 128s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse ppc64el c-n-f Metadata [116 B] 131s Fetched 1282 kB in 1s (1280 kB/s) 131s Reading package lists... 133s sh: 4: dhclient: not found 134s Reading package lists... 134s Building dependency tree... 134s Reading state information... 134s Calculating upgrade... 134s The following packages will be upgraded: 134s libkeyutils1 libnuma1 make netcat-openbsd numactl 134s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 134s Need to get 343 kB of archives. 134s After this operation, 16.4 kB disk space will be freed. 134s Get:1 http://ftpmaster.internal/ubuntu noble/main ppc64el libkeyutils1 ppc64el 1.6.3-3build1 [11.0 kB] 134s Get:2 http://ftpmaster.internal/ubuntu noble/main ppc64el netcat-openbsd ppc64el 1.226-1ubuntu2 [46.2 kB] 135s Get:3 http://ftpmaster.internal/ubuntu noble/main ppc64el libnuma1 ppc64el 2.0.18-1build1 [28.2 kB] 135s Get:4 http://ftpmaster.internal/ubuntu noble/main ppc64el make ppc64el 4.3-4.1build2 [214 kB] 135s Get:5 http://ftpmaster.internal/ubuntu noble/main ppc64el numactl ppc64el 2.0.18-1build1 [43.9 kB] 135s Fetched 343 kB in 1s (607 kB/s) 135s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 71981 files and directories currently installed.) 135s Preparing to unpack .../libkeyutils1_1.6.3-3build1_ppc64el.deb ... 135s Unpacking libkeyutils1:ppc64el (1.6.3-3build1) over (1.6.3-3) ... 135s Preparing to unpack .../netcat-openbsd_1.226-1ubuntu2_ppc64el.deb ... 135s Unpacking netcat-openbsd (1.226-1ubuntu2) over (1.226-1ubuntu1) ... 135s Preparing to unpack .../libnuma1_2.0.18-1build1_ppc64el.deb ... 135s Unpacking libnuma1:ppc64el (2.0.18-1build1) over (2.0.18-1) ... 135s Preparing to unpack .../make_4.3-4.1build2_ppc64el.deb ... 135s Unpacking make (4.3-4.1build2) over (4.3-4.1build1) ... 135s Preparing to unpack .../numactl_2.0.18-1build1_ppc64el.deb ... 135s Unpacking numactl (2.0.18-1build1) over (2.0.18-1) ... 135s Setting up libkeyutils1:ppc64el (1.6.3-3build1) ... 135s Setting up netcat-openbsd (1.226-1ubuntu2) ... 135s Setting up make (4.3-4.1build2) ... 135s Setting up libnuma1:ppc64el (2.0.18-1build1) ... 135s Setting up numactl (2.0.18-1build1) ... 135s Processing triggers for man-db (2.12.0-4build1) ... 136s Processing triggers for libc-bin (2.39-0ubuntu8) ... 136s Reading package lists... 137s Building dependency tree... 137s Reading state information... 137s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 137s Hit:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease 137s Hit:2 http://ftpmaster.internal/ubuntu noble InRelease 137s Hit:3 http://ftpmaster.internal/ubuntu noble-updates InRelease 137s Hit:4 http://ftpmaster.internal/ubuntu noble-security InRelease 139s Reading package lists... 139s Reading package lists... 139s Building dependency tree... 139s Reading state information... 139s Calculating upgrade... 139s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 139s Reading package lists... 139s Building dependency tree... 139s Reading state information... 140s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 143s autopkgtest [23:47:41]: testbed running kernel: Linux 6.8.0-22-generic #22-Ubuntu SMP Thu Apr 4 22:47:57 UTC 2024 143s autopkgtest [23:47:41]: @@@@@@@@@@@@@@@@@@@@ apt-source cpl-plugin-uves 147s Get:1 http://ftpmaster.internal/ubuntu noble/universe cpl-plugin-uves 6.1.8+dfsg-2build3 (dsc) [2552 B] 147s Get:2 http://ftpmaster.internal/ubuntu noble/universe cpl-plugin-uves 6.1.8+dfsg-2build3 (tar) [1773 kB] 147s Get:3 http://ftpmaster.internal/ubuntu noble/universe cpl-plugin-uves 6.1.8+dfsg-2build3 (diff) [12.1 kB] 147s gpgv: Signature made Mon Apr 1 05:41:20 2024 UTC 147s gpgv: using RSA key A089FB36AAFBDAD5ACC1325069F790171A210984 147s gpgv: Can't check signature: No public key 147s dpkg-source: warning: cannot verify inline signature for ./cpl-plugin-uves_6.1.8+dfsg-2build3.dsc: no acceptable signature found 147s autopkgtest [23:47:45]: testing package cpl-plugin-uves version 6.1.8+dfsg-2build3 148s autopkgtest [23:47:46]: build not needed 149s autopkgtest [23:47:47]: test test-recipe.py: preparing testbed 150s Reading package lists... 150s Building dependency tree... 150s Reading state information... 150s Starting pkgProblemResolver with broken count: 0 151s Starting 2 pkgProblemResolver with broken count: 0 151s Done 151s The following additional packages will be installed: 151s cpl-plugin-uves libblas3 libcext0 libcfitsio10t64 libcplcore26 libcpldfs26 151s libcpldrs26 libcplui26 liberfa1 libfftw3-double3 libfftw3-single3 151s libgfortran5 libgomp1 libgsl27 libgslcblas0 libjs-jquery 151s libjs-jquery-hotkeys libjs-jquery-isonscreen libjs-jquery-metadata 151s libjs-jquery-tablesorter libjs-jquery-throttle-debounce libjs-sphinxdoc 151s libjs-underscore liblapack3 libqfits0 libwcs8 python3-astropy 151s python3-astropy-iers-data python3-coverage python3-cpl python3-dateutil 151s python3-erfa python3-hypothesis python3-iniconfig python3-numpy 151s python3-packaging python3-pluggy python3-ply python3-pytest 151s python3-pytest-arraydiff python3-pytest-astropy 151s python3-pytest-astropy-header python3-pytest-cov python3-pytest-doctestplus 151s python3-pytest-filter-subpackage python3-pytest-mock 151s python3-pytest-remotedata python3-sortedcontainers 151s Suggested packages: 151s cpl-plugin-uves-calib cpl-plugin-uves-doc libfftw3-bin libfftw3-dev 151s gsl-ref-psdoc | gsl-doc-pdf | gsl-doc-info | gsl-ref-html libxml2-utils 151s python-astropy-doc python3-astropy-affiliated python3-bs4 python3-h5py 151s python3-matplotlib python3-pandas python-coverage-doc gdb 151s python-hypothesis-doc gcc gfortran python3-dev python-ply-doc 151s python-pytest-mock-doc python-sortedcontainers-doc 151s Recommended packages: 151s javascript-common libjs-jquery-datatables python3-scipy python3-click 151s The following NEW packages will be installed: 151s autopkgtest-satdep cpl-plugin-uves libblas3 libcext0 libcfitsio10t64 151s libcplcore26 libcpldfs26 libcpldrs26 libcplui26 liberfa1 libfftw3-double3 151s libfftw3-single3 libgfortran5 libgomp1 libgsl27 libgslcblas0 libjs-jquery 151s libjs-jquery-hotkeys libjs-jquery-isonscreen libjs-jquery-metadata 151s libjs-jquery-tablesorter libjs-jquery-throttle-debounce libjs-sphinxdoc 151s libjs-underscore liblapack3 libqfits0 libwcs8 python3-astropy 151s python3-astropy-iers-data python3-coverage python3-cpl python3-dateutil 151s python3-erfa python3-hypothesis python3-iniconfig python3-numpy 151s python3-packaging python3-pluggy python3-ply python3-pytest 151s python3-pytest-arraydiff python3-pytest-astropy 151s python3-pytest-astropy-header python3-pytest-cov python3-pytest-doctestplus 151s python3-pytest-filter-subpackage python3-pytest-mock 151s python3-pytest-remotedata python3-sortedcontainers 151s 0 upgraded, 49 newly installed, 0 to remove and 0 not upgraded. 151s Need to get 21.7 MB/21.7 MB of archives. 151s After this operation, 97.9 MB of additional disk space will be used. 151s Get:1 /tmp/autopkgtest.NJjF8f/1-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [728 B] 151s Get:2 http://ftpmaster.internal/ubuntu noble/main ppc64el libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 151s Get:3 http://ftpmaster.internal/ubuntu noble/universe ppc64el libjs-jquery-hotkeys all 0~20130707+git2d51e3a9+dfsg-2ubuntu2 [11.5 kB] 151s Get:4 http://ftpmaster.internal/ubuntu noble/universe ppc64el libcext0 ppc64el 7.3.2+ds-1build3 [43.3 kB] 151s Get:5 http://ftpmaster.internal/ubuntu noble/universe ppc64el libcfitsio10t64 ppc64el 4.3.1-1.1build2 [713 kB] 152s Get:6 http://ftpmaster.internal/ubuntu noble/main ppc64el libgomp1 ppc64el 14-20240412-0ubuntu1 [161 kB] 152s Get:7 http://ftpmaster.internal/ubuntu noble/main ppc64el libfftw3-double3 ppc64el 3.3.10-1ubuntu3 [443 kB] 152s Get:8 http://ftpmaster.internal/ubuntu noble/main ppc64el libfftw3-single3 ppc64el 3.3.10-1ubuntu3 [453 kB] 152s Get:9 http://ftpmaster.internal/ubuntu noble/universe ppc64el libcplcore26 ppc64el 7.3.2+ds-1build3 [656 kB] 152s Get:10 http://ftpmaster.internal/ubuntu noble/universe ppc64el libcplui26 ppc64el 7.3.2+ds-1build3 [42.7 kB] 152s Get:11 http://ftpmaster.internal/ubuntu noble/universe ppc64el libcpldfs26 ppc64el 7.3.2+ds-1build3 [47.1 kB] 152s Get:12 http://ftpmaster.internal/ubuntu noble/universe ppc64el libwcs8 ppc64el 8.2.2+ds-3build2 [342 kB] 152s Get:13 http://ftpmaster.internal/ubuntu noble/universe ppc64el libcpldrs26 ppc64el 7.3.2+ds-1build3 [78.5 kB] 152s Get:14 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el libgslcblas0 ppc64el 2.7.1+dfsg-6ubuntu2 [86.6 kB] 152s Get:15 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el libgsl27 ppc64el 2.7.1+dfsg-6ubuntu2 [1090 kB] 152s Get:16 http://ftpmaster.internal/ubuntu noble/universe ppc64el libqfits0 ppc64el 6.2.0-9ubuntu1 [55.1 kB] 152s Get:17 http://ftpmaster.internal/ubuntu noble/universe ppc64el cpl-plugin-uves ppc64el 6.1.8+dfsg-2build3 [1123 kB] 152s Get:18 http://ftpmaster.internal/ubuntu noble/main ppc64el libblas3 ppc64el 3.12.0-3build1 [227 kB] 152s Get:19 http://ftpmaster.internal/ubuntu noble/main ppc64el libgfortran5 ppc64el 14-20240412-0ubuntu1 [574 kB] 153s Get:20 http://ftpmaster.internal/ubuntu noble/universe ppc64el libjs-jquery-metadata all 12-4 [6582 B] 153s Get:21 http://ftpmaster.internal/ubuntu noble/universe ppc64el libjs-jquery-tablesorter all 1:2.31.3+dfsg1-3 [193 kB] 153s Get:22 http://ftpmaster.internal/ubuntu noble/universe ppc64el libjs-jquery-throttle-debounce all 1.1+dfsg.1-2 [12.5 kB] 153s Get:23 http://ftpmaster.internal/ubuntu noble/main ppc64el libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 153s Get:24 http://ftpmaster.internal/ubuntu noble/main ppc64el libjs-sphinxdoc all 7.2.6-6 [149 kB] 153s Get:25 http://ftpmaster.internal/ubuntu noble/main ppc64el liblapack3 ppc64el 3.12.0-3build1 [2804 kB] 153s Get:26 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-iniconfig all 1.1.1-2 [6024 B] 153s Get:27 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-packaging all 24.0-1 [41.1 kB] 153s Get:28 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-pluggy all 1.4.0-1 [20.4 kB] 153s Get:29 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-pytest all 7.4.4-1 [305 kB] 153s Get:30 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-dateutil all 2.8.2-3ubuntu1 [79.4 kB] 153s Get:31 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-sortedcontainers all 2.4.0-2 [27.6 kB] 153s Get:32 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-hypothesis all 6.98.15-1 [311 kB] 153s Get:33 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-numpy ppc64el 1:1.26.4+ds-6ubuntu1 [4446 kB] 153s Get:34 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-pytest-arraydiff all 0.6.1-2 [10.2 kB] 153s Get:35 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-pytest-astropy-header all 0.2.2-1 [8190 B] 153s Get:36 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-coverage ppc64el 7.4.4+dfsg1-0ubuntu2 [149 kB] 153s Get:37 http://ftpmaster.internal/ubuntu noble/universe ppc64el libjs-jquery-isonscreen all 1.2.0-1.1 [3244 B] 153s Get:38 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-pytest-cov all 4.1.0-1 [21.5 kB] 153s Get:39 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-pytest-doctestplus all 1.2.0-1 [23.1 kB] 153s Get:40 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-pytest-filter-subpackage all 0.2.0-1 [6094 B] 153s Get:41 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-pytest-mock all 3.12.0-1.1 [11.3 kB] 153s Get:42 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-pytest-remotedata all 0.4.1-1 [8650 B] 153s Get:43 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-pytest-astropy all 0.11.0-1 [5902 B] 153s Get:44 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-ply all 3.11-6 [46.5 kB] 153s Get:45 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-astropy-iers-data all 0.2024.01.01.00.33.39-1 [2046 kB] 154s Get:46 http://ftpmaster.internal/ubuntu noble/universe ppc64el liberfa1 ppc64el 2.0.1-1 [141 kB] 154s Get:47 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-erfa ppc64el 2.0.1.1+ds-3 [316 kB] 154s Get:48 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-astropy ppc64el 6.0.0-1ubuntu2 [3916 kB] 154s Get:49 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-cpl ppc64el 0.7.4-2build10 [35.7 kB] 154s Fetched 21.7 MB in 3s (7133 kB/s) 154s Selecting previously unselected package libjs-jquery. 154s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 71981 files and directories currently installed.) 154s Preparing to unpack .../00-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 154s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 154s Selecting previously unselected package libjs-jquery-hotkeys. 154s Preparing to unpack .../01-libjs-jquery-hotkeys_0~20130707+git2d51e3a9+dfsg-2ubuntu2_all.deb ... 154s Unpacking libjs-jquery-hotkeys (0~20130707+git2d51e3a9+dfsg-2ubuntu2) ... 154s Selecting previously unselected package libcext0:ppc64el. 154s Preparing to unpack .../02-libcext0_7.3.2+ds-1build3_ppc64el.deb ... 154s Unpacking libcext0:ppc64el (7.3.2+ds-1build3) ... 154s Selecting previously unselected package libcfitsio10t64:ppc64el. 154s Preparing to unpack .../03-libcfitsio10t64_4.3.1-1.1build2_ppc64el.deb ... 154s Unpacking libcfitsio10t64:ppc64el (4.3.1-1.1build2) ... 154s Selecting previously unselected package libgomp1:ppc64el. 154s Preparing to unpack .../04-libgomp1_14-20240412-0ubuntu1_ppc64el.deb ... 154s Unpacking libgomp1:ppc64el (14-20240412-0ubuntu1) ... 154s Selecting previously unselected package libfftw3-double3:ppc64el. 154s Preparing to unpack .../05-libfftw3-double3_3.3.10-1ubuntu3_ppc64el.deb ... 154s Unpacking libfftw3-double3:ppc64el (3.3.10-1ubuntu3) ... 154s Selecting previously unselected package libfftw3-single3:ppc64el. 154s Preparing to unpack .../06-libfftw3-single3_3.3.10-1ubuntu3_ppc64el.deb ... 154s Unpacking libfftw3-single3:ppc64el (3.3.10-1ubuntu3) ... 154s Selecting previously unselected package libcplcore26:ppc64el. 154s Preparing to unpack .../07-libcplcore26_7.3.2+ds-1build3_ppc64el.deb ... 154s Unpacking libcplcore26:ppc64el (7.3.2+ds-1build3) ... 154s Selecting previously unselected package libcplui26:ppc64el. 154s Preparing to unpack .../08-libcplui26_7.3.2+ds-1build3_ppc64el.deb ... 154s Unpacking libcplui26:ppc64el (7.3.2+ds-1build3) ... 154s Selecting previously unselected package libcpldfs26:ppc64el. 154s Preparing to unpack .../09-libcpldfs26_7.3.2+ds-1build3_ppc64el.deb ... 154s Unpacking libcpldfs26:ppc64el (7.3.2+ds-1build3) ... 154s Selecting previously unselected package libwcs8:ppc64el. 154s Preparing to unpack .../10-libwcs8_8.2.2+ds-3build2_ppc64el.deb ... 154s Unpacking libwcs8:ppc64el (8.2.2+ds-3build2) ... 155s Selecting previously unselected package libcpldrs26:ppc64el. 155s Preparing to unpack .../11-libcpldrs26_7.3.2+ds-1build3_ppc64el.deb ... 155s Unpacking libcpldrs26:ppc64el (7.3.2+ds-1build3) ... 155s Selecting previously unselected package libgslcblas0:ppc64el. 155s Preparing to unpack .../12-libgslcblas0_2.7.1+dfsg-6ubuntu2_ppc64el.deb ... 155s Unpacking libgslcblas0:ppc64el (2.7.1+dfsg-6ubuntu2) ... 155s Selecting previously unselected package libgsl27:ppc64el. 155s Preparing to unpack .../13-libgsl27_2.7.1+dfsg-6ubuntu2_ppc64el.deb ... 155s Unpacking libgsl27:ppc64el (2.7.1+dfsg-6ubuntu2) ... 155s Selecting previously unselected package libqfits0:ppc64el. 155s Preparing to unpack .../14-libqfits0_6.2.0-9ubuntu1_ppc64el.deb ... 155s Unpacking libqfits0:ppc64el (6.2.0-9ubuntu1) ... 155s Selecting previously unselected package cpl-plugin-uves:ppc64el. 155s Preparing to unpack .../15-cpl-plugin-uves_6.1.8+dfsg-2build3_ppc64el.deb ... 155s Unpacking cpl-plugin-uves:ppc64el (6.1.8+dfsg-2build3) ... 155s Selecting previously unselected package libblas3:ppc64el. 155s Preparing to unpack .../16-libblas3_3.12.0-3build1_ppc64el.deb ... 155s Unpacking libblas3:ppc64el (3.12.0-3build1) ... 155s Selecting previously unselected package libgfortran5:ppc64el. 155s Preparing to unpack .../17-libgfortran5_14-20240412-0ubuntu1_ppc64el.deb ... 155s Unpacking libgfortran5:ppc64el (14-20240412-0ubuntu1) ... 155s Selecting previously unselected package libjs-jquery-metadata. 155s Preparing to unpack .../18-libjs-jquery-metadata_12-4_all.deb ... 155s Unpacking libjs-jquery-metadata (12-4) ... 155s Selecting previously unselected package libjs-jquery-tablesorter. 155s Preparing to unpack .../19-libjs-jquery-tablesorter_1%3a2.31.3+dfsg1-3_all.deb ... 155s Unpacking libjs-jquery-tablesorter (1:2.31.3+dfsg1-3) ... 155s Selecting previously unselected package libjs-jquery-throttle-debounce. 155s Preparing to unpack .../20-libjs-jquery-throttle-debounce_1.1+dfsg.1-2_all.deb ... 155s Unpacking libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... 155s Selecting previously unselected package libjs-underscore. 155s Preparing to unpack .../21-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 155s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 155s Selecting previously unselected package libjs-sphinxdoc. 155s Preparing to unpack .../22-libjs-sphinxdoc_7.2.6-6_all.deb ... 155s Unpacking libjs-sphinxdoc (7.2.6-6) ... 155s Selecting previously unselected package liblapack3:ppc64el. 155s Preparing to unpack .../23-liblapack3_3.12.0-3build1_ppc64el.deb ... 155s Unpacking liblapack3:ppc64el (3.12.0-3build1) ... 155s Selecting previously unselected package python3-iniconfig. 155s Preparing to unpack .../24-python3-iniconfig_1.1.1-2_all.deb ... 155s Unpacking python3-iniconfig (1.1.1-2) ... 155s Selecting previously unselected package python3-packaging. 155s Preparing to unpack .../25-python3-packaging_24.0-1_all.deb ... 155s Unpacking python3-packaging (24.0-1) ... 155s Selecting previously unselected package python3-pluggy. 155s Preparing to unpack .../26-python3-pluggy_1.4.0-1_all.deb ... 155s Unpacking python3-pluggy (1.4.0-1) ... 155s Selecting previously unselected package python3-pytest. 155s Preparing to unpack .../27-python3-pytest_7.4.4-1_all.deb ... 155s Unpacking python3-pytest (7.4.4-1) ... 155s Selecting previously unselected package python3-dateutil. 155s Preparing to unpack .../28-python3-dateutil_2.8.2-3ubuntu1_all.deb ... 155s Unpacking python3-dateutil (2.8.2-3ubuntu1) ... 155s Selecting previously unselected package python3-sortedcontainers. 155s Preparing to unpack .../29-python3-sortedcontainers_2.4.0-2_all.deb ... 155s Unpacking python3-sortedcontainers (2.4.0-2) ... 155s Selecting previously unselected package python3-hypothesis. 155s Preparing to unpack .../30-python3-hypothesis_6.98.15-1_all.deb ... 155s Unpacking python3-hypothesis (6.98.15-1) ... 155s Selecting previously unselected package python3-numpy. 155s Preparing to unpack .../31-python3-numpy_1%3a1.26.4+ds-6ubuntu1_ppc64el.deb ... 155s Unpacking python3-numpy (1:1.26.4+ds-6ubuntu1) ... 155s Selecting previously unselected package python3-pytest-arraydiff. 155s Preparing to unpack .../32-python3-pytest-arraydiff_0.6.1-2_all.deb ... 155s Unpacking python3-pytest-arraydiff (0.6.1-2) ... 155s Selecting previously unselected package python3-pytest-astropy-header. 155s Preparing to unpack .../33-python3-pytest-astropy-header_0.2.2-1_all.deb ... 155s Unpacking python3-pytest-astropy-header (0.2.2-1) ... 155s Selecting previously unselected package python3-coverage. 155s Preparing to unpack .../34-python3-coverage_7.4.4+dfsg1-0ubuntu2_ppc64el.deb ... 155s Unpacking python3-coverage (7.4.4+dfsg1-0ubuntu2) ... 155s Selecting previously unselected package libjs-jquery-isonscreen. 155s Preparing to unpack .../35-libjs-jquery-isonscreen_1.2.0-1.1_all.deb ... 155s Unpacking libjs-jquery-isonscreen (1.2.0-1.1) ... 155s Selecting previously unselected package python3-pytest-cov. 155s Preparing to unpack .../36-python3-pytest-cov_4.1.0-1_all.deb ... 155s Unpacking python3-pytest-cov (4.1.0-1) ... 156s Selecting previously unselected package python3-pytest-doctestplus. 156s Preparing to unpack .../37-python3-pytest-doctestplus_1.2.0-1_all.deb ... 156s Unpacking python3-pytest-doctestplus (1.2.0-1) ... 156s Selecting previously unselected package python3-pytest-filter-subpackage. 156s Preparing to unpack .../38-python3-pytest-filter-subpackage_0.2.0-1_all.deb ... 156s Unpacking python3-pytest-filter-subpackage (0.2.0-1) ... 156s Selecting previously unselected package python3-pytest-mock. 156s Preparing to unpack .../39-python3-pytest-mock_3.12.0-1.1_all.deb ... 156s Unpacking python3-pytest-mock (3.12.0-1.1) ... 156s Selecting previously unselected package python3-pytest-remotedata. 156s Preparing to unpack .../40-python3-pytest-remotedata_0.4.1-1_all.deb ... 156s Unpacking python3-pytest-remotedata (0.4.1-1) ... 156s Selecting previously unselected package python3-pytest-astropy. 156s Preparing to unpack .../41-python3-pytest-astropy_0.11.0-1_all.deb ... 156s Unpacking python3-pytest-astropy (0.11.0-1) ... 156s Selecting previously unselected package python3-ply. 156s Preparing to unpack .../42-python3-ply_3.11-6_all.deb ... 156s Unpacking python3-ply (3.11-6) ... 156s Selecting previously unselected package python3-astropy-iers-data. 156s Preparing to unpack .../43-python3-astropy-iers-data_0.2024.01.01.00.33.39-1_all.deb ... 156s Unpacking python3-astropy-iers-data (0.2024.01.01.00.33.39-1) ... 156s Selecting previously unselected package liberfa1:ppc64el. 156s Preparing to unpack .../44-liberfa1_2.0.1-1_ppc64el.deb ... 156s Unpacking liberfa1:ppc64el (2.0.1-1) ... 156s Selecting previously unselected package python3-erfa. 156s Preparing to unpack .../45-python3-erfa_2.0.1.1+ds-3_ppc64el.deb ... 156s Unpacking python3-erfa (2.0.1.1+ds-3) ... 156s Selecting previously unselected package python3-astropy. 156s Preparing to unpack .../46-python3-astropy_6.0.0-1ubuntu2_ppc64el.deb ... 156s Unpacking python3-astropy (6.0.0-1ubuntu2) ... 156s Selecting previously unselected package python3-cpl. 156s Preparing to unpack .../47-python3-cpl_0.7.4-2build10_ppc64el.deb ... 156s Unpacking python3-cpl (0.7.4-2build10) ... 156s Selecting previously unselected package autopkgtest-satdep. 156s Preparing to unpack .../48-1-autopkgtest-satdep.deb ... 156s Unpacking autopkgtest-satdep (0) ... 156s Setting up libwcs8:ppc64el (8.2.2+ds-3build2) ... 156s Setting up liberfa1:ppc64el (2.0.1-1) ... 156s Setting up python3-iniconfig (1.1.1-2) ... 156s Setting up libgslcblas0:ppc64el (2.7.1+dfsg-6ubuntu2) ... 156s Setting up python3-ply (3.11-6) ... 157s Setting up libgsl27:ppc64el (2.7.1+dfsg-6ubuntu2) ... 157s Setting up python3-coverage (7.4.4+dfsg1-0ubuntu2) ... 157s Setting up python3-sortedcontainers (2.4.0-2) ... 157s Setting up libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... 157s Setting up libgomp1:ppc64el (14-20240412-0ubuntu1) ... 157s Setting up python3-astropy-iers-data (0.2024.01.01.00.33.39-1) ... 157s Setting up libblas3:ppc64el (3.12.0-3build1) ... 157s update-alternatives: using /usr/lib/powerpc64le-linux-gnu/blas/libblas.so.3 to provide /usr/lib/powerpc64le-linux-gnu/libblas.so.3 (libblas.so.3-powerpc64le-linux-gnu) in auto mode 157s Setting up python3-packaging (24.0-1) ... 157s Setting up libcfitsio10t64:ppc64el (4.3.1-1.1build2) ... 157s Setting up libfftw3-double3:ppc64el (3.3.10-1ubuntu3) ... 157s Setting up libgfortran5:ppc64el (14-20240412-0ubuntu1) ... 157s Setting up python3-pluggy (1.4.0-1) ... 158s Setting up libqfits0:ppc64el (6.2.0-9ubuntu1) ... 158s Setting up python3-dateutil (2.8.2-3ubuntu1) ... 158s Setting up libcext0:ppc64el (7.3.2+ds-1build3) ... 158s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 158s Setting up libjs-jquery-hotkeys (0~20130707+git2d51e3a9+dfsg-2ubuntu2) ... 158s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 158s Setting up liblapack3:ppc64el (3.12.0-3build1) ... 158s update-alternatives: using /usr/lib/powerpc64le-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/powerpc64le-linux-gnu/liblapack.so.3 (liblapack.so.3-powerpc64le-linux-gnu) in auto mode 158s Setting up libfftw3-single3:ppc64el (3.3.10-1ubuntu3) ... 158s Setting up python3-pytest (7.4.4-1) ... 158s Setting up python3-hypothesis (6.98.15-1) ... 159s Setting up libcplcore26:ppc64el (7.3.2+ds-1build3) ... 159s Setting up libjs-jquery-metadata (12-4) ... 159s Setting up libjs-jquery-isonscreen (1.2.0-1.1) ... 159s Setting up python3-pytest-remotedata (0.4.1-1) ... 159s Setting up python3-numpy (1:1.26.4+ds-6ubuntu1) ... 161s Setting up libjs-sphinxdoc (7.2.6-6) ... 161s Setting up libcplui26:ppc64el (7.3.2+ds-1build3) ... 162s Setting up python3-pytest-doctestplus (1.2.0-1) ... 162s Setting up libjs-jquery-tablesorter (1:2.31.3+dfsg1-3) ... 162s Setting up python3-pytest-mock (3.12.0-1.1) ... 162s Setting up python3-pytest-filter-subpackage (0.2.0-1) ... 162s Setting up python3-pytest-astropy-header (0.2.2-1) ... 162s Setting up libcpldrs26:ppc64el (7.3.2+ds-1build3) ... 162s Setting up libcpldfs26:ppc64el (7.3.2+ds-1build3) ... 162s Setting up python3-pytest-cov (4.1.0-1) ... 162s Setting up python3-pytest-arraydiff (0.6.1-2) ... 162s Setting up python3-erfa (2.0.1.1+ds-3) ... 163s Setting up python3-pytest-astropy (0.11.0-1) ... 163s Setting up python3-astropy (6.0.0-1ubuntu2) ... 166s Setting up cpl-plugin-uves:ppc64el (6.1.8+dfsg-2build3) ... 166s Setting up python3-cpl (0.7.4-2build10) ... 167s Setting up autopkgtest-satdep (0) ... 167s Processing triggers for man-db (2.12.0-4build1) ... 167s Processing triggers for libc-bin (2.39-0ubuntu8) ... 170s (Reading database ... 75868 files and directories currently installed.) 170s Removing autopkgtest-satdep (0) ... 171s autopkgtest [23:48:09]: test test-recipe.py: [----------------------- 171s [ INFO ] recipe id uves_cal_mkmaster 171s [ INFO ] Creation of trap not supported for recipe: 'flames_cal_mkmaster' 171s [ INFO ] recipe id flames_cal_mkmaster 171s [ INFO ] recipe id uves_cal_tflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] recipe id uves_cal_mkmaster 171s [ INFO ] Creation of trap not supported for recipe: 'flames_cal_mkmaster' 171s [ INFO ] recipe id flames_cal_mkmaster 171s [ INFO ] recipe id uves_cal_tflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] recipe id uves_cal_mkmaster 171s [ INFO ] Creation of trap not supported for recipe: 'flames_cal_mkmaster' 171s [ INFO ] recipe id flames_cal_mkmaster 171s [ INFO ] recipe id uves_cal_tflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] recipe id uves_cal_mkmaster 171s [ INFO ] Creation of trap not supported for recipe: 'flames_cal_mkmaster' 171s [ INFO ] recipe id flames_cal_mkmaster 171s [ INFO ] recipe id uves_cal_tflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] recipe id uves_cal_mkmaster 171s [ INFO ] recipe id uves_cal_mkmaster 171s [ INFO ] Creation of trap not supported for recipe: 'flames_cal_mkmaster' 171s [ INFO ] recipe id flames_cal_mkmaster 171s [ INFO ] recipe id uves_cal_tflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s Recipe uves_cal_cd_align: 171s version 6.1.8 171s Parameters: {'debug': False, 'plotter': 'no', 'process_chip': 'both', 'steps': 100, 'xborder': 200, 'window': 50} 171s Docstring: Measures the reproducability of the cross disperser positioning 171s 171s Given two input frames (CD_ALIGN_xxx where xxx = BLUE or RED) which 171s contain only one echelle order, this recipe measures the shift in the 171s cross-dispersion direction of that order. For RED input frames, only 171s the lower chip is processed. The recipe produces a 171s CD_ALIGN_TABLE_xxxx (with xxxx = BLUE or REDL) with columns X: 171s Column number YCENi: Centroid from Gaussian fit (for i = 1,2) 171s SIGMAi: Stdev from Gaussian fit BACKi: Constant background from 171s Gaussian fit NORMi: Normalization constant from Gaussian fit 171s YDIFF: Difference YCEN2 - YCEN1 of centroid positions and the QC- 171s parameters ESO.QC.YDIFF(AVG|MED|RMS), which are the average, median 171s and root-mean-square of the y-shift, respectively. 171s 171s Parameters: 171s debug: Whether or not to save intermediate results to local 171s directory (bool; default: False) 171s plotter: Any plots produced by the recipe are redirected to the 171s command specified by this parameter. The plotting 171s command must contain the substring 'gnuplot' and must 171s be able to parse gnuplot syntax on its standard input. 171s Valid examples of such a command may include 'gnuplot 171s -persist' and 'cat > mygnuplot$$.gp'. A finer control 171s of the plotting options can be obtained by writing an 171s executable script, e.g. my_gnuplot.pl, that executes 171s gnuplot after setting the desired gnuplot options (e.g. 171s set terminal pslatex color). To turn off plotting, set 171s this parameter to 'no' (str; default: 'no') 171s process_chip: For RED arm data process the redl, redu, or both 171s chip(s) (str; default: 'both') 171s steps: Step size in pixels (int; default: 100) 171s xborder: Exclude a border region of this size (pixels) (int; 171s default: 200) 171s window: The half window height used for Gaussian fitting (int; 171s default: 50) 171s Author: Jonas M. Larsen 171s 171s 171s Recipe uves_utl_remove_crh_single: 171s version 6.1.8 171s Parameters: {'crh_frac_max': 0.7, 'sigma_lim': 25.0, 'f_lim': 0.7, 'max_iter': 5, 'gain': 2.42, 'ron': 1.0} 171s Docstring: Remove CRHs from an image 171s 171s This recipe performs image computation. The input files is one image 171s their associated tags should be IMA. The output is the image cleaned 171s from CRHs Information on relevant parameters can be found with esorex 171s --params uves_utl_remove_crh_single esorex --help 171s uves_utl_remove_crh_single 171s 171s Parameters: 171s crh_frac_max: Maximum fraction of allowed CRHs (float; default: 0.7) 171s sigma_lim: Maximum sigma in kappa-sigma clip (float; default: 171s 25.0) 171s f_lim: Max fraction of bad pixels allowed (float; default: 171s 0.7) 171s max_iter: Max fraction of bad pixels allowed (int; default: 5) 171s gain: Detector's gain (float; default: 2.42) 171s ron: Detector's ron (float; default: 1.0) 171s Author: Andrea Modigliani 171s 171s 171s Recipe uves_cal_mkmaster: 171s version 6.1.8 171s Parameters: {'stack_method': 'median', 'klow': 5.0, 'khigh': 5.0, 'niter': 5, 'debug': False, 'plotter': 'no', 'process_chip': 'both', 'clean_traps': False, 'norm_method': 'explevel', 'qc_dark.reg.num_x': 4, 'qc_dark.reg.num_y': 4, 'qc_dark.reg.box_sx': 100, 'qc_dark.reg.box_sy': 100, 'qc_dark.reg.border_x': 100, 'qc_dark.reg.border_y': 100, 'qc_dark.reg.when': 0, 'backsub.mmethod': 'median', 'backsub.npoints': 82, 'backsub.radiusy': 2, 'backsub.sdegree': 1, 'backsub.smoothx': -1.0, 'backsub.smoothy': -1.0} 171s Docstring: Creates the master bias/dark/flat frame 171s 171s This recipe calls uves_cal_mbias if any raw BIAS frame is provided 171s otherwise uves_cal_mdark if any raw DARK frame is provided, otherwise 171s it calls uves_cal_mflat Pls refer to those recipes for more details 171s 171s Parameters: 171s stack_method: Method used to build master frame (str; 171s default: 'median') 171s klow: Kappa used to clip low level values, when 171s method is set to 'mean' (float; default: 5.0) 171s khigh: Kappa used to clip high level values, when 171s method is set to 'mean' (float; default: 5.0) 171s niter: Number of kappa sigma iterations, when method 171s is set to 'mean' (int; default: 5) 171s debug: Whether or not to save intermediate results to 171s local directory (bool; default: False) 171s plotter: Any plots produced by the recipe are redirected 171s to the command specified by this parameter. The 171s plotting command must contain the substring 171s 'gnuplot' and must be able to parse gnuplot 171s syntax on its standard input. Valid examples of 171s such a command may include 'gnuplot -persist' 171s and 'cat > mygnuplot$$.gp'. A finer control of 171s the plotting options can be obtained by writing 171s an executable script, e.g. my_gnuplot.pl, that 171s executes gnuplot after setting the desired 171s gnuplot options (e.g. set terminal pslatex 171s color). To turn off plotting, set this 171s parameter to 'no' (str; default: 'no') 171s process_chip: For RED arm data process the redl, redu, or 171s both chip(s) (str; default: 'both') 171s stack_method: Method used to build master frame (str; 171s default: 'median') 171s klow: Kappa used to clip low level values, when 171s method is set to 'mean' (float; default: 5.0) 171s khigh: Kappa used to clip high level values, when 171s method is set to 'mean' (float; default: 5.0) 171s niter: Number of kappa sigma iterations, when method 171s is set to 'mean' (int; default: 5) 171s debug: Whether or not to save intermediate results to 171s local directory (bool; default: False) 171s plotter: Any plots produced by the recipe are redirected 171s to the command specified by this parameter. The 171s plotting command must contain the substring 171s 'gnuplot' and must be able to parse gnuplot 171s syntax on its standard input. Valid examples of 171s such a command may include 'gnuplot -persist' 171s and 'cat > mygnuplot$$.gp'. A finer control of 171s the plotting options can be obtained by writing 171s an executable script, e.g. my_gnuplot.pl, that 171s executes gnuplot after setting the desired 171s gnuplot options (e.g. set terminal pslatex 171s color). To turn off plotting, set this 171s parameter to 'no' (str; default: 'no') 171s process_chip: For RED arm data process the redl, redu, or 171s both chip(s) (str; default: 'both') 171s clean_traps: Clean detector traps. If TRUE detector traps 171s are interpolated.The bad pixels are replaced by 171s the average of thenearest good pixels in the 171s same column, or simply marked as bad. The 171s positions of bad pixels are hard-coded (as 171s function of UVES chip). (bool; default: False) 171s norm_method: Method used to build master frame (str; 171s default: 'explevel') 171s qc_dark.reg.num_x: Number of regions along the X axis (where 171s mean/med/rms are computed). (int; default: 4) 171s qc_dark.reg.num_y: Number of regions along the Y axis(where 171s mean/med/rms are computed). (int; default: 4) 171s qc_dark.reg.box_sx: Region X size [pix] (int; default: 100) 171s qc_dark.reg.box_sy: Region Y size [pix] (int; default: 100) 171s qc_dark.reg.border_x: X distance between the left hand side of the 171s detector and the left hand side of the region 171s [pix] (int; default: 100) 171s qc_dark.reg.border_y: X distance between the left hand side of the 171s detector and the left hand side of the region 171s [pix] (int; default: 100) 171s qc_dark.reg.when: When QC analysis is performed. 0: on each raw 171s frame or 1: on the master frame (int; default: 171s 0) 171s backsub.mmethod: Background measuring method. If equal to 171s 'median' the background is sampled using the 171s median of a subwindow. If 'minimum', the 171s subwindow minimum value is used. If 'no', no 171s background subtraction is done. (str; default: 171s 'median') 171s backsub.npoints: This is the number of columns in interorder 171s space used to sample the background. (int; 171s default: 82) 171s backsub.radiusy: The height (in pixels) of the background 171s sampling window is (2*radiusy + 1). This 171s parameter is not corrected for binning. (int; 171s default: 2) 171s backsub.sdegree: Degree of interpolating splines. Currently only 171s degree = 1 is supported (int; default: 1) 171s backsub.smoothx: If spline interpolation is used to measure the 171s background, the x-radius of the post-smoothing 171s window is (smoothx * image_width). Here, 171s 'image_width' is the image width after binning. 171s If negative, the default values are used: 171s (25.0/4096) for blue flat-field frames, 171s (50.0/4096) for red flat-field frames, 171s (300.0/4096) for blue science frames and 171s (300.0/4096) for red science frames. (float; 171s default: -1.0) 171s backsub.smoothy: If spline interpolation is used to measure the 171s background, the y-radius of the post-smoothing 171s window is (smoothy * image_height). Here, 171s 'image_height' is the image height after 171s binning. If negative, the default values are 171s used: (100.0/2048) for blue flat-field frames, 171s (300.0/2048) for red flat-field frames, 171s (200.0/2048) for blue science frames and 171s (500.0/2048) for red science frames. (float; 171s default: -1.0) 171s Author: Jonas M. Larsen 171s 171s 171s Recipe uves_cal_mflat_combine: 171s version 6.1.8 171s Parameters: {'debug': False, 'plotter': 'no', 'process_chip': 'both', 'order_threshold': 7} 171s [ INFO ] recipe id uves_cal_mkmaster 171s [ INFO ] Creation of trap not supported for recipe: 'flames_cal_mkmaster' 171s [ INFO ] recipe id flames_cal_mkmaster 171s [ INFO ] recipe id uves_cal_tflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] recipe id uves_cal_mkmaster 171s [ INFO ] Creation of trap not supported for recipe: 'flames_cal_mkmaster' 171s [ INFO ] recipe id flames_cal_mkmaster 171s [ INFO ] recipe id uves_cal_tflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s Docstring: Combines the master flat field and the master dflat frames 171s 171s This recipe combined a MASTER_FLAT_xxxx with a MASTER_DFLAT_xxxx Input 171s are: a master flat (MASTER_FLAT_xxxx) a master dflat 171s (MASTER_DFLAT_xxxx) an order table (ORDER_TABLE_xxxx) provided for 171s each chip (xxxx = BLUE, REDL, REDU). Output is a MASTER_FLAT_xxxx 171s 171s Parameters: 171s debug: Whether or not to save intermediate results to local 171s directory (bool; default: False) 171s plotter: Any plots produced by the recipe are redirected to 171s the command specified by this parameter. The 171s plotting command must contain the substring 171s 'gnuplot' and must be able to parse gnuplot syntax 171s on its standard input. Valid examples of such a 171s command may include 'gnuplot -persist' and 'cat > 171s mygnuplot$$.gp'. A finer control of the plotting 171s options can be obtained by writing an executable 171s script, e.g. my_gnuplot.pl, that executes gnuplot 171s after setting the desired gnuplot options (e.g. set 171s terminal pslatex color). To turn off plotting, set 171s this parameter to 'no' (str; default: 'no') 171s process_chip: For RED arm data process the redl, redu, or both 171s chip(s) (str; default: 'both') 171s order_threshold: Order where master flats are joined (int; default: 171s 7) 171s Author: Andrea Modigliani 171s 171s 171s Recipe flames_utl_unpack: 171s version 6.1.8 171s Parameters: {} 171s Docstring: Unpack flames-uves packed frames 171s 171s This recipe unpack flames-uves packed products. Information on 171s relevant parameters can be found with esorex --params 171s flames_utl_unpack esorex --help flames_utl_unpack 171s 171s No parameters 171s Author: Andrea Modigliani 171s 171s 171s Recipe uves_obs_scired: 171s version 6.1.8 171s Parameters: {'debug': False, 'plotter': 'no', 'process_chip': 'both', 'clean_traps': False, 'reduce.slitlength': -1.0, 'reduce.skysub': True, 'reduce.objoffset': 0.0, 'reduce.objslit': -1.0, 'reduce.tiltcorr': True, 'reduce.ffmethod': 'extract', 'reduce.merge': 'optimal', 'reduce.merge_delt1': 0.0, 'reduce.merge_delt2': 0.0, 'reduce.backsub.mmethod': 'median', 'reduce.backsub.npoints': 82, 'reduce.backsub.radiusy': 2, 'reduce.backsub.sdegree': 1, 'reduce.backsub.smoothx': -1.0, 'reduce.backsub.smoothy': -1.0, 'reduce.rebin.wavestep': -1.0, 'reduce.rebin.wavestep_redu': -1.0, 'reduce.rebin.scale': False, 'reduce.extract.method': 'optimal', 'reduce.extract.kappa': 10.0, 'reduce.extract.chunk': 32, 'reduce.extract.profile': 'auto', 'reduce.extract.skymethod': 'optimal', 'reduce.extract.oversample': -1, 'reduce.extract.best': True} 171s Docstring: Reduces a science frame 171s 171s This recipe reduces a science frame (SCIENCE_BLUE or SCIENCE_RED, or 171s SCI_POINT_BLUE or SCI_POINT_RED, or SCI_EXTND_BLUE or SCI_EXTND_RED 171s or SCI_SLICER_BLUE or SCI_SLICER_RED) using a combination (depending 171s on recipe parameters and provided input frames) of the steps: - bias 171s subtraction, - dark subtraction, - background subtraction, - 171s extraction/cosmic ray removal, - flat field correction, - wavelength 171s rebinning, - sky subtraction, - order merging, - response 171s correction (if response curve is provided). Additional input for this 171s recipe are: order table(s) for each chip, ORDER_TABLE_xxxx (where 171s xxxx=BLUE, REDL, REDU), line table(s) for each chip, LINE_TABLE_xxxx, 171s a master bias frame, MASTER_BIAS_xxxx, a master flat, 171s MASTER_FLAT_xxxx, optionally an instrument response table, 171s INSTR_RESPONSE_FINE_xxx, optionally an master response table, 171s MASTER_RESPONSE_xxx, and optionally a table describing the atmospheric 171s extinction, EXTCOEFF_TABLE. For each chip (xxxx = BLUE, REDL, REDU) 171s the recipe produces a combination of the products: 'RED_SCIENCE_xxxx' 171s Reduced science spectrum 'MERGED_SCIENCE_xxxx' Merged spectrum, 171s no sky subtraction 'WCALIB_SCIENCE_xxxx' Extracted, wavelength 171s calibrated frame in (wavelength, order) 171s space 'WCALIB_FF_SCIENCE_xxxx' Extracted, flat-fielded, wave.cal. 171s frame in (wavelength, order) space 171s (Only if flatfielding done) 'WCALIB_FLAT_OBJ_xxxx' Extracted, 171s wavelength calibrated flat field in 171s (wavelength, order) space (Only if 171s flatfielding done) 'ERRORBAR_SCIENCE_xxxx' Error bars of 171s 'RED_SCIENCE_xxxx' 'VARIANCE_SCIENCE_xxxx' Variance of extracted, 171s flatfielded object in (pixel, order) space 171s 'ORDER_TRACE_xxxx' Table describing the spatial profile 171s 'FLUXCAL_SCIENCE_xxxx' Flux-calibrated science spectrum 171s 'FLUXCAL_ERROR_xxxx' Error bars of 'FLUXCAL_SCIENCE_xxxx' 171s 'BKG_SCI_xxxx' The subtracted background image 171s 'CRMASK_xxxx' List of cosmic ray hits 'MERGED_SKY_xxxx' 171s The merged sky spectrum 'EXT_2D_SCIENCE_xxxx' The 2d extracted 171s spectrum 'FF2D_SCIENCE_xxxx' The 2d extracted, flat-fielded 171s spectrum 'WCAL2D_SCIENCE_xxxx' The 2d extracted, flat-fielded, 171s wave.cal. spectrum 'MER2D_SCIENCE_xxxx' The 2d reduced, flux- 171s calibrated (if possible) science spectrum 171s 171s Parameters: 171s debug: Whether or not to save intermediate 171s results to local directory (bool; 171s default: False) 171s plotter: Any plots produced by the recipe are 171s redirected to the command specified by 171s this parameter. The plotting command must 171s contain the substring 'gnuplot' and must 171s be able to parse gnuplot syntax on its 171s standard input. Valid examples of such a 171s command may include 'gnuplot -persist' 171s and 'cat > mygnuplot$$.gp'. A finer 171s control of the plotting options can be 171s obtained by writing an executable script, 171s e.g. my_gnuplot.pl, that executes gnuplot 171s after setting the desired gnuplot options 171s (e.g. set terminal pslatex color). To 171s turn off plotting, set this parameter to 171s 'no' (str; default: 'no') 171s process_chip: For RED arm data process the redl, redu, 171s or both chip(s) (str; default: 'both') 171s clean_traps: Clean detector traps. If TRUE detector 171s traps are interpolated.The bad pixels are 171s replaced by the average of thenearest 171s good pixels in the same column, or simply 171s marked as bad. The positions of bad 171s pixels are hard-coded (as function of 171s UVES chip). (bool; default: False) 171s reduce.slitlength: Extraction slit length (in pixels). If 171s negative, the value inferred from the raw 171s frame header is used (float; default: 171s -1.0) 171s reduce.skysub: Do sky-subtraction (only applicable to 171s linear and average extractions)? (bool; 171s default: True) 171s reduce.objoffset: Offset (in pixels) of extraction slit 171s with respect to center of order. For 171s optimal extraction the full slit is 171s offset. For linear/average extraction, 171s reduce.objoffset is ignored if 171s reduce.objslit [default -1.0] is 171s negative. In this case the offset is 171s automatically determined by measuring the 171s actual object position. (float; default: 171s 0.0) 171s reduce.objslit: Object window size (in pixels), ignored 171s for optimal extraction. The value must be 171s smaller than the total slit length. If 171s negative, the default value (half of full 171s slit length) is used. The upper and lower 171s sky windows are defined as the part of 171s the full slit (if any) outside the object 171s window. The center of the object window 171s is determined by the offset parameter. 171s (float; default: -1.0) 171s reduce.tiltcorr: If enabled (recommended), the provided 171s dispersion solutions obtained at 171s different slit positions are interpolated 171s linearly at the actually measured 171s position of the object/sky. Line tilt 171s correction is currently not supported for 171s 2d extraction, in which case the 171s dispersion solution obtained at the 171s middle of the slit is always used. (bool; 171s default: True) 171s reduce.ffmethod: Flat-fielding method. If set to 'pixel', 171s flat-fielding is done in pixel-pixel 171s space (before extraction); if set to 171s 'extract', flat- fielding is performed in 171s pixel-order space (i.e. after 171s extraction). If set to 'no', no flat- 171s field correction is done, in which case 171s reduce.rebin.scale should be set to true 171s to ensure flux conservation (both for 171s response and science data) (str; default: 171s 'extract') 171s reduce.merge: Order merging method. If 'optimal', the 171s flux in the overlapping region is set to 171s the (optimally computed, using the 171s uncertainties) average of single order 171s spectra. If 'sum', the flux in the 171s overlapping region is computed as the sum 171s of the single order spectra. If 171s 'noappend' the spectrum is simply 171s rebinned but not merged.If flat-fielding 171s is done, method 'optimal' is recommended, 171s otherwise 'sum'. (str; default: 171s 'optimal') 171s reduce.merge_delt1: Order merging left hand (short 171s wavelength) cut. To reduce the amount of 171s order overlapping regions we allow to cut 171s short and long wavelength ranges. This 171s may reduce the ripple possibly introduced 171s by the order merging. Suggested values 171s are: 10 (W<=390), 12 (390 200 (int; default: -1) 171s reduce.extract.best: (optimal extraction only) If false 171s (fastest), the spectrum is extracted only 171s once. If true (best), the spectrum is 171s extracted twice, the second time using 171s improved variance estimates based on the 171s first iteration. Better variance 171s estimates slightly improve the obtained 171s signal to noise but at the cost of 171s increased execution time (bool; default: 171s True)[ INFO ] recipe id uves_cal_mkmaster 171s [ INFO ] Creation of trap not supported for recipe: 'flames_cal_mkmaster' 171s [ INFO ] recipe id flames_cal_mkmaster 171s [ INFO ] recipe id uves_cal_tflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] recipe id uves_cal_mkmaster 171s [ INFO ] Creation of trap not supported for recipe: 'flames_cal_mkmaster' 171s [ INFO ] recipe id flames_cal_mkmaster 171s [ INFO ] recipe id uves_cal_tflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s 171s Author: Jonas M. Larsen 171s 171s 171s Recipe flames_obs_scired: 171s version 6.1.8 171s Parameters: {'debug': False, 'plotter': 'no', 'process_chip': 'both', 'ext_method': 'opt', 'cor_max_fnd': 'Y', 'cor_def_rng': 6.0, 'cor_def_pnt': 25, 'cor_def_off': 0.0, 'corvel_iter': 1, 'bias_method': 'M', 'bias_value': 200, 'cubify_sw': 'N', 'filt_sw': 'none', 'bkg_max_io_win': 500, 'bkg_xy_win_sz_x': 6, 'bkg_xy_win_sz_y': 2, 'pixel_thresh_max': 55000, 'pixel_thresh_min': -20, 'drs_k_s_thre': 10.0, 'drs_base_name': 'fxb', 'drs_maxyshift': 3.0, 'drs_ext_w_siz': 10.0, 'merge': 'optimal', 'merge_delt1': -1.0, 'merge_delt2': -1.0, 'clean_tmp_products': False, 'rebin.wavestep': -1.0, 'rebin.wavestep_redu': -1.0, 'rebin.scale': False} 171s Docstring: Reduces a FLAMES science image 171s 171s Fibre & order position determination procedure: You should feed the 171s recipe with: - science fibre images (FIB_SCI_RED, FIB_SCI_SIM_RED, 171s FIB_SCI_SIM_RED) - single fibre images, FIB_ORDEF_(REDL|REDU) - master 171s bias frames, MASTER_BIAS_(REDL|REDU) - Fibre order table, 171s FIB_ORDEF_TABLE_(REDL|REDU) - Slit flatfield common, 171s SLIT_FF_COM_(REDL|REDU) - Slit flatfield norm, SLIT_FF_NOR_(REDL|REDU) 171s - Slit flatfield data, SLIT_FF_DTC_(REDL|REDU) - Slit flatfield sigma, 171s SLIT_FF_SGC_(REDL|REDU) - Slit flatfield bad pixel, 171s SLIT_FF_BPC_(REDL|REDU) - Slit flatfield boundary, 171s SLIT_FF_BNC_(REDL|REDU) - Fibre flatfield common, 171s FIB_FF_COM_(REDL|REDU) - Fibre flatfield norm, FIB_FF_NOR_(REDL|REDU) 171s - Fibre flatfield norm sigma, FIB_FF_NSG_(REDL|REDU) Products are: - 171s Science fibre info table (FIB_SCI_INFO_TAB) - XB_SCI_RAW_(REDL|REDU) 171s - ERR_XB_SCI_RAW_(REDL|REDU) - WXB_SCI_RAW_(REDL|REDU) - 171s ERR_WXB_SCI_RAW_(REDL|REDU) - MWXB_SCI_RAW_(REDL|REDU) - 171s ERR_MWXB_SCI_RAW_(REDL|REDU) - XB_SCI_(REDL|REDU) - 171s ERR_XB_SCI_(REDL|REDU) - WXB_SCI_(REDL|REDU) - 171s ERR_WXB_SCI_(REDL|REDU) - MWXB_SCI_(REDL|REDU) - 171s ERR_MWXB_SCI_(REDL|REDU) 171s 171s Parameters: 171s debug: Whether or not to save intermediate results to 171s local directory (bool; default: False) 171s plotter: Any plots produced by the recipe are redirected 171s to the command specified by this parameter. The 171s plotting command must contain the substring 171s 'gnuplot' and must be able to parse gnuplot 171s syntax on its standard input. Valid examples of 171s such a command may include 'gnuplot -persist' 171s and 'cat > mygnuplot$$.gp'. A finer control of 171s the plotting options can be obtained by writing 171s an executable script, e.g. my_gnuplot.pl, that 171s executes gnuplot after setting the desired 171s gnuplot options (e.g. set terminal pslatex 171s color). To turn off plotting, set this parameter 171s to 'no' (str; default: 'no') 171s process_chip: For RED arm data process the redl, redu, or both 171s chip(s) (str; default: 'both') 171s ext_method: Extraction method (str; default: 'opt') 171s cor_max_fnd: Find correlation maximum? (str; default: 'Y') 171s cor_def_rng: Correlation range size? (float; default: 6.0) 171s cor_def_pnt: Correlation sampling points? (int; default: 25) 171s cor_def_off: Correlation center offset? (float; default: 0.0) 171s corvel_iter: Velocity correlation iteration number (SimCal) 171s (int; default: 1) 171s bias_method: Bias subtraction method (str; default: 'M') 171s bias_value: Bias value (only if bias_method = V) (int; 171s default: 200) 171s cubify_sw: Cubify switch (str; default: 'N') 171s filt_sw: Filter switch (str; default: 'none') 171s bkg_max_io_win: Background window number in each full inter 171s order (int; default: 500) 171s bkg_xy_win_sz_x: x maximum size of each background window: (int; 171s default: 6) 171s bkg_xy_win_sz_y: y maximum size of each background window: (int; 171s default: 2) 171s pixel_thresh_max: Pixel saturation threshold max (int; default: 171s 55000) 171s pixel_thresh_min: Pixel saturation threshold min (int; default: 171s -20) 171s drs_k_s_thre: Kappa sigma threshold (float; default: 10.0) 171s drs_base_name: Base name for science products (str; default: 171s 'fxb') 171s drs_maxyshift: Half width of the interval to scan for 171s correlation, when determining y shift (float; 171s default: 3.0) 171s drs_ext_w_siz: Integration window size good: 10 (if fibre 171s deconvolution works fine) (float; default: 10.0) 171s merge: Order merging method. If 'optimal', the flux in 171s the overlapping region is set to the (optimally 171s computed, using the uncertainties) average of 171s single order spectra. If 'sum', the flux in the 171s overlapping region is computed as the sum of the 171s single order spectra. If flat-fielding is done, 171s method 'optimal' is recommended, otherwise 171s 'sum'. (str; default: 'optimal') 171s merge_delt1: Order merging left hand (short wavelength) cut. 171s To reduce the amount of order overlapping 171s regions we allow to cut short and long 171s wavelength ranges. This may reduce the ripple 171s possibly introduced by the order merging. 171s Suggested values are: 10 (W<=390), 12 171s (390=860) (float; default: -1.0) 171s merge_delt2: Order merging right hand (long wavelength) cut. 171s To reduce the amount of order overlapping 171s regions we allow to cut short and long 171s wavelength ranges. This may reduce the ripple 171s possibly introduced by the order merging. 171s Suggested values is 4 for W<860, else 0 (float; 171s default: -1.0) 171s clean_tmp_products: Input data format (bool; default: False) 171s rebin.wavestep: The bin size used for BLUE/REDL data (in w.l.u.) 171s in wavelength space. If negative, a step size of 171s 2/3 * ( average pixel size ) is used. (float; 171s default: -1.0) 171s rebin.wavestep_redu: The bin size used for REDU data (in w.l.u.) in 171s wavelength space. If negative, a step size of 171s 2/3 * ( average pixel size ) is used. (float; 171s default: -1.0) 171s rebin.scale: Whether or not to multiply by the factor 171s dx/dlambda (pixels per wavelength) during the 171s rebinning to conserve the flux. This option is 171s disabled as default because applying the flat 171s field correction already ensures flux 171s conservation. Therefore this parameter should be 171s TRUE (for response and science data) only if 171s reduce.ffmethd = no. (bool; default: False) 171s Author: Andrea Modigliani 171s 171s 171s Recipe flames_cal_wavecal: 171s version 6.1.8 171s Parameters: {'debug': False, 'plotter': 'no', 'process_chip': 'both', 'nwindows': 1, 'length': 7.0, 'offset': 0.0, 'range': 8, 'minlines': 0, 'maxlines': 0, 'shiftmax': 10.0, 'shiftstep': 0.1, 'shifttoler': 0.05, 'alpha': 0.1, 'maxerror': 20.0, 'degree': 4, 'tolerance': 0.6, 'kappa': 4.0, 'rebin.wavestep': -1.0, 'rebin.wavestep_redu': -1.0, 'rebin.scale': False, 'extract.method': 'average', 'extract.kappa': 10.0, 'extract.chunk': 32, 'extract.profile': 'auto', 'extract.skymethod': 'optimal', 'extract.oversample': -1, 'extract.best': True} 171s Docstring: Performs the wavelength calibration 171s 171s The recipe performs a wavelength calibration for each extraction 171s window. Conceptually, each chip contains a number of order lines, each 171s of which contains a number of fibre traces, each of which contains a 171s number of extraction windows. For FLAMES/UVES data there are multiple 171s traces per order but only one extraction window per trace. The number 171s of traces is defined in the order table while the geometry of the 171s extraction windows is specified by recipe parameters (see below). 171s Expected input for this recipe is an arc lamp frame, FIB_ARC_LAMP_RED, 171s FIB_ORDEF_TABLE_(REDL|REDU), 'guess' line table(s) for each chip, 171s FIB_LIN_GUE_(REDL|REDU), a wavelength catalogue table, 171s LINE_REFER_TABLE, and optionally a wavelength table of bright lines, 171s LINE_INTMON_TABLE, used only for computing Quality Control parameters. 171s The output line table(s), FIB_LINE_TABLE_(REDL|REDU), contains the 171s columns X : Horizontal position (from Gaussian fit) of 171s detected line dX : Uncertainty (one sigma) of X Ynew 171s : Vertical position of detected line XWidth : Width (in pixels) 171s of detected line from Gaussian fit Peak : Intensity of 171s detected line Background : Fitted background (ADU) of detected line 171s Slope : Linear background slope (ADU/pixel) of detected line 171s from Gaussian fit Intensity : Intensity of detected line scaled to 171s unit exposure time. (This column only present if a 171s LINE_INTMON_TABLE is provided.) Order : Absolute 171s order number of detected line Y : Relative order number of 171s detected line (it's not a very descriptive column name) 171s WaveC : Wavelength of this line (computed using the resulting 171s dispersion relation) dLambdaC : Uncertainty (one sigma) of 171s 'WaveC'. Pixel : The width in w.l.u. of a pixel (computed 171s locally). Residual : Residual (in w.l.u.) of this line 171s Residual_pix : Residual (in pixels) of this line Lambda_candidate : 171s Nearest line in catalogue dLambda_cat_sq : Squared distance to 171s nearest catalogue line dLambda_nn_sq : Squared distance to nearest 171s neighbour multiplied by ALPHA Ident : The wavelength associated 171s with this emission line, or invalid if this line was 171s not identified dIdent : Uncertainty of catalogue wavelength 171s Select : 1 if the line was identified, 0 otherwise NLinSol 171s : 1 if the line was identified and accepted for the 171s polynomial fit, 0 otherwise Intensity : Intensity of detected line 171s scaled to unit exposure time. (This column is present 171s only if a LINE_INTMON_TABLE is provided.) The 2nd 171s table extension contains the dispersion relation (a 2d polynomial). 171s The 3rd table extension contains the map from (pixel, pixel)-space to 171s physical order numbers (used internally by the calibration recipe; 171s another 2d polynomial). If there is more than one extraction window, 171s the results of each calibration is stored in subsequent table 171s extensions of the same FITS file. For example, extensions 4, 5 and 6 171s would contain the resulting line table (and its two associated 171s polynomials) for the second extraction window. The results for the 171s calibration of the n'th extraction window is stored in extensions 171s (3*n - 2) to 3*n. 171s 171s Parameters: 171s debug: Whether or not to save intermediate results to 171s local directory (bool; default: False) 171s plotter: Any plots produced by the recipe are redirected 171s to the command specified by this parameter. The 171s plotting command must contain the substring 171s 'gnuplot' and must be able to parse gnuplot 171s syntax on its standard input. Valid examples of 171s such a command may include 'gnuplot -persist' 171s and 'cat > mygnuplot$$.gp'. A finer control of 171s the plotting options can be obtained by writing 171s an executable script, e.g. my_gnuplot.pl, that 171s executes gnuplot after setting the desired 171s gnuplot options (e.g. set terminal pslatex 171s color). To turn off plotting, set this parameter 171s to 'no' (str; default: 'no') 171s process_chip: For RED arm data process the redl, redu, or both 171s chip(s) (str; default: 'both') 171s nwindows: Number of extraction windows per trace. The 171s windows will be aligned (i.e. no overlap and no 171s spacing between adjacent windows). Unless an 171s offset is specified, the middle window(s) is 171s centered on the trace (int; default: 1) 171s length: Length (in pixels) of each extraction window. 171s This parameter is also equal to the seperation 171s of adjacent window centers, causing the 171s extraction windows to always be aligned. The 171s parameter is automatically adjusted according to 171s the binning of the input raw frame. If negative, 171s the extraction window length is determined 171s automatically to cover the full slit (float; 171s default: 7.0) 171s offset: A global offset (in pixels) of all extraction 171s windows (float; default: 0.0) 171s range: Width (pix) of search window is 2*range + 1. 171s This parameter is automatically adjusted 171s according to binning. (int; default: 8) 171s minlines: Minimum number of lines to detect. If zero, the 171s default value (1100 for BLUE/REDL chips; 1000 171s for REDU chip) is used. (int; default: 0) 171s maxlines: Maximum number of lines to detect. If zero, the 171s default value (1600 for BLUE/REDL chip; 1400 for 171s REDU chip) is used. (int; default: 0) 171s shiftmax: The maximum shift (pix) in either direction 171s compared to guess solution. This parameter is 171s automatically corrected for binning (float; 171s default: 10.0) 171s shiftstep: The step size (pix) used when searching for the 171s optimum shift. This parameter is automatically 171s corrected for binning (float; default: 0.1) 171s shifttoler: Tolerance (pix) when matching shifted lines. 171s This parameter is not adjusted according to 171s binning (float; default: 0.05) 171s alpha: The parameter that controls the distance to the 171s nearest neighbours (float; default: 0.1) 171s maxerror: This parameter controls the graceful exit of the 171s identification loop. If the RMS of the global 171s fit exceeds this value (pix) the iteration stops 171s (float; default: 20.0) 171s degree: Degrees of the global 2d dispersion polynomial. 171s If a negative number is specified, the 171s polynomial degrees are automatically selected by 171s starting from (1, 1) and inreasing the degrees 171s as long as the RMS residual decreases 171s significantly (int; default: 4) 171s tolerance: Tolerance of fit. If positive, the tolerance is 171s in pixel units. If negative, abs(tolerance) is 171s in wavelength units. Lines with residuals worse 171s than the tolerance are excluded from the final 171s fit. Unlike in previous versions, this parameter 171s is not corrected for CCD binning. This rejection 171s based on the absolute residual in pixel can be 171s effectively disabled by setting the tolerance to 171s a very large number (e.g. 9999). In that case 171s outliers will be rejected using only kappa sigma 171s clipping. (float; default: 0.6) 171s kappa: Lines with residuals more then kappa stdev are 171s rejected from the final fit (float; default: 171s 4.0) 171s rebin.wavestep: The bin size used for BLUE/REDL data (in w.l.u.) 171s in wavelength space. If negative, a step size of 171s 2/3 * ( average pixel size ) is used. (float; 171s default: -1.0) 171s rebin.wavestep_redu: The bin size used for REDU data (in w.l.u.) in 171s wavelength space. If negative, a step size of 171s 2/3 * ( average pixel size ) is used. (float; 171s default: -1.0) 171s rebin.scale: Whether or not to multiply by the factor 171s dx/dlambda (pixels per wavelength) during the 171s rebinning to conserve the flux. This option is 171s disabled as default because applying the flat 171s field correction already ensures flux 171s conservation. Therefore this parameter should be 171s TRUE (for response and science data) only if 171s reduce.ffmethd = no. (bool; default: False) 171s extract.method: Extraction method. (2d/optimal not supported by 171s uves_cal_wavecal, weighted supported only by 171s uves_cal_wavecal, 2d not supported by 171s uves_cal_response) (str; default: 'average') 171s extract.kappa: In optimal extraction mode, this is the 171s threshold for bad (i.e. hot/cold) pixel 171s rejection. If a pixel deviates more than 171s kappa*sigma (where sigma is the uncertainty of 171s the pixel flux) from the inferred spatial 171s profile, its weight is set to zero. Range: 171s [-1,100]. If this parameter is negative, no 171s rejection is performed. (float; default: 10.0) 171s extract.chunk: In optimal extraction mode, the chunk size (in 171s pixels) used for fitting the analytical profile 171s (a fit of the analytical profile to single bins 171s would suffer from low statistics). (int; 171s default: 32) 171s extract.profile: In optimal extraction mode, the kind of profile 171s to use. 'gauss' gives a Gaussian profile, 171s 'moffat' gives a Moffat profile with beta=4 and 171s a possible linear sky contribution. 'virtual' 171s uses a virtual resampling algorithm (i.e. 171s measures and uses the actual object profile). 171s 'constant' assumes a constant spatial profile 171s and allows optimal extraction of wavelength 171s calibration frames. 'auto' will automatically 171s select the best method based on the estimated 171s S/N of the object. For low S/N, 'moffat' or 171s 'gauss' are recommended (for robustness). For 171s high S/N, 'virtual' is recommended (for 171s accuracy). In the case of virtual resampling, a 171s precise determination of the order positions is 171s required; therefore the order-definition is 171s repeated using the (assumed non-low S/N) science 171s frame (str; default: 'auto') 171s extract.skymethod: In optimal extraction mode, the sky subtraction 171s method to use. 'median' estimates the sky as the 171s median of pixels along the slit (ignoring pixels 171s close to the object), whereas 'optimal' does a 171s chi square minimization along the slit to obtain 171s the best combined object and sky levels. The 171s optimal method gives the most accurate sky 171s determination but is also a bit slower than the 171s median method (str; default: 'optimal') 171s extract.oversample: The oversampling factor used for the virtual 171s resampling algorithm. If negative, the value 5 171s is used for S/N <=200, and the value 10 is used 171s if the estimated S/N is > 200 (int; default: -1) 171s extract.best: (optimal extraction only) If false (fastest), 171s the spectrum is extracted only once. If true 171s (best), the spectrum is extracted twice, the 171s second time using improved variance estimates 171s based on the first iteration. Better variance 171s estimates slightly improve the obtained signal 171s to noise but at the cost of increased execution 171s time (bool; default: True)[ INFO ] recipe id uves_cal_mkmaster 171s [ INFO ] Creation of trap not supported for recipe: 'flames_cal_mkmaster' 171s [ INFO ] recipe id flames_cal_mkmaster 171s [ INFO ] recipe id uves_cal_tflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] recipe id uves_cal_mkmaster 171s [ INFO ] Creation of trap not supported for recipe: 'flames_cal_mkmaster' 171s [ INFO ] recipe id flames_cal_mkmaster 171s [ INFO ] recipe id uves_cal_tflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] recipe id uves_cal_mkmaster 171s [ INFO ] Creation of trap not supported for recipe: 'flames_cal_mkmaster' 171s [ INFO ] recipe id flames_cal_mkmaster 171s [ INFO ] recipe id uves_cal_tflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] Creation of trap not supported for recipe: 'flames_cal_mkmaster' 171s [ INFO ] recipe id flames_cal_mkmaster 171s 171s Author: Jonas M. Larsen 171s 171s 171s Recipe uves_cal_mdark: 171s version 6.1.8 171s Parameters: {'stack_method': 'median', 'klow': 5.0, 'khigh': 5.0, 'niter': 5, 'debug': False, 'plotter': 'no', 'process_chip': 'both', 'qc_dark.reg.num_x': 4, 'qc_dark.reg.num_y': 4, 'qc_dark.reg.box_sx': 100, 'qc_dark.reg.box_sy': 100, 'qc_dark.reg.border_x': 100, 'qc_dark.reg.border_y': 100, 'qc_dark.reg.when': 0} 171s Docstring: Creates the master dark frame 171s 171s This recipe creates a master dark frame by taking the median of all 171s input frames which should have identical exposure times. Symbolically, 171s masterdark = median( dark_i ) - masterbias The input dark frames must 171s have same tag and size and must be either (P)DARK_BLUE or (P)DARK_RED. 171s Also, a master bias (MASTER_BIAS_xxxx) must be provided for each chip 171s (xxxx = BLUE, REDL, REDU). On blue input the recipe computes one 171s master dark frame; on red input the recipe produces a master dark 171s frame for each chip (MASTER_(P)DARK_xxxx). 171s 171s Parameters: 171s stack_method: Method used to build master frame (str; 171s default: 'median') 171s klow: Kappa used to clip low level values, when 171s method is set to 'mean' (float; default: 5.0) 171s khigh: Kappa used to clip high level values, when 171s method is set to 'mean' (float; default: 5.0) 171s niter: Number of kappa sigma iterations, when method 171s is set to 'mean' (int; default: 5) 171s debug: Whether or not to save intermediate results to 171s local directory (bool; default: False) 171s plotter: Any plots produced by the recipe are redirected 171s to the command specified by this parameter. The 171s plotting command must contain the substring 171s 'gnuplot' and must be able to parse gnuplot 171s syntax on its standard input. Valid examples of 171s such a command may include 'gnuplot -persist' 171s and 'cat > mygnuplot$$.gp'. A finer control of 171s the plotting options can be obtained by writing 171s an executable script, e.g. my_gnuplot.pl, that 171s executes gnuplot after setting the desired 171s gnuplot options (e.g. set terminal pslatex 171s color). To turn off plotting, set this 171s parameter to 'no' (str; default: 'no') 171s process_chip: For RED arm data process the redl, redu, or 171s both chip(s) (str; default: 'both') 171s stack_method: Method used to build master frame (str; 171s default: 'median') 171s klow: Kappa used to clip low level values, when 171s method is set to 'mean' (float; default: 5.0) 171s khigh: Kappa used to clip high level values, when 171s method is set to 'mean' (float; default: 5.0) 171s niter: Number of kappa sigma iterations, when method 171s is set to 'mean' (int; default: 5) 171s qc_dark.reg.num_x: Number of regions along the X axis (where 171s mean/med/rms are computed). (int; default: 4) 171s qc_dark.reg.num_y: Number of regions along the Y axis(where 171s mean/med/rms are computed). (int; default: 4) 171s qc_dark.reg.box_sx: Region X size [pix] (int; default: 100) 171s qc_dark.reg.box_sy: Region Y size [pix] (int; default: 100) 171s qc_dark.reg.border_x: X distance between the left hand side of the 171s detector and the left hand side of the region 171s [pix] (int; default: 100) 171s qc_dark.reg.border_y: X distance between the left hand side of the 171s detector and the left hand side of the region 171s [pix] (int; default: 100) 171s qc_dark.reg.when: When QC analysis is performed. 0: on each raw 171s frame or 1: on the master frame (int; default: 171s 0) 171s Author: Jonas M. Larsen 171s 171s 171s Recipe uves_cal_predict: 171s version 6.1.8 171s Parameters: {'debug': False, 'plotter': 'no', 'process_chip': 'both', 'mbox_x': 40, 'mbox_y': 40, 'trans_x': 0.0, 'trans_y': 0.0, 'ech_angle_off': 0.0, 'cd_angle_off': 0.0, 'ccd_rot_angle_off': 0.0, 'compute_regression_sw': True, 'def_pol1': 4, 'def_pol2': 5, 'kappa': 4.5, 'tol': 2.0} 171s Docstring: Implements the UVES physical model 171s 171s This recipe implements the UVES physical model Input files are BLUE or 171s RED arm formatcheck frames identified by the tag ARC_LAMP_FORM_xxxx, 171s xxxx=BLUE or RED and a ThAr line reference table identified by the tag 171s LINE_REFER_TABLE The recipe extracts from the input files FITS header 171s data indicating the instrument setting and ambiental atmospheric 171s conditions, then using the model predicts X,Y position of the lines 171s listed in the LINE_REFER_TABLE table which are imaging on the detector 171s and stores this information in an guess order and a guess line table. 171s Output are a guess order table and a guess line table per chip. If the 171s user provides in input also master format checks having tag 171s MASTER_FORM_xxxx, xxxx=BLUE or REDL and REDU the recipe performs also 171s a stability check 171s 171s Parameters: 171s debug: Whether or not to save intermediate results to 171s local directory (bool; default: False) 171s plotter: Any plots produced by the recipe are 171s redirected to the command specified by this 171s parameter. The plotting command must contain 171s the substring 'gnuplot' and must be able to 171s parse gnuplot syntax on its standard input. 171s Valid examples of such a command may include 171s 'gnuplot -persist' and 'cat > mygnuplot$$.gp'. 171s A finer control of the plotting options can be 171s obtained by writing an executable script, e.g. 171s my_gnuplot.pl, that executes gnuplot after 171s setting the desired gnuplot options (e.g. set 171s terminal pslatex color). To turn off plotting, 171s set this parameter to 'no' (str; default: 171s 'no') 171s process_chip: For RED arm data process the redl, redu, or 171s both chip(s) (str; default: 'both') 171s mbox_x: Match box X size (int; default: 40) 171s mbox_y: Match box Y size (int; default: 40) 171s trans_x: Detector translation along X (float; default: 171s 0.0) 171s trans_y: Detector translation along Y (float; default: 171s 0.0) 171s ech_angle_off: Offset on echelle angle (float; default: 0.0) 171s cd_angle_off: Offset on cross disperser angle (float; 171s default: 0.0) 171s ccd_rot_angle_off: Offset on CCD rotation angle (float; default: 171s 0.0) 171s compute_regression_sw: Compute regression? (bool; default: True) 171s def_pol1: Polynomial X deg (int; default: 4) 171s def_pol2: Polynomial Y deg (int; default: 5) 171s kappa: Kappa value in kappa sigma clipping on 171s RESIDUAL between YFIT and Y columns (float; 171s default: 4.5) 171s tol: Tolerance in kappa sigma clipping on RESIDUAL 171s between YFIT and Y columns (float; default: 171s 2.0) 171s Author: Andrea Modigliani 171s 171s 171s Recipe flames_cal_mkmaster: 171s version 6.1.8 171s Parameters: {'debug': False, 'plotter': 'no', 'process_chip': 'both', 'norm_method': 'exptime', 'backsub.mmethod': 'median', 'backsub.npoints': 82, 'backsub.radiusy': 2, 'backsub.sdegree': 1, 'backsub.smoothx': -1.0, 'backsub.smoothy': -1.0} 171s [ INFO ] recipe id uves_cal_mkmaster 171s [ INFO ] Creation of trap not supported for recipe: 'flames_cal_mkmaster' 171s [ INFO ] recipe id flames_cal_mkmaster 171s [ INFO ] recipe id uves_cal_tflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] recipe id uves_cal_tflat 171s Docstring: Creates a master flat frame to support FIBER mode data reduction 171s 171s This recipe creates a composite master flat frame to reduce FIBER mode 171s data by: 1) Group each input raw flat frame per grating setting. Then 171s for each set: 1a) subtracts the master bias frame from each flat field 171s frame, 1b) divides each flat field frame by the exposure time for 171s that frame, 1c) takes the median of all bias subtracted, normalized 171s raw flat frames, 1d) optionally subtracts the master dark frame, and 171s 1e) subtracts the background to get the bias subtracted, optionally 171s dark subtracted, normalized, background subtracted master flat-field 171s frame. 2) Creates a synthetic master frame resulting from the 171s coaddition of each master flat frame obtained by each set 171s Symbolically, masterflat = median( (flat_i - masterbias)/exptime_i ) 171s - masterdark/exptime - background. The input flat field 171s frames must have same tag which must match (SFLAT_(BLUE|RED), for 171s example SFLAT_BLUE or FLAT_RED. Also, a master bias (MASTER_BIAS_xxxx) 171s and ordertable (ORDER_TABLE_xxxx) must be provided for each chip (xxxx 171s = BLUE, REDL, REDU). A master dark frame (MASTER_(P)DARK_xxxx) may 171s optionally be provided. On blue input the recipe computes one master 171s flat field frame; on red input the recipe produces a master flat field 171s frame for each chip (MASTER_SFLAT_xxxx). 171s 171s Parameters: 171s debug: Whether or not to save intermediate results to local 171s directory (bool; default: False) 171s plotter: Any plots produced by the recipe are redirected to 171s the command specified by this parameter. The 171s plotting command must contain the substring 171s 'gnuplot' and must be able to parse gnuplot syntax 171s on its standard input. Valid examples of such a 171s command may include 'gnuplot -persist' and 'cat > 171s mygnuplot$$.gp'. A finer control of the plotting 171s options can be obtained by writing an executable 171s script, e.g. my_gnuplot.pl, that executes gnuplot 171s after setting the desired gnuplot options (e.g. set 171s terminal pslatex color). To turn off plotting, set 171s this parameter to 'no' (str; default: 'no') 171s process_chip: For RED arm data process the redl, redu, or both 171s chip(s) (str; default: 'both') 171s norm_method: Method used to build master frame (str; default: 171s 'exptime') 171s backsub.mmethod: Background measuring method. If equal to 'median' 171s the background is sampled using the median of a 171s subwindow. If 'minimum', the subwindow minimum value 171s is used. If 'no', no background subtraction is done. 171s (str; default: 'median') 171s backsub.npoints: This is the number of columns in interorder space 171s used to sample the background. (int; default: 82) 171s backsub.radiusy: The height (in pixels) of the background sampling 171s window is (2*radiusy + 1). This parameter is not 171s corrected for binning. (int; default: 2) 171s backsub.sdegree: Degree of interpolating splines. Currently only 171s degree = 1 is supported (int; default: 1) 171s backsub.smoothx: If spline interpolation is used to measure the 171s background, the x-radius of the post-smoothing 171s window is (smoothx * image_width). Here, 171s 'image_width' is the image width after binning. If 171s negative, the default values are used: (25.0/4096) 171s for blue flat-field frames, (50.0/4096) for red 171s flat-field frames, (300.0/4096) for blue science 171s frames and (300.0/4096) for red science frames. 171s (float; default: -1.0) 171s backsub.smoothy: If spline interpolation is used to measure the 171s background, the y-radius of the post-smoothing 171s window is (smoothy * image_height). Here, 171s 'image_height' is the image height after binning. If 171s negative, the default values are used: (100.0/2048) 171s for blue flat-field frames, (300.0/2048) for red 171s flat-field frames, (200.0/2048) for blue science 171s frames and (500.0/2048) for red science frames. 171s (float; default: -1.0) 171s Author: Andrea Modigliani 171s 171s 171s Recipe uves_cal_tflat: 171s version 6.1.8 171s Parameters: {'debug': False, 'plotter': 'no', 'process_chip': 'both', 'clean_traps': False, 'norm_method': 'explevel', 'backsub.mmethod': 'median', 'backsub.npoints': 82, 'backsub.radiusy': 2, 'backsub.sdegree': 1, 'backsub.smoothx': -1.0, 'backsub.smoothy': -1.0, 'reduce.slitlength': -1.0, 'reduce.skysub': False, 'reduce.objoffset': 0.0, 'reduce.objslit': -1.0, 'reduce.tiltcorr': True, 'reduce.ffmethod': 'extract', 'reduce.merge': 'optimal', 'reduce.merge_delt1': 0.0, 'reduce.merge_delt2': 0.0, 'reduce.backsub.mmethod': 'median', 'reduce.backsub.npoints': 82, 'reduce.backsub.radiusy': 2, 'reduce.backsub.sdegree': 1, 'reduce.backsub.smoothx': -1.0, 'reduce.backsub.smoothy': -1.0, 'reduce.rebin.wavestep': -1.0, 'reduce.rebin.wavestep_redu': -1.0, 'reduce.rebin.scale': False, 'reduce.extract.method': 'average', 'reduce.extract.kappa': 10.0, 'reduce.extract.chunk': 32, 'reduce.extract.profile': 'auto', 'reduce.extract.skymethod': 'optimal', 'reduce.extract.oversample': -1, 'reduce.extract.best': True} 171s Docstring: Reduces a TFLAT frame 171s 171s This recipe reduces a TFLAT_xxx frame (xxx = BLUE,RED). This is 171s achieved by 1) combining all provided TFLAT frames to a MASTER_TFLAT 171s frame, then 2) doing a normal science reduction on the first input 171s TFLAT frame Input frames are raw TFLAT_xxx frames, and: order 171s table(s) for each chip, ORDER_TABLE_xxxx (where xxxx=BLUE, REDL, 171s REDU), line table(s) for each chip, LINE_TABLE_xxxx, a master bias 171s frame, MASTER_BIAS_xxxx, a master flat, MASTER_FLAT_xxxx, 171s 171s Parameters: 171s debug: Whether or not to save intermediate 171s results to local directory (bool; 171s default: False) 171s plotter: Any plots produced by the recipe are 171s redirected to the command specified by 171s this parameter. The plotting command must 171s contain the substring 'gnuplot' and must 171s be able to parse gnuplot syntax on its 171s standard input. Valid examples of such a 171s command may include 'gnuplot -persist' 171s and 'cat > mygnuplot$$.gp'. A finer 171s control of the plotting options can be 171s obtained by writing an executable script, 171s e.g. my_gnuplot.pl, that executes gnuplot 171s after setting the desired gnuplot options 171s (e.g. set terminal pslatex color). To 171s turn off plotting, set this parameter to 171s 'no' (str; default: 'no') 171s process_chip: For RED arm data process the redl, redu, 171s or both chip(s) (str; default: 'both') 171s clean_traps: Clean detector traps. If TRUE detector 171s traps are interpolated.The bad pixels are 171s replaced by the average of thenearest 171s good pixels in the same column, or simply 171s marked as bad. The positions of bad 171s pixels are hard-coded (as function of 171s UVES chip). (bool; default: False) 171s norm_method: Method used to build master frame (str; 171s default: 'explevel') 171s backsub.mmethod: Background measuring method. If equal to 171s 'median' the background is sampled using 171s the median of a subwindow. If 'minimum', 171s the subwindow minimum value is used. If 171s 'no', no background subtraction is done. 171s (str; default: 'median') 171s backsub.npoints: This is the number of columns in 171s interorder space used to sample the 171s background. (int; default: 82) 171s backsub.radiusy: The height (in pixels) of the background 171s sampling window is (2*radiusy + 1). This 171s parameter is not corrected for binning. 171s (int; default: 2) 171s backsub.sdegree: Degree of interpolating splines. 171s Currently only degree = 1 is supported 171s (int; default: 1) 171s backsub.smoothx: If spline interpolation is used to 171s measure the background, the x-radius of 171s the post-smoothing window is (smoothx * 171s image_width). Here, 'image_width' is the 171s image width after binning. If negative, 171s the default values are used: (25.0/4096) 171s for blue flat-field frames, (50.0/4096) 171s for red flat-field frames, (300.0/4096) 171s for blue science frames and (300.0/4096) 171s for red science frames. (float; default: 171s -1.0) 171s backsub.smoothy: If spline interpolation is used to 171s measure the background, the y-radius of 171s the post-smoothing window is (smoothy * 171s image_height). Here, 'image_height' is 171s the image height after binning. If 171s negative, the default values are used: 171s (100.0/2048) for blue flat-field frames, 171s (300.0/2048) for red flat-field frames, 171s (200.0/2048) for blue science frames and 171s (500.0/2048) for red science frames. 171s (float; default: -1.0) 171s reduce.slitlength: Extraction slit length (in pixels). If 171s negative, the value inferred from the raw 171s frame header is used (float; default: 171s -1.0) 171s reduce.skysub: Do sky-subtraction (only applicable to 171s linear and average extractions)? (bool; 171s default: False) 171s reduce.objoffset: Offset (in pixels) of extraction slit 171s with respect to center of order. For 171s optimal extraction the full slit is 171s offset. For linear/average extraction, 171s reduce.objoffset is ignored if 171s reduce.objslit [default -1.0] is 171s negative. In this case the offset is 171s automatically determined by measuring the 171s actual object position. (float; default: 171s 0.0) 171s reduce.objslit: Object window size (in pixels), ignored 171s for optimal extraction. The value must be 171s smaller than the total slit length. If 171s negative, the default value (half of full 171s slit length) is used. The upper and lower 171s sky windows are defined as the part of 171s the full slit (if any) outside the object 171s window. The center of the object window 171s is determined by the offset parameter. 171s (float; default: -1.0) 171s reduce.tiltcorr: If enabled (recommended), the provided 171s dispersion solutions obtained at 171s different slit positions are interpolated 171s linearly at the actually measured 171s position of the object/sky. Line tilt 171s correction is currently not supported for 171s 2d extraction, in which case the 171s dispersion solution obtained at the 171s middle of the slit is always used. (bool; 171s default: True) 171s reduce.ffmethod: Flat-fielding method. If set to 'pixel', 171s flat-fielding is done in pixel-pixel 171s space (before extraction); if set to 171s 'extract', flat- fielding is performed in 171s pixel-order space (i.e. after 171s extraction). If set to 'no', no flat- 171s field correction is done, in which case 171s reduce.rebin.scale should be set to true 171s to ensure flux conservation (both for 171s response and science data) (str; default: 171s 'extract') 171s reduce.merge: Order merging method. If 'optimal', the 171s flux in the overlapping region is set to 171s the (optimally computed, using the 171s uncertainties) average of single order 171s spectra. If 'sum', the flux in the 171s overlapping region is computed as the sum 171s of the single order spectra. If 171s 'noappend' the spectrum is simply 171s rebinned but not merged.If flat-fielding 171s is done, method 'optimal' is recommended, 171s otherwise 'sum'. (str; default: 171s 'optimal') 171s reduce.merge_delt1: Order merging left hand (short 171s wavelength) cut. To reduce the amount of 171s order overlapping regions we allow to cut 171s short and long wavelength ranges. This 171s may reduce the ripple possibly introduced 171s by the order merging. Suggested values 171s are: 10 (W<=390), 12 (390 200 (int; default: -1) 171s reduce.extract.best: (optimal extraction only) If false 171s (fastest), the spectrum is extracted only 171s once. If true (best), the spectrum is 171s extracted twice, the second time using 171s improved variance estimates based on the 171s first iteration. Better variance 171s estimates slightly improve the obtained 171s signal to noise but at the cost of 171s increased execution time (bool; default: 171s True)[ INFO ] recipe id uves_cal_mkmaster 171s [ INFO ] Creation of trap not supported for recipe: 'flames_cal_mkmaster' 171s [ INFO ] recipe id flames_cal_mkmaster 171s [ INFO ] recipe id uves_cal_tflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s 171s Author: Jonas M. Larsen 171s 171s 171s Recipe uves_obs_redchain: 171s version 6.1.8 171s Parameters: {'scired': True, 'debug': False, 'plotter': 'no', 'process_chip': 'both', 'uves_cal_predict.mbox_x': 40, 'uves_cal_predict.mbox_y': 40, 'uves_cal_predict.trans_x': 0.0, 'uves_cal_predict.trans_y': 0.0, 'uves_cal_predict.ech_angle_off': 0.0, 'uves_cal_predict.cd_angle_off': 0.0, 'uves_cal_predict.ccd_rot_angle_off': 0.0, 'uves_cal_predict.compute_regression_sw': True, 'uves_cal_predict.def_pol1': 4, 'uves_cal_predict.def_pol2': 5, 'uves_cal_predict.kappa': 4.5, 'uves_cal_predict.tol': 2.0, 'uves_cal_mflat.norm_method': 'explevel', 'uves_cal_mflat.backsub.mmethod': 'median', 'uves_cal_mflat.backsub.npoints': 82, 'uves_cal_mflat.backsub.radiusy': 2, 'uves_cal_mflat.backsub.sdegree': 1, 'uves_cal_mflat.backsub.smoothx': -1.0, 'uves_cal_mflat.backsub.smoothy': -1.0, 'uves_cal_wavecal.nwindows': 3, 'uves_cal_wavecal.length': -1.0, 'uves_cal_wavecal.offset': 0.0, 'uves_cal_wavecal.range': 8, 'uves_cal_wavecal.minlines': 0, 'uves_cal_wavecal.maxlines': 0, 'uves_cal_wavecal.shiftmax': 10.0, 'uves_cal_wavecal.shiftstep': 0.1, 'uves_cal_wavecal.shifttoler': 0.05, 'uves_cal_wavecal.alpha': 0.1, 'uves_cal_wavecal.maxerror': 20.0, 'uves_cal_wavecal.degree': 4, 'uves_cal_wavecal.tolerance': 0.6, 'uves_cal_wavecal.kappa': 4.0, 'uves_cal_wavecal.extract.method': 'average', 'uves_cal_wavecal.extract.kappa': 10.0, 'uves_cal_wavecal.extract.chunk': 32, 'uves_cal_wavecal.extract.profile': 'auto', 'uves_cal_wavecal.extract.skymethod': 'optimal', 'uves_cal_wavecal.extract.oversample': -1, 'uves_cal_wavecal.extract.best': True, 'uves_cal_wavecal.rebin.wavestep': -1.0, 'uves_cal_wavecal.rebin.wavestep_redu': -1.0, 'uves_cal_wavecal.rebin.scale': False, 'uves_cal_mdark.stack_method': 'median', 'uves_cal_mdark.klow': 5.0, 'uves_cal_mdark.khigh': 5.0, 'uves_cal_mdark.niter': 5, 'uves_cal_mdark.qc_dark.reg.num_x': 4, 'uves_cal_mdark.qc_dark.reg.num_y': 4, 'uves_cal_mdark.qc_dark.reg.box_sx': 100, 'uves_cal_mdark.qc_dark.reg.box_sy': 100, 'uves_cal_mdark.qc_dark.reg.border_x': 100, 'uves_cal_mdark.qc_dark.reg.border_y': 100, 'uves_cal_mdark.qc_dark.reg.when': 0, 'uves_cal_orderpos.use_guess_tab': 1, 'uves_cal_orderpos.radx': 2, 'uves_cal_orderpos.rady': 1, 'uves_cal_orderpos.mmethod': 'median', 'uves_cal_orderpos.backsubgrid': 50, 'uves_cal_orderpos.backsubradiusy': 2, 'uves_cal_orderpos.backsubkappa': 4.0, 'uves_cal_orderpos.backsubdegx': 2, 'uves_cal_orderpos.backsubdegy': 2, 'uves_cal_orderpos.samplewidth': 50, 'uves_cal_orderpos.minslope': 0.0, 'uves_cal_orderpos.maxslope': 0.2, 'uves_cal_orderpos.sloperes': 120, 'uves_cal_orderpos.pthres': 0.2, 'uves_cal_orderpos.tracestep': 10, 'uves_cal_orderpos.minthresh': 0.2, 'uves_cal_orderpos.maxgap': 0.2, 'uves_cal_orderpos.maxrms': 100.0, 'uves_cal_orderpos.defpol1': -1, 'uves_cal_orderpos.defpol2': -1, 'uves_cal_orderpos.kappa': 4.0, 'uves_cal_mbias.clean_traps': False, 'uves_cal_mbias.stack_method': 'median', 'uves_cal_mbias.klow': 5.0, 'uves_cal_mbias.khigh': 5.0, 'uves_cal_mbias.niter': 5, 'uves_cal_mbias.pd_compute': False, 'uves_cal_mbias.dc_mask_x': 1, 'uves_cal_mbias.dc_mask_y': 1, 'uves_cal_response.efficiency.paccuracy': 60.0, 'uves_cal_response.efficiency.reduce.ffmethod': 'no', 'uves_cal_response.efficiency.reduce.merge': 'sum', 'uves_cal_response.efficiency.reduce.best': True, 'uves_cal_response.efficiency.reduce.extract.method': 'linear', 'uves_cal_response.reduce.slitlength': -1.0, 'uves_cal_response.reduce.skysub': True, 'uves_cal_response.reduce.objoffset': 0.0, 'uves_cal_response.reduce.objslit': -1.0, 'uves_cal_response.reduce.tiltcorr': True, 'uves_cal_response.reduce.ffmethod': 'extract', 'uves_cal_response.reduce.merge': 'optimal', 'uves_cal_response.reduce.merge_delt1': 0.0, 'uves_cal_response.reduce.merge_delt2': 0.0, 'uves_cal_response.reduce.extract.method': 'optimal', 'uves_cal_response.reduce.extract.kappa': 10.0, 'uves_cal_response.reduce.extract.chunk': 32, 'uves_cal_response.reduce.extract.profile': 'auto', 'uves_cal_response.reduce.extract.skymethod': 'optimal', 'uves_cal_response.reduce.extract.oversample': -1, 'uves_cal_response.reduce.extract.best': True, 'uves_cal_response.reduce.rebin.wavestep': -1.0, 'uves_cal_response.reduce.rebin.wavestep_redu': -1.0, 'uves_cal_response.reduce.rebin.scale': False, 'uves_cal_response.reduce.backsub.mmethod': 'median', 'uves_cal_response.reduce.backsub.npoints': 82, 'uves_cal_response.reduce.backsub.radiusy': 2, 'uves_cal_response.reduce.backsub.sdegree': 1, 'uves_cal_response.reduce.backsub.smoothx': -1.0, 'uves_cal_response.reduce.backsub.smoothy': -1.0, 'uves_obs_scired.clean_traps': False, 'uves_obs_scired.reduce.slitlength': -1.0, 'uves_obs_scired.reduce.skysub': True, 'uves_obs_scired.reduce.objoffset': 0.0, 'uves_obs_scired.reduce.objslit': -1.0, 'uves_obs_scired.reduce.tiltcorr': True, 'uves_obs_scired.reduce.ffmethod': 'extract', 'uves_obs_scired.reduce.merge': 'optimal', 'uves_obs_scired.reduce.merge_delt1': 0.0, 'uves_obs_scired.reduce.merge_delt2': 0.0, 'uves_obs_scired.reduce.rebin.wavestep': -1.0, 'uves_obs_scired.reduce.rebin.wavestep_redu': -1.0, 'uves_obs_scired.reduce.rebin.scale': False, 'uves_obs_scired.reduce.backsub.mmethod': 'median', 'uves_obs_scired.reduce.backsub.npoints': 82, 'uves_obs_scired.reduce.backsub.radiusy': 2, 'uves_obs_scired.reduce.backsub.sdegree': 1, 'uves_obs_scired.reduce.backsub.smoothx': -1.0, 'uves_obs_scired.reduce.backsub.smoothy': -1.0, 'uves_obs_scired.reduce.extract.method': 'optimal', 'uves_obs_scired.reduce.extract.kappa': 10.0, 'uves_obs_scired.reduce.extract.chunk': 32, 'uves_obs_scired.reduce.extract.profile': 'auto', 'uves_obs_scired.reduce.extract.skymethod': 'optimal', 'uves_obs_scired.reduce.extract.oversample': -1, 'uves_obs_scired.reduce.extract.best': True} 171s Docstring: Runs the full UVES reduction chain 171s 171s This recipe does a complete science reduction. It runs all necessary 171s calibration recipes depending on the availability of raw/processed 171s calibration frames. Input frames are all UVES raw and reference 171s frames: formatchecks, ARC_LAMP_FORM_xxxx, xxxx=BLUE or RED, order 171s definition frames, ORDER_FLAT_xxx, biases, BIAS_xxx, darks, DARK_xxx, 171s flats, FLAT_xxx, arc lamps, ARC_LAMP_xxx, standard stars, STANDARD_xxx 171s a wavelength catalogue table,LINE_REFER_TABLE, and optionally a 171s wavelength table of bright lines,LINE_INTMON_TABLE, used only for 171s computing Quality Control parameters. a reference standard star flux 171s table, FLUX_STD_TABLE, a table describing the atmospheric 171s extintion,EXTCOEFF_TABLE. optionally, science frames, SCIENCE_xxx, or 171s UVES_SCI_POINT_xxx, or UVES_SCI_EXTND_xxx, or UVES_SCI_SLICER_xxx. 171s For further details on the data reduction and the input frame types 171s refer to the man page of the individual recipes. 171s 171s Parameters: 171s scired: Whether or not to 171s do science 171s reduction. If 171s false, only 171s master 171s calibration 171s frames are 171s created. If 171s false, either 171s zero or all 171s necessary 171s calibration 171s frames must be 171s provided for each 171s arm (bool; 171s default: True) 171s debug: Whether or not to 171s save intermediate 171s results to local 171s directory (bool; 171s default: False) 171s plotter: Any plots 171s produced by the 171s recipe are 171s redirected to the 171s command specified 171s by this 171s parameter. The 171s plotting command 171s must contain the 171s substring 171s 'gnuplot' and 171s must be able to 171s parse gnuplot 171s syntax on its 171s standard input. 171s Valid examples of 171s such a command 171s may include 171s 'gnuplot 171s -persist' and 171s 'cat > 171s mygnuplot$$.gp'. 171s A finer control 171s of the plotting 171s options can be 171s obtained by 171s writing an 171s executable 171s script, e.g. 171s my_gnuplot.pl, 171s that executes 171s gnuplot after 171s setting the 171s desired gnuplot 171s options (e.g. set 171s terminal pslatex 171s color). To turn 171s off plotting, set 171s this parameter to 171s 'no' (str; 171s default: 'no') 171s process_chip: For RED arm data 171s process the redl, 171s redu, or both 171s chip(s) (str; 171s default: 'both') 171s uves_cal_predict.mbox_x: Match box X size 171s (int; default: 171s 40) 171s uves_cal_predict.mbox_y: Match box Y size 171s (int; default: 171s 40) 171s uves_cal_predict.trans_x: Detector 171s translation along 171s X (float; 171s default: 0.0) 171s uves_cal_predict.trans_y: Detector 171s translation along 171s Y (float; 171s default: 0.0) 171s uves_cal_predict.ech_angle_off: Offset on echelle 171s angle (float; 171s default: 0.0) 171s uves_cal_predict.cd_angle_off: Offset on cross 171s disperser angle 171s (float; default: 171s 0.0) 171s uves_cal_predict.ccd_rot_angle_off: Offset on CCD 171s rotation angle 171s (float; default: 171s 0.0) 171s uves_cal_predict.compute_regression_sw: Compute 171s regression? 171s (bool; default: 171s True) 171s uves_cal_predict.def_pol1: Polynomial X deg 171s (int; default: 4) 171s uves_cal_predict.def_pol2: Polynomial Y deg 171s (int; default: 5) 171s uves_cal_predict.kappa: Kappa value in 171s kappa sigma 171s clipping on 171s RESIDUAL between 171s YFIT and Y 171s columns (float; 171s default: 4.5) 171s uves_cal_predict.tol: Tolerance in 171s kappa sigma 171s clipping on 171s RESIDUAL between 171s YFIT and Y 171s columns (float; 171s default: 2.0) 171s uves_cal_mflat.norm_method: Method used to 171s build master 171s frame (str; 171s default: 171s 'explevel') 171s uves_cal_mflat.backsub.mmethod: Background 171s measuring method. 171s If equal to 171s 'median' the 171s background is 171s sampled using the 171s median of a 171s subwindow. If 171s 'minimum', the 171s subwindow minimum 171s value is used. If 171s 'no', no 171s background 171s subtraction is 171s done. (str; 171s default: 171s 'median') 171s uves_cal_mflat.backsub.npoints: This is the 171s number of columns 171s in interorder 171s space used to 171s sample the 171s background. (int; 171s default: 82) 171s uves_cal_mflat.backsub.radiusy: The height (in 171s pixels) of the 171s background 171s sampling window 171s is (2*radiusy + 171s 1). This 171s parameter is not 171s corrected for 171s binning. (int; 171s default: 2) 171s uves_cal_mflat.backsub.sdegree: Degree of 171s interpolating 171s splines. 171s Currently only 171s degree = 1 is 171s supported (int; 171s default: 1) 171s uves_cal_mflat.backsub.smoothx: If spline 171s interpolation is 171s used to measure 171s the background, 171s the x-radius of 171s the post- 171s smoothing window 171s is (smoothx * 171s image_width). 171s Here, 171s 'image_width' is 171s the image width 171s after binning. If 171s negative, the 171s default values 171s are used: 171s (25.0/4096) for 171s blue flat-field 171s frames, 171s (50.0/4096) for 171s red flat-field 171s frames, 171s (300.0/4096) for 171s blue science 171s frames and 171s (300.0/4096) for 171s red science 171s frames. (float; 171s default: -1.0) 171s uves_cal_mflat.backsub.smoothy: If spline 171s interpolation is 171s used to measure 171s the background, 171s the y-radius of 171s the post- 171s smoothing window 171s is (smoothy * 171s image_height). 171s Here, 171s 'image_height' is 171s the image height 171s after binning. If 171s negative, the 171s default values 171s are used: 171s (100.0/2048) for 171s blue flat-field 171s frames, 171s (300.0/2048) for 171s red flat-field 171s frames, 171s (200.0/2048) for 171s blue science 171s frames and 171s (500.0/2048) for 171s red science 171s frames. (float; 171s default: -1.0) 171s uves_cal_wavecal.nwindows: Number of 171s extraction 171s windows per 171s trace. The 171s windows will be 171s aligned (i.e. no 171s overlap and no 171s spacing between 171s adjacent 171s windows). Unless 171s an offset is 171s specified, the 171s middle window(s) 171s is centered on 171s the trace (int; 171s default: 3) 171s uves_cal_wavecal.length: Length (in 171s pixels) of each 171s extraction 171s window. This 171s parameter is also 171s equal to the 171s seperation of 171s adjacent window 171s centers, causing 171s the extraction 171s windows to always 171s be aligned. The 171s parameter is 171s automatically 171s adjusted 171s according to the 171s binning of the 171s input raw frame. 171s If negative, the 171s extraction window 171s length is 171s determined 171s automatically to 171s cover the full 171s slit (float; 171s default: -1.0) 171s uves_cal_wavecal.offset: A global offset 171s (in pixels) of 171s all extraction 171s windows (float; 171s default: 0.0) 171s uves_cal_wavecal.range: Width (pix) of 171s search window is 171s 2*range + 1. This 171s parameter is 171s automatically 171s adjusted 171s according to 171s binning. (int; 171s default: 8) 171s uves_cal_wavecal.minlines: Minimum number of 171s lines to detect. 171s If zero, the 171s default value 171s (1100 for 171s BLUE/REDL chips; 171s 1000 for REDU 171s chip) is used. 171s (int; default: 0) 171s uves_cal_wavecal.maxlines: Maximum number of 171s lines to detect. 171s If zero, the 171s default value 171s (1600 for 171s BLUE/REDL chip; 171s 1400 for REDU 171s chip) is used. 171s (int; default: 0) 171s uves_cal_wavecal.shiftmax: The maximum shift 171s (pix) in either 171s direction 171s compared to guess 171s solution. This 171s parameter is 171s automatically 171s corrected for 171s binning (float; 171s default: 10.0) 171s uves_cal_wavecal.shiftstep: The step size 171s (pix) used when 171s searching for the 171s optimum shift. 171s This parameter is 171s automatically 171s corrected for 171s binning (float; 171s default: 0.1) 171s uves_cal_wavecal.shifttoler: Tolerance (pix) 171s when matching 171s shifted lines. 171s This parameter is 171s not adjusted 171s according to 171s binning (float; 171s default: 0.05) 171s uves_cal_wavecal.alpha: The parameter 171s that controls the 171s distance to the 171s nearest 171s neighbours 171s (float; default: 171s 0.1) 171s uves_cal_wavecal.maxerror: This parameter 171s controls the 171s graceful exit of 171s the 171s identification 171s loop. If the RMS 171s of the global fit 171s exceeds this 171s value (pix) the 171s iteration stops 171s (float; default: 171s 20.0) 171s uves_cal_wavecal.degree: Degrees of the 171s global 2d 171s dispersion 171s polynomial. If a 171s negative number 171s is specified, the 171s polynomial 171s degrees are 171s automatically 171s selected by 171s starting from (1, 171s 1) and inreasing 171s the degrees as 171s long as the RMS 171s residual 171s decreases 171s significantly 171s (int; default: 4) 171s uves_cal_wavecal.tolerance: Tolerance of fit. 171s If positive, the 171s tolerance is in 171s pixel units. If 171s negative, 171s abs(tolerance) is 171s in wavelength 171s units. Lines with 171s residuals worse 171s than the 171s tolerance are 171s excluded from the 171s final fit. Unlike 171s in previous 171s versions, this 171s parameter is not 171s corrected for CCD 171s binning. This 171s rejection based 171s on the absolute 171s residual in pixel 171s can be 171s effectively 171s disabled by 171s setting the 171s tolerance to a 171s very large number 171s (e.g. 9999). In 171s that case 171s outliers will be 171s rejected using 171s only kappa sigma 171s clipping. (float; 171s default: 0.6) 171s uves_cal_wavecal.kappa: Lines with 171s residuals more 171s then kappa stdev 171s are rejected from 171s the final fit 171s (float; default: 171s 4.0) 171s uves_cal_wavecal.extract.method: Extraction 171s method. 171s (2d/optimal not 171s supported by 171s uves_cal_wavecal, 171s weighted 171s supported only by 171s uves_cal_wavecal, 171s 2d not supported 171s by uves_cal_respo 171s nse) (str; 171s default: 171s 'average') 171s uves_cal_wavecal.extract.kappa: In optimal 171s extraction mode, 171s this is the 171s threshold for bad 171s (i.e. hot/cold) 171s pixel rejection. 171s If a pixel 171s deviates more 171s than kappa*sigma 171s (where sigma is 171s the uncertainty 171s of the pixel 171s flux) from the 171s inferred spatial 171s profile, its 171s weight is set to 171s zero. Range: 171s [-1,100]. If this 171s parameter is 171s negative, no 171s rejection is 171s performed. 171s (float; default: 171s 10.0) 171s uves_cal_wavecal.extract.chunk: In optimal 171s extraction mode, 171s the chunk size 171s (in pixels) used 171s for fitting the 171s analytical 171s profile (a fit of 171s the analytical 171s profile to single 171s bins would suffer 171s from low 171s statistics). 171s (int; default: 171s 32) 171s uves_cal_wavecal.extract.profile: In optimal 171s extraction mode, 171s the kind of 171s profile to use. 171s 'gauss' gives a 171s Gaussian profile, 171s 'moffat' gives a 171s Moffat profile 171s with beta=4 and a 171s possible linear 171s sky contribution. 171s 'virtual' uses a 171s virtual 171s resampling 171s algorithm (i.e. 171s measures and uses 171s the actual object 171s profile). 171s 'constant' 171s assumes a 171s constant spatial 171s profile and 171s allows optimal 171s extraction of 171s wavelength 171s calibration 171s frames. 'auto' 171s will 171s automatically 171s select the best 171s method based on 171s the estimated S/N 171s of the object. 171s For low S/N, 171s 'moffat' or 171s 'gauss' are 171s recommended (for 171s robustness). For 171s high S/N, 171s 'virtual' is 171s recommended (for 171s accuracy). In the 171s case of virtual 171s resampling, a 171s precise 171s determination of 171s the order 171s positions is 171s required; 171s therefore the 171s order-definition 171s is repeated using 171s the (assumed non- 171s low S/N) science 171s frame (str; 171s default: 'auto') 171s uves_cal_wavecal.extract.skymethod: In optimal 171s extraction mode, 171s the sky 171s subtraction 171s method to use. 171s 'median' 171s estimates the sky 171s as the median of 171s pixels along the 171s slit (ignoring 171s pixels close to 171s the object), 171s whereas 'optimal' 171s does a chi square 171s minimization 171s along the slit to 171s obtain the best 171s combined object 171s and sky levels. 171s The optimal 171s method gives the 171s most accurate sky 171s determination but 171s is also a bit 171s slower than the 171s median method 171s (str; default: 171s 'optimal') 171s uves_cal_wavecal.extract.oversample: The oversampling 171s factor used for 171s the virtual 171s resampling 171s algorithm. If 171s negative, the 171s value 5 is used 171s for S/N <=200, 171s and the value 10 171s is used if the 171s estimated S/N is 171s > 200 (int; 171s default: -1) 171s uves_cal_wavecal.extract.best: (optimal 171s extraction only) 171s If false 171s (fastest), the 171s spectrum is 171s extracted only 171s once. If true 171s (best), the 171s spectrum is 171s extracted twice, 171s the second time 171s using improved 171s variance 171s estimates based 171s on the first 171s iteration. Better 171s variance 171s estimates 171s slightly improve 171s the obtained 171s signal to noise 171s but at the cost 171s of increased 171s execution time 171s (bool; default: 171s True) 171s uves_cal_wavecal.rebin.wavestep: The bin size used 171s for BLUE/REDL 171s data (in w.l.u.) 171s in wavelength 171s space. If 171s negative, a step 171s size of 2/3 * ( 171s average pixel 171s size ) is used. 171s (float; default: 171s -1.0) 171s uves_cal_wavecal.rebin.wavestep_redu: The bin size used 171s for REDU data (in 171s w.l.u.) in 171s wavelength space. 171s If negative, a 171s step size of 2/3 171s * ( average pixel 171s size ) is used. 171s (float; default: 171s -1.0) 171s uves_cal_wavecal.rebin.scale: Whether or not to 171s multiply by the 171s factor dx/dlambda 171s (pixels per 171s wavelength) 171s during the 171s rebinning to 171s conserve the 171s flux. This option 171s is disabled as 171s default because 171s applying the flat 171s field correction 171s already ensures 171s flux 171s conservation. 171s Therefore this 171s parameter should 171s be TRUE (for 171s response and 171s science data) 171s only if 171s reduce.ffmethd = 171s no. (bool; 171s default: False) 171s uves_cal_mdark.stack_method: Method used to 171s build master 171s frame (str; 171s default: 171s 'median') 171s uves_cal_mdark.klow: Kappa used to 171s clip low level 171s values, when 171s method is set to 171s 'mean' (float; 171s default: 5.0) 171s uves_cal_mdark.khigh: Kappa used to 171s clip high level 171s values, when 171s method is set to 171s 'mean' (float; 171s default: 5.0) 171s uves_cal_mdark.niter: Number of kappa 171s sigma iterations, 171s when method is 171s set to 'mean' 171s (int; default: 5) 171s uves_cal_mdark.stack_method: Method used to 171s build master 171s frame (str; 171s default: 171s 'median') 171s uves_cal_mdark.klow: Kappa used to 171s clip low level 171s values, when 171s method is set to 171s 'mean' (float; 171s default: 5.0) 171s uves_cal_mdark.khigh: Kappa used to 171s clip high level 171s values, when 171s method is set to 171s 'mean' (float; 171s default: 5.0) 171s uves_cal_mdark.niter: Number of kappa 171s sigma iterations, 171s when method is 171s set to 'mean' 171s (int; default: 5) 171s uves_cal_mdark.qc_dark.reg.num_x: Number of regions 171s along the X axis 171s (where 171s mean/med/rms are 171s computed). (int; 171s default: 4) 171s uves_cal_mdark.qc_dark.reg.num_y: Number of regions 171s along the Y 171s axis(where 171s mean/med/rms are 171s computed). (int; 171s default: 4) 171s uves_cal_mdark.qc_dark.reg.box_sx: Region X size 171s [pix] (int; 171s default: 100) 171s uves_cal_mdark.qc_dark.reg.box_sy: Region Y size 171s [pix] (int; 171s default: 100) 171s uves_cal_mdark.qc_dark.reg.border_x: X distance 171s between the left 171s hand side of the 171s detector and the 171s left hand side of 171s the region [pix] 171s (int; default: 171s 100) 171s uves_cal_mdark.qc_dark.reg.border_y: X distance 171s between the left 171s hand side of the 171s detector and the 171s left hand side of 171s the region [pix] 171s (int; default: 171s 100) 171s uves_cal_mdark.qc_dark.reg.when: When QC analysis 171s is performed. 0: 171s on each raw frame 171s or 1: on the 171s master frame 171s (int; default: 0) 171s uves_cal_orderpos.use_guess_tab: If a Guess order 171s table is provided 171s this parameter 171s set how it is 171s used:0: No usage, 171s 1: use it to set 171s lower/upper Y 171s raws where order 171s are searched 2: 171s the order table 171s try to fully 171s match the guess 171s (int; default: 1) 171s uves_cal_orderpos.radx: Half X size of 171s median filtering 171s window (int; 171s default: 2) 171s uves_cal_orderpos.rady: Half Y size of 171s median filtering 171s window (int; 171s default: 1) 171s uves_cal_orderpos.mmethod: Background 171s subtraction 171s method. If equal 171s to 'median' the 171s background is 171s sampled using the 171s median of a sub- 171s window. If 171s 'minimum', the 171s minimum sub- 171s window value is 171s used. If 'no', no 171s background 171s subtraction is 171s done. (str; 171s default: 171s 'median') 171s uves_cal_orderpos.backsubgrid: Number of grid 171s points (in x- and 171s y-direction) used 171s to estimate the 171s background 171s (mode=poly). 171s (int; default: 171s 50) 171s uves_cal_orderpos.backsubradiusy: The height (in 171s pixels) of the 171s background 171s sampling window 171s is (2*radiusy + 171s 1). This 171s parameter is not 171s corrected for 171s binning. (int; 171s default: 2) 171s uves_cal_orderpos.backsubkappa: The value of 171s kappa in the one- 171s sided kappa-sigma 171s clipping used to 171s estimate the 171s background 171s (mode=poly). 171s (float; default: 171s 4.0) 171s uves_cal_orderpos.backsubdegx: Degree (in x) of 171s polynomial used 171s to estimate the 171s background 171s (mode=poly). 171s (int; default: 2) 171s uves_cal_orderpos.backsubdegy: Degree (in y) of 171s polynomial used 171s to estimate the 171s background 171s (mode=poly). 171s (int; default: 2) 171s uves_cal_orderpos.samplewidth: Separation of 171s sample traces 171s (used by Hough 171s transform) in 171s input image (int; 171s default: 50) 171s uves_cal_orderpos.minslope: Minimum possible 171s line slope. This 171s should be the 171s 'physical' slope 171s on the chip, i.e. 171s not taking 171s binning factors 171s into account, 171s which is handled 171s by the recipe 171s (float; default: 171s 0.0) 171s uves_cal_orderpos.maxslope: Maximum possible 171s line slope 171s (float; default: 171s 0.2) 171s uves_cal_orderpos.sloperes: Resolution (width 171s in pixels) of 171s Hough space (int; 171s default: 120) 171s uves_cal_orderpos.pthres: In automatic 171s mode, or if the 171s number of orders 171s to detect is read 171s from a guess 171s table, the 171s detection of new 171s lines stops when 171s the intensity of 171s a candidate line 171s drops to less 171s than 'pthres' 171s times the 171s intensity of the 171s previous 171s detection. 171s (float; default: 171s 0.2) 171s uves_cal_orderpos.tracestep: The step size 171s used when tracing 171s the orders (int; 171s default: 10) 171s uves_cal_orderpos.minthresh: The minimum 171s threshold value 171s is (min + 171s minthres*(max - 171s min)). Here 'min' 171s and 'max' are the 171s lowest and 171s highest pixel 171s values in the 171s central bin of 171s the order (float; 171s default: 0.2) 171s uves_cal_orderpos.maxgap: If the order line 171s drops below 171s detection 171s threshold, the 171s order tracing 171s algorithm will 171s try to jump a gap 171s of maximum size 171s 'maxgap' 171s multiplied by the 171s image width 171s (float; default: 171s 0.2) 171s uves_cal_orderpos.maxrms: When fitting the 171s orders with 171s straight lines, 171s this is the 171s maximum allowed 171s RMS relative to 171s the median RMS of 171s all orders 171s (float; default: 171s 100.0) 171s uves_cal_orderpos.defpol1: The degree of the 171s bivarite fit 171s (cross dispersion 171s direction). If 171s negative, the 171s degree is 171s optimized to give 171s the best fit 171s (int; default: 171s -1) 171s uves_cal_orderpos.defpol2: The degree of the 171s bivarite fit 171s (order number). 171s If negative, the 171s degree is 171s optimized to give 171s the best fit 171s (int; default: 171s -1) 171s uves_cal_orderpos.kappa: Used for kappa- 171s sigma clipping of 171s the final 171s polynomial fit. 171s If negative, no 171s clipping is done 171s (float; default: 171s 4.0) 171s uves_cal_mbias.clean_traps: Clean detector 171s traps. If TRUE 171s detector traps 171s are 171s interpolated.The 171s bad pixels are 171s replaced by the 171s average of 171s thenearest good 171s pixels in the 171s same column, or 171s simply marked as 171s bad. The 171s positions of bad 171s pixels are hard- 171s coded (as 171s function of UVES 171s chip). (bool; 171s default: False) 171s uves_cal_mbias.stack_method: Method used to 171s build master 171s frame (str; 171s default: 171s 'median') 171s uves_cal_mbias.klow: Kappa used to 171s clip low level 171s values, when 171s method is set to 171s 'mean' (float; 171s default: 5.0) 171s uves_cal_mbias.khigh: Kappa used to 171s clip high level 171s values, when 171s method is set to 171s 'mean' (float; 171s default: 5.0) 171s uves_cal_mbias.niter: Number of kappa 171s sigma iterations, 171s when method is 171s set to 'mean' 171s (int; default: 5) 171s uves_cal_mbias.pd_compute: Determine Fixed 171s Pattern Noise. If 171s TRUE the Fixed 171s Patter Noise 171s power spectrum is 171s determined.(as 171s function of UVES 171s chip). (bool; 171s default: False) 171s uves_cal_mbias.dc_mask_x: x-size (pixel) of 171s the mask starting 171s at (x,y) = (1,1) 171s (int; default: 1) 171s uves_cal_mbias.dc_mask_y: y-size (pixel) of 171s the mask starting 171s at (x,y) = (1,1) 171s (int; default: 1) 171s uves_cal_response.efficiency.paccuracy: The pointing 171s accuracy (in 171s arcseconds) used 171s to identify the 171s observed star 171s with a catalogue 171s star. If the 171s angular 171s separation is 171s less than this 171s number, the 171s identification is 171s made. (float; 171s default: 60.0) 171s uves_cal_response.efficiency.reduce.ffmethod: Flat-fielding 171s method. If set to 171s 'pixel', flat- 171s fielding is done 171s in pixel-pixel 171s space (before 171s extraction); if 171s set to 'extract', 171s flat- fielding is 171s performed in 171s pixel-order space 171s (i.e. after 171s extraction). If 171s set to 'no', no 171s flat-field 171s correction is 171s done, in which 171s case reduce.rebin 171s .scale should be 171s set to true to 171s ensure flux 171s conservation 171s (both for 171s response and 171s science data). 171s (str; 171s default: 'no') 171s uves_cal_response.efficiency.reduce.merge: Order merging 171s method. If 171s 'optimal', the 171s flux in the 171s overlapping 171s region is set to 171s the (optimally 171s computed, using 171s the 171s uncertainties) 171s average of single 171s order spectra. If 171s 'sum', the flux 171s in the 171s overlapping 171s region is 171s computed as the 171s sum of the single 171s order spectra.If 171s 'noappend' the 171s spectrum is 171s simply rebinned 171s but not merged.If 171s flat-fielding is 171s done, method 171s 'optimal' is 171s recommended, 171s otherwise 'sum'. 171s (str; 171s default: 'sum') 171s uves_cal_response.efficiency.reduce.best: (optimal 171s extraction only) 171s If false 171s (fastest), the 171s spectrum is 171s extracted only 171s once. If true 171s (best), the 171s spectrum is 171s extracted twice, 171s the second time 171s using improved 171s variance 171s estimates based 171s on the first 171s iteration. Better 171s variance 171s estimates 171s slightly improve 171s the obtained 171s signal to noise 171s but at the cost 171s of increased 171s execution time 171s (bool; default: 171s True) 171s uves_cal_response.efficiency.reduce.extract.method: Extraction 171s method. (str; 171s default: 171s 'linear') 171s uves_cal_response.reduce.slitlength: Extraction slit 171s length (in 171s pixels). If 171s negative, the 171s value inferred 171s from the raw 171s frame header is 171s used (float; 171s default: -1.0) 171s uves_cal_response.reduce.skysub: Do sky- 171s subtraction (only 171s applicable to 171s linear and 171s average 171s extractions)? 171s (bool; default: 171s True) 171s uves_cal_response.reduce.objoffset: Offset (in 171s pixels) of 171s extraction slit 171s with respect to 171s center of order. 171s For optimal 171s extraction the 171s full slit is 171s offset. For 171s linear/average 171s extraction, 171s reduce.objoffset 171s is ignored if 171s reduce.objslit 171s [default -1.0] is 171s negative. In this 171s case the offset 171s is automatically 171s determined by 171s measuring the 171s actual object 171s position. (float; 171s default: 0.0) 171s uves_cal_response.reduce.objslit: Object window 171s size (in pixels), 171s ignored for 171s optimal 171s extraction. The 171s value must be 171s smaller than the 171s total slit 171s length. If 171s negative, the 171s default value 171s (half of full 171s slit length) is 171s used. The upper 171s and lower sky 171s windows are 171s defined as the 171s part of the full 171s slit (if any) 171s outside the 171s object window. 171s The center of the 171s object window is 171s determined by the 171s offset parameter. 171s (float; default: 171s -1.0) 171s uves_cal_response.reduce.tiltcorr: If enabled 171s (recommended), 171s the provided 171s dispersion 171s solutions 171s obtained at 171s different slit 171s positions are 171s interpolated 171s linearly at the 171s actually measured 171s position of the 171s object/sky. Line 171s tilt correction 171s is currently not 171s supported for 2d 171s extraction, in 171s which case the 171s dispersion 171s solution obtained 171s at the middle of 171s the slit is 171s always used. 171s (bool; default: 171s True) 171s uves_cal_response.reduce.ffmethod: Flat-fielding 171s method. If set to 171s 'pixel', flat- 171s fielding is done 171s in pixel-pixel 171s space (before 171s extraction); if 171s set to 'extract', 171s flat- fielding is 171s performed in 171s pixel-order space 171s (i.e. after 171s extraction). If 171s set to 'no', no 171s flat-field 171s correction is 171s done, in which 171s case reduce.rebin 171s .scale should be 171s set to true to 171s ensure flux 171s conservation 171s (both for 171s response and 171s science data) 171s (str; default: 171s 'extract') 171s uves_cal_response.reduce.merge: Order merging 171s method. If 171s 'optimal', the 171s flux in the 171s overlapping 171s region is set to 171s the (optimally 171s computed, using 171s the 171s uncertainties) 171s average of single 171s order spectra. If 171s 'sum', the flux 171s in the 171s overlapping 171s region is 171s computed as the 171s sum of the single 171s order spectra. If 171s 'noappend' the 171s spectrum is 171s simply rebinned 171s but not merged.If 171s flat-fielding is 171s done, method 171s 'optimal' is 171s recommended, 171s otherwise 'sum'. 171s (str; default: 171s 'optimal') 171s uves_cal_response.reduce.merge_delt1: Order merging 171s left hand (short 171s wavelength) cut. 171s To reduce the 171s amount of order 171s overlapping 171s regions we allow 171s to cut short and 171s long wavelength 171s ranges. This may 171s reduce the ripple 171s possibly 171s introduced by the 171s order merging. 171s Suggested values 171s are: 10 (W<=390), 171s 12 (390 200 (int; 171s default: -1) 171s uves_cal_response.reduce.extract.best: (optimal 171s extraction only) 171s If false 171s (fastest), the 171s spectrum is 171s extracted only 171s once. If true 171s (best), the 171s spectrum is 171s extracted twice, 171s the second time 171s using improved 171s variance 171s estimates based 171s on the first 171s iteration. Better 171s variance 171s estimates 171s slightly improve 171s the obtained 171s signal to noise 171s but at the cost 171s of increased 171s execution time 171s (bool; default: 171s True) 171s uves_cal_response.reduce.rebin.wavestep: The bin size used 171s for BLUE/REDL 171s data (in w.l.u.) 171s in wavelength 171s space. If 171s negative, a step 171s size of 2/3 * ( 171s average pixel 171s size ) is used. 171s (float; default: 171s -1.0) 171s uves_cal_response.reduce.rebin.wavestep_redu: The bin size used 171s for REDU data (in 171s w.l.u.) in 171s wavelength space. 171s If negative, a 171s step size of 2/3 171s * ( average pixel 171s size ) is used. 171s (float; default: 171s -1.0) 171s uves_cal_response.reduce.rebin.scale: Whether or not to 171s multiply by the 171s factor dx/dlambda 171s (pixels per 171s wavelength) 171s during the 171s rebinning to 171s conserve the 171s flux. This option 171s is disabled as 171s default because 171s applying the flat 171s field correction 171s already ensures 171s flux 171s conservation. 171s Therefore this 171s parameter should 171s be TRUE (for 171s response and 171s science data) 171s only if 171s reduce.ffmethd = 171s no. (bool; 171s default: False) 171s uves_cal_response.reduce.backsub.mmethod: Background 171s measuring method. 171s If equal to 171s 'median' the 171s background is 171s sampled using the 171s median of a 171s subwindow. If 171s 'minimum', the 171s subwindow minimum 171s value is used. If 171s 'no', no 171s background 171s subtraction is 171s done. (str; 171s default: 171s 'median') 171s uves_cal_response.reduce.backsub.npoints: This is the 171s number of columns 171s in interorder 171s space used to 171s sample the 171s background. (int; 171s default: 82) 171s uves_cal_response.reduce.backsub.radiusy: The height (in 171s pixels) of the 171s background 171s sampling window 171s is (2*radiusy + 171s 1). This 171s parameter is not 171s corrected for 171s binning. (int; 171s default: 2) 171s uves_cal_response.reduce.backsub.sdegree: Degree of 171s interpolating 171s splines. 171s Currently only 171s degree = 1 is 171s supported (int; 171s default: 1) 171s uves_cal_response.reduce.backsub.smoothx: If spline 171s interpolation is 171s used to measure 171s the background, 171s the x-radius of 171s the post- 171s smoothing window 171s is (smoothx * 171s image_width). 171s Here, 171s 'image_width' is 171s the image width 171s after binning. If 171s negative, the 171s default values 171s are used: BACKSUB 171s _FLAT_SMOOTHX_BLU 171s E for blue flat- 171s field frames, BAC 171s KSUB_FLAT_SMOOTHX 171s _RED for red 171s flat-field 171s frames, BACKSUB_S 171s CI_SMOOTHX_BLUE 171s for blue science 171s frames and BACKSU 171s B_SCI_SMOOTHX_RED 171s for red science 171s frames. (float; 171s default: -1.0) 171s uves_cal_response.reduce.backsub.smoothy: If spline 171s interpolation is 171s used to measure 171s the background, 171s the y-radius of 171s the post- 171s smoothing window 171s is (smoothy * 171s image_height). 171s Here, 171s 'image_height' is 171s the image height 171s after binning. If 171s negative, the 171s default values 171s are used: BACKSUB 171s _FLAT_SMOOTHY_BLU 171s E for blue flat- 171s field frames, BAC 171s KSUB_FLAT_SMOOTHY 171s _RED for red 171s flat-field 171s frames, BACKSUB_S 171s CI_SMOOTHY_BLUE 171s for blue science 171s frames and BACKSU 171s B_SCI_SMOOTHY_RED 171s for red science 171s frames. (float; 171s default: -1.0) 171s uves_obs_scired.clean_traps: Clean detector 171s traps. If TRUE 171s detector traps 171s are 171s interpolated.The 171s bad pixels are 171s replaced by the 171s average of 171s thenearest good 171s pixels in the 171s same column, or 171s simply marked as 171s bad. The 171s positions of bad 171s pixels are hard- 171s coded (as 171s function of UVES 171s chip). (bool; 171s default: False) 171s uves_obs_scired.reduce.slitlength: Extraction slit 171s length (in 171s pixels). If 171s negative, the 171s value inferred 171s from the raw 171s frame header is 171s used (float; 171s default: -1.0) 171s uves_obs_scired.reduce.skysub: Do sky- 171s subtraction (only 171s applicable to 171s linear and 171s average 171s extractions)? 171s (bool; default: 171s True) 171s uves_obs_scired.reduce.objoffset: Offset (in 171s pixels) of 171s extraction slit 171s with respect to 171s center of order. 171s For optimal 171s extraction the 171s full slit is 171s offset. For 171s linear/average 171s extraction, 171s reduce.objoffset 171s is ignored if 171s reduce.objslit 171s [default -1.0] is 171s negative. In this 171s case the offset 171s is automatically 171s determined by 171s measuring the 171s actual object 171s position. (float; 171s default: 0.0) 171s uves_obs_scired.reduce.objslit: Object window 171s size (in pixels), 171s ignored for 171s optimal 171s extraction. The 171s value must be 171s smaller than the 171s total slit 171s length. If 171s negative, the 171s default value 171s (half of full 171s slit length) is 171s used. The upper 171s and lower sky 171s windows are 171s defined as the 171s part of the full 171s slit (if any) 171s outside the 171s object window. 171s The center of the 171s object window is 171s determined by the 171s offset parameter. 171s (float; default: 171s -1.0) 171s uves_obs_scired.reduce.tiltcorr: If enabled 171s (recommended), 171s the provided 171s dispersion 171s solutions 171s obtained at 171s different slit 171s positions are 171s interpolated 171s linearly at the 171s actually measured 171s position of the 171s object/sky. Line 171s tilt correction 171s is currently not 171s supported for 2d 171s extraction, in 171s which case the 171s dispersion 171s solution obtained 171s at the middle of 171s the slit is 171s always used. 171s (bool; default: 171s True) 171s uves_obs_scired.reduce.ffmethod: Flat-fielding 171s method. If set to 171s 'pixel', flat- 171s fielding is done 171s in pixel-pixel 171s space (before 171s extraction); if 171s set to 'extract', 171s flat- fielding is 171s performed in 171s pixel-order space 171s (i.e. after 171s extraction). If 171s set to 'no', no 171s flat-field 171s correction is 171s done, in which 171s case reduce.rebin 171s .scale should be 171s set to true to 171s ensure flux 171s conservation 171s (both for 171s response and 171s science data) 171s (str; default: 171s 'extract') 171s uves_obs_scired.reduce.merge: Order merging 171s method. If 171s 'optimal', the 171s flux in the 171s overlapping 171s region is set to 171s the (optimally 171s computed, using 171s the 171s uncertainties) 171s average of single 171s order spectra. If 171s 'sum', the flux 171s in the 171s overlapping 171s region is 171s computed as the 171s sum of the single 171s order spectra. If 171s 'noappend' the 171s spectrum is 171s simply rebinned 171s but not merged.If 171s flat-fielding is 171s done, method 171s 'optimal' is 171s recommended, 171s otherwise 'sum'. 171s (str; default: 171s 'optimal') 171s uves_obs_scired.reduce.merge_delt1: Order merging 171s left hand (short 171s wavelength) cut. 171s To reduce the 171s amount of order 171s overlapping 171s regions we allow 171s to cut short and 171s long wavelength 171s ranges. This may 171s reduce the ripple 171s possibly 171s introduced by the 171s order merging. 171s Suggested values 171s are: 10 (W<=390), 171s 12 (390 200 (int; 171s default: -1) 171s uves_obs_scired.reduce.extract.best: (optimal 171s extraction only) 171s If false 171s (fastest), the 171s spectrum is 171s extracted only 171s once. If true 171s (best), the 171s spectrum is 171s extracted twice, 171s the second time 171s using improved 171s variance 171s estimates based 171s on the first 171s iteration. Better 171s variance 171s estimates 171s slightly improve 171s the obtained 171s signal to noise 171s but at the cost 171s of increased 171s execution time 171s (bool; default: 171s True)[ INFO ] recipe id uves_cal_mkmaster 171s [ INFO ] Creation of trap not supported for recipe: 'flames_cal_mkmaster' 171s [ INFO ] recipe id flames_cal_mkmaster 171s [ INFO ] recipe id uves_cal_tflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] recipe id uves_cal_mkmaster 171s [ INFO ] Creation of trap not supported for recipe: 'flames_cal_mkmaster' 171s [ INFO ] recipe id flames_cal_mkmaster 171s [ INFO ] recipe id uves_cal_tflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] recipe id uves_cal_mkmaster 171s [ INFO ] Creation of trap not supported for recipe: 'flames_cal_mkmaster' 171s [ INFO ] recipe id flames_cal_mkmaster 171s [ INFO ] recipe id uves_cal_tflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s 171s Author: Jonas M. Larsen 171s 171s 171s Recipe uves_utl_ima_arith: 171s version 6.1.8 171s Parameters: {'op': '+', 'value': 9999.0} 171s Docstring: Computes result of ima1 op ima2 171s 171s This recipe performs image computation. The input files are 2 images 171s their associated tags should be RAW_IMA. The output is an image 171s resulting from the RAW_IMA op RAW_IMA where op indicates the operation 171s to be performed specified by the parameter uves.uves_utl_ima_arith.op 171s having alias 'op' Information on relevant parameters can be found with 171s esorex --params uves_utl_ima_arith esorex --help uves_utl_ima_arith 171s 171s Parameters: 171s op: A possible operation (str; default: '+') 171s value: a value (float; default: 9999.0) 171s Author: Andrea Modigliani 171s 171s 171s Recipe flames_cal_prep_sff_ofpos: 171s version 6.1.8 171s Parameters: {'debug': False, 'plotter': 'no', 'process_chip': 'both', 'ext_method': 'opt', 'bias_method': 'M', 'bias_value': 200, 'filter_switch': 'none', 'sat_thr': 55000, 'fileprep': True, 'cubify': True, 'save_flat_size': -1, 'clean_tmp_products': False} 171s Docstring: Determines order and fibre postions 171s 171s Fibre & order position determination procedure: You should feed the 171s recipe with: - even, odd, all fibre images (FIB_FF_EVEN_RED, 171s FIB_FF_ODD_RED, FIB_FF_ALL_RED) - single fibre images, 171s FIB_ORDEF_(REDL|REDU) - master bias frames, MASTER_BIAS_(REDL|REDU) - 171s master slit flatfield frames, MASTER_SFLAT_(REDL|REDU) - order guess 171s tables, FIB_ORD_GUE_(REDL|REDU). Products are: - Fibre order table 171s (FIB_ORDEF_TABLE_chip) - All fibre info table (FIB_FF_ALL_INFO_TAB) - 171s Odd fibre info table (FIB_FF_ODD_INFO_TAB) - Even fibre info table 171s (FIB_FF_EVEN_INFO_TAB) - Slit flatfield common (SLIT_FF_COM_chip) - 171s Slit flatfield norm (SLIT_FF_NOR_chip) - Slit flatfield data 171s (SLIT_FF_DTC_chip) - Slit flatfield sigma (SLIT_FF_SGC_chip) - Slit 171s flatfield bad pixel (SLIT_FF_BPC_chip) - Slit flatfield boundary 171s (SLIT_FF_BNC_chip) - Fibre flatfield common (FIB_FF_COM_chip) - Fibre 171s flatfield norm (FIB_FF_NOR_chip) - Fibre flatfield norm sigma 171s (FIB_FF_NSG_chip) chip=REDL and REDU 171s 171s Parameters: 171s debug: Whether or not to save intermediate results to 171s local directory (bool; default: False) 171s plotter: Any plots produced by the recipe are redirected 171s to the command specified by this parameter. The 171s plotting command must contain the substring 171s 'gnuplot' and must be able to parse gnuplot 171s syntax on its standard input. Valid examples of 171s such a command may include 'gnuplot -persist' and 171s 'cat > mygnuplot$$.gp'. A finer control of the 171s plotting options can be obtained by writing an 171s executable script, e.g. my_gnuplot.pl, that 171s executes gnuplot after setting the desired 171s gnuplot options (e.g. set terminal pslatex 171s color). To turn off plotting, set this parameter 171s to 'no' (str; default: 'no') 171s process_chip: For RED arm data process the redl, redu, or both 171s chip(s) (str; default: 'both') 171s ext_method: Extraction method (str; default: 'opt') 171s bias_method: Bias subtraction method, M for master bias frame, 171s N for no bias subtraction, V to subtract a 171s constant bias level defined by the parameter 171s bias_value (str; default: 'M') 171s bias_value: Bias value (only if bias_method = V) (int; 171s default: 200) 171s filter_switch: Filter switch (str; default: 'none') 171s sat_thr: Saturation threshold (int; default: 55000) 171s fileprep: Slitff* and Fibreff* file preparation. If fast 171s extraction method is used it should be set to 171s FALSE (bool; default: True) 171s cubify: Cubify switch (bool; default: True) 171s save_flat_size: To be sure to use the flat part of a slit 171s flatsone may need to subtract this bit. The 171s default value -1, is used for automatic setting: 171s if WCEN=520 save_flat_size=0, else 171s save_flat_size=2. Values explicitly set by user 171s overwrite this rule. (int; default: -1) 171s clean_tmp_products: Input data format (bool; default: False) 171s Author: Jonas M. Larsen 171s 171s 171s Recipe uves_cal_mflat: 171s version 6.1.8 171s Parameters: {'debug': False, 'plotter': 'no', 'process_chip': 'both', 'norm_method': 'explevel', 'backsub.mmethod': 'median', 'backsub.npoints': 82, 'backsub.radiusy': 2, 'backsub.sdegree': 1, 'backsub.smoothx': -1.0, 'backsub.smoothy': -1.0} 171s [ INFO ] recipe id uves_cal_mkmaster 171s [ INFO ] Creation of trap not supported for recipe: 'flames_cal_mkmaster' 171s [ INFO ] recipe id flames_cal_mkmaster 171s [ INFO ] recipe id uves_cal_tflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s Docstring: Creates the master flat field frame 171s 171s This recipe creates a master flat frame by 1) subtracting the master 171s bias frame from each flat field frame, 2) dividing each flat field 171s frame by the exposure time for that frame, 3) taking the median of 171s all bias subtracted, normalized raw flat frames, 4) optionally 171s subtracting the master dark frame, and 5) subtracting the background 171s to get the bias subtracted, optionally dark subtracted, normalized, 171s background subtracted master flat-field frame. Symbolically, 171s masterflat = median( (flat_i - masterbias)/exptime_i ) - 171s masterdark/exptime - background. The input flat field 171s frames must have same tag which must match 171s (I|D|S|T|SCREEN|)FLAT_(BLUE|RED), for example TFLAT_BLUE or FLAT_RED. 171s Also, a master bias (MASTER_BIAS_xxxx) and ordertable 171s (ORDER_TABLE_xxxx) must be provided for each chip (xxxx = BLUE, REDL, 171s REDU). A master dark frame (MASTER_(P)DARK_xxxx) may optionally be 171s provided. On blue input the recipe computes one master flat field 171s frame; on red input the recipe produces a master flat field frame for 171s each chip (MASTER_FLAT_xxxx, MASTER_IFLAT_xxxx, MASTER_DFLAT_xxxx, 171s MASTER_TFLAT_xxxx or MASTER_SCREEN_FLAT_xxxx). 171s 171s Parameters: 171s debug: Whether or not to save intermediate results to local 171s directory (bool; default: False) 171s plotter: Any plots produced by the recipe are redirected to 171s the command specified by this parameter. The 171s plotting command must contain the substring 171s 'gnuplot' and must be able to parse gnuplot syntax 171s on its standard input. Valid examples of such a 171s command may include 'gnuplot -persist' and 'cat > 171s mygnuplot$$.gp'. A finer control of the plotting 171s options can be obtained by writing an executable 171s script, e.g. my_gnuplot.pl, that executes gnuplot 171s after setting the desired gnuplot options (e.g. set 171s terminal pslatex color). To turn off plotting, set 171s this parameter to 'no' (str; default: 'no') 171s process_chip: For RED arm data process the redl, redu, or both 171s chip(s) (str; default: 'both') 171s norm_method: Method used to build master frame (str; default: 171s 'explevel') 171s backsub.mmethod: Background measuring method. If equal to 'median' 171s the background is sampled using the median of a 171s subwindow. If 'minimum', the subwindow minimum value 171s is used. If 'no', no background subtraction is done. 171s (str; default: 'median') 171s backsub.npoints: This is the number of columns in interorder space 171s used to sample the background. (int; default: 82) 171s backsub.radiusy: The height (in pixels) of the background sampling 171s window is (2*radiusy + 1). This parameter is not 171s corrected for binning. (int; default: 2) 171s backsub.sdegree: Degree of interpolating splines. Currently only 171s degree = 1 is supported (int; default: 1) 171s backsub.smoothx: If spline interpolation is used to measure the 171s background, the x-radius of the post-smoothing 171s window is (smoothx * image_width). Here, 171s 'image_width' is the image width after binning. If 171s negative, the default values are used: (25.0/4096) 171s for blue flat-field frames, (50.0/4096) for red 171s flat-field frames, (300.0/4096) for blue science 171s frames and (300.0/4096) for red science frames. 171s (float; default: -1.0) 171s backsub.smoothy: If spline interpolation is used to measure the 171s background, the y-radius of the post-smoothing 171s window is (smoothy * image_height). Here, 171s 'image_height' is the image height after binning. If 171s negative, the default values are used: (100.0/2048) 171s for blue flat-field frames, (300.0/2048) for red 171s flat-field frames, (200.0/2048) for blue science 171s frames and (500.0/2048) for red science frames. 171s (float; default: -1.0) 171s Author: Jonas M. Larsen 171s 171s 171s Recipe flames_cal_orderpos: 171s version 6.1.8 171s Parameters: {'debug': False, 'plotter': 'no', 'process_chip': 'both', 'use_guess_tab': 1, 'radx': 2, 'rady': 1, 'mmethod': 'median', 'backsubgrid': 50, 'backsubradiusy': 2, 'backsubkappa': 4.0, 'backsubdegx': 2, 'backsubdegy': 2, 'samplewidth': 50, 'minslope': 0.0, 'maxslope': 0.2, 'sloperes': 120, 'pthres': 0.2, 'tracestep': 10, 'minthresh': 0.2, 'maxgap': 0.2, 'maxrms': 100.0, 'defpol1': -1, 'defpol2': -1, 'kappa': 4.0} 171s [ INFO ] recipe id uves_cal_mkmaster 171s [ INFO ] Creation of trap not supported for recipe: 'flames_cal_mkmaster' 171s [ INFO ] recipe id flames_cal_mkmaster 171s [ INFO ] recipe id uves_cal_tflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s Docstring: Defines uves-echelle-simultaneous calibration fibre order positions 171s 171s The recipe defines the simultaneus calibration fibre order positions 171s in a fibre-echelle image. The orders are initially detected by means 171s of a Hough transformation, the orders are then traced, and the 171s positions are finally fitted with a global polynomial. Expected 171s input frames are simultaneous calibration fibre flat fields, 171s FIB_ORDEF_RED and optionally for each chip a DRS setup table, 171s DRS_TABLE_(REDL|REDU), for backward compatibility, and optionally a 171s guess order table FIB_ORD_GUE_(REDL|REDU) and a master bias, 171s MASTER_BIAS_(REDL|REDU). The recipe processes only the first raw frame 171s found. Output are two order tables FIB_ORD_TAB_(REDL|REDU) contaning 171s the columns: X : Position along x Order : 171s Relative order number Y : Order line centroid location 171s Yfit : The fitted order location dY : 171s Uncertainty of Y dYfit_Square : Variance of Yfit Residual 171s : Y - Yfit Residual_Square : Residual^2 OrderRMS : Root mean 171s squared residual of initial one-dimensional linear 171s fit of order The bivariate fit polynomial itself is stored in table 171s extension no. 2. The 3rd table extension contains a table that defines 171s the active fibre traces and their positions (for support of 171s FLAMES/UVES) and 2 images frames FIB_ORDEF_(REDL|REDU) 171s 171s Parameters: 171s debug: Whether or not to save intermediate results to local 171s directory (bool; default: False) 171s plotter: Any plots produced by the recipe are redirected to 171s the command specified by this parameter. The plotting 171s command must contain the substring 'gnuplot' and must 171s be able to parse gnuplot syntax on its standard 171s input. Valid examples of such a command may include 171s 'gnuplot -persist' and 'cat > mygnuplot$$.gp'. A 171s finer control of the plotting options can be obtained 171s by writing an executable script, e.g. my_gnuplot.pl, 171s that executes gnuplot after setting the desired 171s gnuplot options (e.g. set terminal pslatex color). To 171s turn off plotting, set this parameter to 'no' (str; 171s default: 'no') 171s process_chip: For RED arm data process the redl, redu, or both 171s chip(s) (str; default: 'both') 171s use_guess_tab: If a Guess order table is provided this parameter set 171s how it is used:0: No usage, 1: use it to set 171s lower/upper Y raws where order are searched 2: the 171s order table try to fully match the guess (int; 171s default: 1) 171s radx: Half X size of median filtering window (int; default: 171s 2) 171s rady: Half Y size of median filtering window (int; default: 171s 1) 171s mmethod: Background subtraction method. If equal to 'median' 171s the background is sampled using the median of a sub- 171s window. If 'minimum', the minimum sub-window value is 171s used. If 'no', no background subtraction is done. 171s (str; default: 'median') 171s backsubgrid: Number of grid points (in x- and y-direction) used to 171s estimate the background (mode=poly). (int; default: 171s 50) 171s backsubradiusy: The height (in pixels) of the background sampling 171s window is (2*radiusy + 1). This parameter is not 171s corrected for binning. (int; default: 2) 171s backsubkappa: The value of kappa in the one-sided kappa-sigma 171s clipping used to estimate the background (mode=poly). 171s (float; default: 4.0) 171s backsubdegx: Degree (in x) of polynomial used to estimate the 171s background (mode=poly). (int; default: 2) 171s backsubdegy: Degree (in y) of polynomial used to estimate the 171s background (mode=poly). (int; default: 2) 171s samplewidth: Separation of sample traces (used by Hough transform) 171s in input image (int; default: 50) 171s minslope: Minimum possible line slope. This should be the 171s 'physical' slope on the chip, i.e. not taking binning 171s factors into account, which is handled by the recipe 171s (float; default: 0.0) 171s maxslope: Maximum possible line slope (float; default: 0.2) 171s sloperes: Resolution (width in pixels) of Hough space (int; 171s default: 120) 171s pthres: In automatic mode, or if the number of orders to 171s detect is read from a guess table, the detection of 171s new lines stops when the intensity of a candidate 171s line drops to less than 'pthres' times the intensity 171s of the previous detection. (float; default: 0.2) 171s tracestep: The step size used when tracing the orders (int; 171s default: 10) 171s minthresh: The minimum threshold value is (min + minthres*(max - 171s min)). Here 'min' and 'max' are the lowest and 171s highest pixel values in the central bin of the order 171s (float; default: 0.2) 171s maxgap: If the order line drops below detection threshold, 171s the order tracing algorithm will try to jump a gap of 171s maximum size 'maxgap' multiplied by the image width 171s (float; default: 0.2) 171s maxrms: When fitting the orders with straight lines, this is 171s the maximum allowed RMS relative to the median RMS of 171s all orders (float; default: 100.0) 171s defpol1: The degree of the bivarite fit (cross dispersion 171s direction). If negative, the degree is optimized to 171s give the best fit (int; default: -1) 171s defpol2: The degree of the bivarite fit (order number). If 171s negative, the degree is optimized to give the best 171s fit (int; default: -1) 171s kappa: Used for kappa-sigma clipping of the final polynomial 171s fit. If negative, no clipping is done (float; 171s default: 4.0) 171s Author: Jonas M. Larsen 171s 171s 171s Recipe flames_cal_predict: 171s version 6.1.8 171s Parameters: {'debug': False, 'plotter': 'no', 'process_chip': 'both', 'mbox_x': 40, 'mbox_y': 40, 'trans_x': 0.0, 'trans_y': 0.0, 'ech_angle_off': 0.0, 'cd_angle_off': 0.0, 'ccd_rot_angle_off': 0.0, 'compute_regression_sw': True, 'def_pol1': 4, 'def_pol2': 5, 'kappa': 4.5, 'tol': 2.0} 171s [ INFO ] recipe id uves_cal_mkmaster 171s [ INFO ] Creation of trap not supported for recipe: 'flames_cal_mkmaster' 171s [ INFO ] recipe id flames_cal_mkmaster 171s [ INFO ] recipe id uves_cal_tflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] recipe id uves_cal_mkmaster 171s [ INFO ] Creation of trap not supported for recipe: 'flames_cal_mkmaster' 171s [ INFO ] recipe id flames_cal_mkmaster 171s [ INFO ] recipe id uves_cal_tflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s Docstring: Implements the UVES physical model 171s 171s This recipe implements the UVES physical model Input files are flames- 171s uves formatcheck frames identified by the tag FIB_ARC_LAMP_FORM_RED 171s and a ThAr line reference table identified by the tag 171s LINE_REFER_TABLE. Optional input are master bias frames identified by 171s the tag MASTER_BIAS_(REDL|REDU). The recipe extracts from the input 171s files FITS header data indicating the instrument setting and ambiental 171s atmospheric conditions, then using the model predicts X,Y position of 171s the lines listed in the LINE_REFER_TABLE table which are imaging on 171s the detector and stores this information in an guess order and a guess 171s line table. Output are a guess line table, FIB_LIN_GUE_(REDL|REDU), 171s and a guess order table, FIB_ORD_GUE_(REDL|REDU). If the user 171s provides in input also master format checks having tag 171s MASTER_FORM_(REDL|REDU), the recipe performs also a stability check 171s 171s Parameters: 171s debug: Whether or not to save intermediate results to 171s local directory (bool; default: False) 171s plotter: Any plots produced by the recipe are 171s redirected to the command specified by this 171s parameter. The plotting command must contain 171s the substring 'gnuplot' and must be able to 171s parse gnuplot syntax on its standard input. 171s Valid examples of such a command may include 171s 'gnuplot -persist' and 'cat > mygnuplot$$.gp'. 171s A finer control of the plotting options can be 171s obtained by writing an executable script, e.g. 171s my_gnuplot.pl, that executes gnuplot after 171s setting the desired gnuplot options (e.g. set 171s terminal pslatex color). To turn off plotting, 171s set this parameter to 'no' (str; default: 171s 'no') 171s process_chip: For RED arm data process the redl, redu, or 171s both chip(s) (str; default: 'both') 171s mbox_x: Match box X size (int; default: 40) 171s mbox_y: Match box Y size (int; default: 40) 171s trans_x: Detector translation along X (float; default: 171s 0.0) 171s trans_y: Detector translation along Y (float; default: 171s 0.0) 171s ech_angle_off: Offset on echelle angle (float; default: 0.0) 171s cd_angle_off: Offset on cross disperser angle (float; 171s default: 0.0) 171s ccd_rot_angle_off: Offset on CCD rotation angle (float; default: 171s 0.0) 171s compute_regression_sw: Compute regression? (bool; default: True) 171s def_pol1: Polynomial X deg (int; default: 4) 171s def_pol2: Polynomial Y deg (int; default: 5) 171s kappa: Kappa value in kappa sigma clipping on 171s RESIDUAL between YFIT and Y columns (float; 171s default: 4.5) 171s tol: Tolerance in kappa sigma clipping on RESIDUAL 171s between YFIT and Y columns (float; default: 171s 2.0) 171s Author: Andrea Modigliani 171s 171s 171s Recipe uves_cal_mbias: 171s version 6.1.8 171s Parameters: {'debug': False, 'plotter': 'no', 'process_chip': 'both', 'clean_traps': False, 'stack_method': 'median', 'klow': 5.0, 'khigh': 5.0, 'niter': 5, 'pd_compute': False, 'dc_mask_x': 1, 'dc_mask_y': 1} 171s Docstring: Creates the master bias frame 171s 171s This recipe creates a master bias frame by computing the median of all 171s input bias frames. All input frames must have same tag and size and 171s must be either BIAS_BLUE or BIAS_RED. On blue input the recipe 171s computes one master bias frame; on red input a master bias frame for 171s each chip is produced. The average, standard deviation and median of 171s the master bias image(s) are written to the FITS header(s) 171s 171s Parameters: 171s debug: Whether or not to save intermediate results to local 171s directory (bool; default: False) 171s plotter: Any plots produced by the recipe are redirected to the 171s command specified by this parameter. The plotting 171s command must contain the substring 'gnuplot' and must 171s be able to parse gnuplot syntax on its standard input. 171s Valid examples of such a command may include 'gnuplot 171s -persist' and 'cat > mygnuplot$$.gp'. A finer control 171s of the plotting options can be obtained by writing an 171s executable script, e.g. my_gnuplot.pl, that executes 171s gnuplot after setting the desired gnuplot options (e.g. 171s set terminal pslatex color). To turn off plotting, set 171s this parameter to 'no' (str; default: 'no') 171s process_chip: For RED arm data process the redl, redu, or both 171s chip(s) (str; default: 'both') 171s clean_traps: Clean detector traps. If TRUE detector traps are 171s interpolated.The bad pixels are replaced by the average 171s of thenearest good pixels in the same column, or simply 171s marked as bad. The positions of bad pixels are hard- 171s coded (as function of UVES chip). (bool; default: 171s False) 171s stack_method: Method used to build master frame (str; default: 171s 'median') 171s klow: Kappa used to clip low level values, when method is set 171s to 'mean' (float; default: 5.0) 171s khigh: Kappa used to clip high level values, when method is 171s set to 'mean' (float; default: 5.0) 171s niter: Number of kappa sigma iterations, when method is set to 171s 'mean' (int; default: 5) 171s pd_compute: Determine Fixed Pattern Noise. If TRUE the Fixed Patter 171s Noise power spectrum is determined.(as function of UVES 171s chip). (bool; default: False) 171s dc_mask_x: x-size (pixel) of the mask starting at (x,y) = (1,1) 171s (int; default: 1) 171s dc_mask_y: y-size (pixel) of the mask starting at (x,y) = (1,1) 171s (int; default: 1) 171s Author: Jonas M. Larsen 171s 171s 171s Recipe uves_cal_orderpos: 171s version 6.1.8 171s Parameters: {'debug': False, 'plotter': 'no', 'process_chip': 'both', 'use_guess_tab': 1, 'radx': 2, 'rady': 1, 'mmethod': 'median', 'backsubgrid': 50, 'backsubradiusy': 2, 'backsubkappa': 4.0, 'backsubdegx': 2, 'backsubdegy': 2, 'samplewidth': 50, 'minslope': 0.0, 'maxslope': 0.2, 'sloperes': 120, 'pthres': 0.2, 'tracestep': 10, 'minthresh': 0.2, 'maxgap': 0.2, 'maxrms': 100.0, 'defpol1': -1, 'defpol2': -1, 'kappa': 4.0} 171s [ INFO ] recipe id uves_cal_mkmaster 171s [ INFO ] Creation of trap not supported for recipe: 'flames_cal_mkmaster' 171s [ INFO ] recipe id flames_cal_mkmaster 171s [ INFO ] recipe id uves_cal_tflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s Docstring: Defines echelle order positions 171s 171s The recipe defines the order positions in an echelle image. The orders 171s are initially detected by means of a Hough transformation, the orders 171s are then traced, and the positions are finally fitted with a global 171s polynomial. Expected input frames are narrow flat fields, 171s ORDER_FLAT_xxx, or standard stars, STANDARD_xxx, where xxx is 'BLUE' 171s or 'RED', and optionally for each chip a DRS setup table 171s (DRS_TABLE_BLUE, DRS_TABLE_REDL, DRS_TABLE_REDU) or guess order table 171s (ORDER_GUESS_TAB_BLUE, ORDER_GUESS_TAB_REDL, ORDER_GUESS_TAB_REDU, 171s or, for backward compatibility, ORDER_TABLE_BLUE, ORDER_TABLE_REDL, 171s ORDER_TABLE_REDU). The recipe processes only the first raw frame 171s found. Output is one (or two if input is a red frame) order table(s) 171s (UVES: ORDER_TABLE_(BLUE|REDL|REDU); FLAMES: FIB_ORDEF_(REDL|REDU) 171s contaning the columns: X : Position along x Order 171s : Relative order number Y : Order line centroid 171s location Yfit : The fitted order location dY 171s : Uncertainty of Y dYfit_Square : Variance of Yfit Residual 171s : Y - Yfit Residual_Square : Residual^2 OrderRMS : Root mean 171s squared residual of initial one-dimensional linear 171s fit of order The bivariate fit polynomial itself is stored in table 171s extension no. 2. The 3rd table extension contains a table that defines 171s the active fibre traces and their positions (for support of 171s FLAMES/UVES) 171s 171s Parameters: 171s debug: Whether or not to save intermediate results to local 171s directory (bool; default: False) 171s plotter: Any plots produced by the recipe are redirected to 171s the command specified by this parameter. The plotting 171s command must contain the substring 'gnuplot' and must 171s be able to parse gnuplot syntax on its standard 171s input. Valid examples of such a command may include 171s 'gnuplot -persist' and 'cat > mygnuplot$$.gp'. A 171s finer control of the plotting options can be obtained 171s by writing an executable script, e.g. my_gnuplot.pl, 171s that executes gnuplot after setting the desired 171s gnuplot options (e.g. set terminal pslatex color). To 171s turn off plotting, set this parameter to 'no' (str; 171s default: 'no') 171s process_chip: For RED arm data process the redl, redu, or both 171s chip(s) (str; default: 'both') 171s use_guess_tab: If a Guess order table is provided this parameter set 171s how it is used:0: No usage, 1: use it to set 171s lower/upper Y raws where order are searched 2: the 171s order table try to fully match the guess (int; 171s default: 1) 171s radx: Half X size of median filtering window (int; default: 171s 2) 171s rady: Half Y size of median filtering window (int; default: 171s 1) 171s mmethod: Background subtraction method. If equal to 'median' 171s the background is sampled using the median of a sub- 171s window. If 'minimum', the minimum sub-window value is 171s used. If 'no', no background subtraction is done. 171s (str; default: 'median') 171s backsubgrid: Number of grid points (in x- and y-direction) used to 171s estimate the background (mode=poly). (int; default: 171s 50) 171s backsubradiusy: The height (in pixels) of the background sampling 171s window is (2*radiusy + 1). This parameter is not 171s corrected for binning. (int; default: 2) 171s backsubkappa: The value of kappa in the one-sided kappa-sigma 171s clipping used to estimate the background (mode=poly). 171s (float; default: 4.0) 171s backsubdegx: Degree (in x) of polynomial used to estimate the 171s background (mode=poly). (int; default: 2) 171s backsubdegy: Degree (in y) of polynomial used to estimate the 171s background (mode=poly). (int; default: 2) 171s samplewidth: Separation of sample traces (used by Hough transform) 171s in input image (int; default: 50) 171s minslope: Minimum possible line slope. This should be the 171s 'physical' slope on the chip, i.e. not taking binning 171s factors into account, which is handled by the recipe 171s (float; default: 0.0) 171s maxslope: Maximum possible line slope (float; default: 0.2) 171s sloperes: Resolution (width in pixels) of Hough space (int; 171s default: 120) 171s pthres: In automatic mode, or if the number of orders to 171s detect is read from a guess table, the detection of 171s new lines stops when the intensity of a candidate 171s line drops to less than 'pthres' times the intensity 171s of the previous detection. (float; default: 0.2) 171s tracestep: The step size used when tracing the orders (int; 171s default: 10) 171s minthresh: The minimum threshold value is (min + minthres*(max - 171s min)). Here 'min' and 'max' are the lowest and 171s highest pixel values in the central bin of the order 171s (float; default: 0.2) 171s maxgap: If the order line drops below detection threshold, 171s the order tracing algorithm will try to jump a gap of 171s maximum size 'maxgap' multiplied by the image width 171s (float; default: 0.2) 171s maxrms: When fitting the orders with straight lines, this is 171s the maximum allowed RMS relative to the median RMS of 171s all orders (float; default: 100.0) 171s defpol1: The degree of the bivarite fit (cross dispersion 171s direction). If negative, the degree is optimized to 171s give the best fit (int; default: -1) 171s defpol2: The degree of the bivarite fit (order number). If 171s negative, the degree is optimized to give the best 171s fit (int; default: -1) 171s kappa: Used for kappa-sigma clipping of the final polynomial 171s fit. If negative, no clipping is done (float; 171s default: 4.0) 171s Author: Jonas M. Larsen 171s 171s 171s Recipe uves_cal_wavecal: 171s version 6.1.8 171s Parameters: {'debug': False, 'plotter': 'no', 'process_chip': 'both', 'nwindows': 3, 'length': -1.0, 'offset': 0.0, 'range': 8, 'minlines': 0, 'maxlines': 0, 'shiftmax': 10.0, 'shiftstep': 0.1, 'shifttoler': 0.05, 'alpha': 0.1, 'maxerror': 20.0, 'degree': 4, 'tolerance': 0.6, 'kappa': 4.0, 'rebin.wavestep': -1.0, 'rebin.wavestep_redu': -1.0, 'rebin.scale': False, 'extract.method': 'average', 'extract.kappa': 10.0, 'extract.chunk': 32, 'extract.profile': 'auto', 'extract.skymethod': 'optimal', 'extract.oversample': -1, 'extract.best': True} 171s Docstring: Performs the wavelength calibration 171s 171s The recipe performs a wavelength calibration for each extraction 171s window. Conceptually, each chip contains a number of order lines, each 171s of which contains a number of fibre traces, each of which contains a 171s number of extraction windows. For UVES data, there is only one trace 171s per order and three extraction windows (sky, object, sky). For 171s FLAMES/UVES data there are multiple traces per order but only one 171s extraction window per trace. The number of traces is defined in the 171s order table while the geometry of the extraction windows is specified 171s by recipe parameters (see below). Expected input for this recipe is 171s an arc lamp frame, ARC_LAMP_xxx or ECH_ARC_LAMP_xxx (where xxx=BLUE, 171s RED), order table(s) for each chip, ORDER_TABLE_xxxx (where xxxx=BLUE, 171s REDL, REDU), 'guess' line table(s) for each chip, LINE_TABLE_xxxx, a 171s wavelength catalogue table, LINE_REFER_TABLE, and optionally a 171s wavelength table of bright lines, LINE_INTMON_TABLE, used only for 171s computing Quality Control parameters. The output line table(s), 171s LINE_TABLE_xxxx, contains the columns X : Horizontal 171s position (from Gaussian fit) of detected line dX : 171s Uncertainty (one sigma) of X Ynew : Vertical position of 171s detected line XWidth : Width (in pixels) of detected line from 171s Gaussian fit Peak : Intensity of detected line Background : 171s Fitted background (ADU) of detected line Slope : Linear 171s background slope (ADU/pixel) of detected line from 171s Gaussian fit Intensity : Intensity of detected line scaled to unit 171s exposure time. (This column only present if a 171s LINE_INTMON_TABLE is provided.) Order : Absolute 171s order number of detected line Y : Relative order number of 171s detected line (it's not a very descriptive column name) 171s WaveC : Wavelength of this line (computed using the resulting 171s dispersion relation) dLambdaC : Uncertainty (one sigma) of 171s 'WaveC'. Pixel : The width in w.l.u. of a pixel (computed 171s locally). Residual : Residual (in w.l.u.) of this line 171s Residual_pix : Residual (in pixels) of this line Lambda_candidate : 171s Nearest line in catalogue dLambda_cat_sq : Squared distance to 171s nearest catalogue line dLambda_nn_sq : Squared distance to nearest 171s neighbour multiplied by ALPHA Ident : The wavelength associated 171s with this emission line, or invalid if this line was 171s not identified dIdent : Uncertainty of catalogue wavelength 171s Select : 1 if the line was identified, 0 otherwise NLinSol 171s : 1 if the line was identified and accepted for the 171s polynomial fit, 0 otherwise Intensity : Intensity of detected line 171s scaled to unit exposure time. (This column is present 171s only if a LINE_INTMON_TABLE is provided.) The 2nd 171s table extension contains the dispersion relation (a 2d polynomial). 171s The 3rd table extension contains the map from (pixel, pixel)-space to 171s physical order numbers (used internally by the calibration recipe; 171s another 2d polynomial). If there is more than one extraction window, 171s the results of each calibration is stored in subsequent table 171s extensions of the same FITS file. For example, extensions 4, 5 and 6 171s would contain the resulting line table (and its two associated 171s polynomials) for the second extraction window. The results for the 171s calibration of the n'th extraction window is stored in extensions 171s (3*n - 2) to 3*n. 171s 171s Parameters: 171s debug: Whether or not to save intermediate results to 171s local directory (bool; default: False) 171s plotter: Any plots produced by the recipe are redirected 171s to the command specified by this parameter. The 171s plotting command must contain the substring 171s 'gnuplot' and must be able to parse gnuplot 171s syntax on its standard input. Valid examples of 171s such a command may include 'gnuplot -persist' 171s and 'cat > mygnuplot$$.gp'. A finer control of 171s the plotting options can be obtained by writing 171s an executable script, e.g. my_gnuplot.pl, that 171s executes gnuplot after setting the desired 171s gnuplot options (e.g. set terminal pslatex 171s color). To turn off plotting, set this parameter 171s to 'no' (str; default: 'no') 171s process_chip: For RED arm data process the redl, redu, or both 171s chip(s) (str; default: 'both') 171s nwindows: Number of extraction windows per trace. The 171s windows will be aligned (i.e. no overlap and no 171s spacing between adjacent windows). Unless an 171s offset is specified, the middle window(s) is 171s centered on the trace (int; default: 3) 171s length: Length (in pixels) of each extraction window. 171s This parameter is also equal to the seperation 171s of adjacent window centers, causing the 171s extraction windows to always be aligned. The 171s parameter is automatically adjusted according to 171s the binning of the input raw frame. If negative, 171s the extraction window length is determined 171s automatically to cover the full slit (float; 171s default: -1.0) 171s offset: A global offset (in pixels) of all extraction 171s windows (float; default: 0.0) 171s range: Width (pix) of search window is 2*range + 1. 171s This parameter is automatically adjusted 171s according to binning. (int; default: 8) 171s minlines: Minimum number of lines to detect. If zero, the 171s default value (1100 for BLUE/REDL chips; 1000 171s for REDU chip) is used. (int; default: 0) 171s maxlines: Maximum number of lines to detect. If zero, the 171s default value (1600 for BLUE/REDL chip; 1400 for 171s REDU chip) is used. (int; default: 0) 171s shiftmax: The maximum shift (pix) in either direction 171s compared to guess solution. This parameter is 171s automatically corrected for binning (float; 171s default: 10.0) 171s shiftstep: The step size (pix) used when searching for the 171s optimum shift. This parameter is automatically 171s corrected for binning (float; default: 0.1) 171s shifttoler: Tolerance (pix) when matching shifted lines. 171s This parameter is not adjusted according to 171s binning (float; default: 0.05) 171s alpha: The parameter that controls the distance to the 171s nearest neighbours (float; default: 0.1) 171s maxerror: This parameter controls the graceful exit of the 171s identification loop. If the RMS of the global 171s fit exceeds this value (pix) the iteration stops 171s (float; default: 20.0) 171s degree: Degrees of the global 2d dispersion polynomial. 171s If a negative number is specified, the 171s polynomial degrees are automatically selected by 171s starting from (1, 1) and inreasing the degrees 171s as long as the RMS residual decreases 171s significantly (int; default: 4) 171s tolerance: Tolerance of fit. If positive, the tolerance is 171s in pixel units. If negative, abs(tolerance) is 171s in wavelength units. Lines with residuals worse 171s than the tolerance are excluded from the final 171s fit. Unlike in previous versions, this parameter 171s is not corrected for CCD binning. This rejection 171s based on the absolute residual in pixel can be 171s effectively disabled by setting the tolerance to 171s a very large number (e.g. 9999). In that case 171s outliers will be rejected using only kappa sigma 171s clipping. (float; default: 0.6) 171s kappa: Lines with residuals more then kappa stdev are 171s rejected from the final fit (float; default: 171s 4.0) 171s rebin.wavestep: The bin size used for BLUE/REDL data (in w.l.u.) 171s in wavelength space. If negative, a step size of 171s 2/3 * ( average pixel size ) is used. (float; 171s default: -1.0) 171s rebin.wavestep_redu: The bin size used for REDU data (in w.l.u.) in 171s wavelength space. If negative, a step size of 171s 2/3 * ( average pixel size ) is used. (float; 171s default: -1.0) 171s rebin.scale: Whether or not to multiply by the factor 171s dx/dlambda (pixels per wavelength) during the 171s rebinning to conserve the flux. This option is 171s disabled as default because applying the flat 171s field correction already ensures flux 171s conservation. Therefore this parameter should be 171s TRUE (for response and science data) only if 171s reduce.ffmethd = no. (bool; default: False) 171s extract.method: Extraction method. (2d/optimal not supported by 171s uves_cal_wavecal, weighted supported only by 171s uves_cal_wavecal, 2d not supported by 171s uves_cal_response) (str; default: 'average') 171s extract.kappa: In optimal extraction mode, this is the 171s threshold for bad (i.e. hot/cold) pixel 171s rejection. If a pixel deviates more than 171s kappa*sigma (where sigma is the uncertainty of 171s the pixel flux) from the inferred spatial 171s profile, its weight is set to zero. Range: 171s [-1,100]. If this parameter is negative, no 171s rejection is performed. (float; default: 10.0) 171s extract.chunk: In optimal extraction mode, the chunk size (in 171s pixels) used for fitting the analytical profile 171s (a fit of the analytical profile to single bins 171s would suffer from low statistics). (int; 171s default: 32) 171s extract.profile: In optimal extraction mode, the kind of profile 171s to use. 'gauss' gives a Gaussian profile, 171s 'moffat' gives a Moffat profile with beta=4 and 171s a possible linear sky contribution. 'virtual' 171s uses a virtual resampling algorithm (i.e. 171s measures and uses the actual object profile). 171s 'constant' assumes a constant spatial profile 171s and allows optimal extraction of wavelength 171s calibration frames. 'auto' will automatically 171s select the best method based on the estimated 171s S/N of the object. For low S/N, 'moffat' or 171s 'gauss' are recommended (for robustness). For 171s high S/N, 'virtual' is recommended (for 171s accuracy). In the case of virtual resampling, a 171s precise determination of the order positions is 171s required; therefore the order-definition is 171s repeated using the (assumed non-low S/N) science 171s frame (str; default: 'auto') 171s extract.skymethod: In optimal extraction mode, the sky subtraction 171s method to use. 'median' estimates the sky as the 171s median of pixels along the slit (ignoring pixels 171s close to the object), whereas 'optimal' does a 171s chi square minimization along the slit to obtain 171s the best combined object and sky levels. The 171s optimal method gives the most accurate sky 171s determination but is also a bit slower than the 171s median method (str; default: 'optimal') 171s extract.oversample: The oversampling factor used for the virtual 171s resampling algorithm. If negative, the value 5 171s is used for S/N <=200, and the value 10 is used 171s if the estimated S/N is > 200 (int; default: -1) 171s extract.best: (optimal extraction only) If false (fastest), 171s the spectrum is extracted only once. If true 171s (best), the spectrum is extracted twice, the 171s second time using improved variance estimates 171s based on the first iteration. Better variance 171s estimates slightly improve the obtained signal 171s to noise but at the cost of increased execution 171s time (bool; default: True)[ INFO ] recipe id uves_cal_mkmaster 171s [ INFO ] Creation of trap not supported for recipe: 'flames_cal_mkmaster' 171s [ INFO ] recipe id flames_cal_mkmaster 171s [ INFO ] recipe id uves_cal_tflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s 171s Author: Jonas M. Larsen 171s 171s 171s Recipe uves_cal_response: 171s version 6.1.8 171s Parameters: {'debug': False, 'plotter': 'no', 'process_chip': 'both', 'paccuracy': 60.0, 'reduce.slitlength': -1.0, 'reduce.skysub': True, 'reduce.objoffset': 0.0, 'reduce.objslit': -1.0, 'reduce.tiltcorr': True, 'reduce.ffmethod': 'extract', 'reduce.merge': 'optimal', 'reduce.merge_delt1': 0.0, 'reduce.merge_delt2': 0.0, 'reduce.backsub.mmethod': 'median', 'reduce.backsub.npoints': 82, 'reduce.backsub.radiusy': 2, 'reduce.backsub.sdegree': 1, 'reduce.backsub.smoothx': -1.0, 'reduce.backsub.smoothy': -1.0, 'reduce.rebin.wavestep': -1.0, 'reduce.rebin.wavestep_redu': -1.0, 'reduce.rebin.scale': False, 'reduce.extract.method': 'optimal', 'reduce.extract.kappa': 10.0, 'reduce.extract.chunk': 32, 'reduce.extract.profile': 'auto', 'reduce.extract.skymethod': 'optimal', 'reduce.extract.oversample': -1, 'reduce.extract.best': True, 'efficiency.reduce.ffmethod': 'no', 'efficiency.reduce.merge': 'sum', 'efficiency.reduce.best': True, 'efficiency.reduce.extract.method': 'linear'} 171s Docstring: Determines response function and quantum efficiency 171s 171s This recipe reduces a standard star frame (STANDARD_xxx or 171s STANDARD_xxx, where xxx = BLUE, RED) using a combination (depending on 171s recipe parameters and provided input frames) of the steps: - bias 171s subtraction, - dark subtraction, - background subtraction, - 171s extraction/cosmic ray removal, - flat-field correction, - 171s wavelength rebinning, - sky subtraction, - order merging. 171s Expected input for this recipe is an raw std star frame, STANDARD_xxx 171s or order table(s) for each chip, ORDER_TABLE_xxxx (where xxxx=BLUE, 171s REDL, REDU), line table(s) for each chip, LINE_TABLE_xxxx, a master 171s bias frame, MASTER_BIAS_xxxx, a master flat, MASTER_FLAT_xxxx, a 171s reference standard star flux table, FLUX_STD_TABLE, a table describing 171s the atmospheric extintion, EXTCOEFF_TABLE, and the catalog indicating 171s points to fit the response, RESP_FIT_POINTS_CATALOG. Two reductions 171s are performed, the first using optimal extraction (used to compute the 171s instrument response function), the second using linear extraction 171s (used to get the Quantum Detection Efficiency) For each chip (xxxx = 171s BLUE, REDL, REDU) the recipe produces INSTR_RESPONSE_FINE_xxxx 171s Response curve RED_STD_xxxx Reduced spectrum 171s EFFICIENCY_TABLE_xxxx Efficiency table BKG_STD_xxxx 171s The subtracted background 171s 171s Parameters: 171s debug: Whether or not to save intermediate 171s results to local directory (bool; 171s default: False) 171s plotter: Any plots produced by the recipe 171s are redirected to the command 171s specified by this parameter. The 171s plotting command must contain the 171s substring 'gnuplot' and must be 171s able to parse gnuplot syntax on its 171s standard input. Valid examples of 171s such a command may include 'gnuplot 171s -persist' and 'cat > 171s mygnuplot$$.gp'. A finer control of 171s the plotting options can be 171s obtained by writing an executable 171s script, e.g. my_gnuplot.pl, that 171s executes gnuplot after setting the 171s desired gnuplot options (e.g. set 171s terminal pslatex color). To turn 171s off plotting, set this parameter to 171s 'no' (str; default: 'no') 171s process_chip: For RED arm data process the redl, 171s redu, or both chip(s) (str; 171s default: 'both') 171s paccuracy: The pointing accuracy (in 171s arcseconds) used to identify the 171s observed star with a catalogue 171s star. If the angular separation is 171s less than this number, the 171s identification is made. (float; 171s default: 60.0) 171s reduce.slitlength: Extraction slit length (in pixels). 171s If negative, the value inferred 171s from the raw frame header is used 171s (float; default: -1.0) 171s reduce.skysub: Do sky-subtraction (only applicable 171s to linear and average extractions)? 171s (bool; default: True) 171s reduce.objoffset: Offset (in pixels) of extraction 171s slit with respect to center of 171s order. For optimal extraction the 171s full slit is offset. For 171s linear/average extraction, 171s reduce.objoffset is ignored if 171s reduce.objslit [default -1.0] is 171s negative. In this case the offset 171s is automatically determined by 171s measuring the actual object 171s position. (float; default: 0.0) 171s reduce.objslit: Object window size (in pixels), 171s ignored for optimal extraction. The 171s value must be smaller than the 171s total slit length. If negative, the 171s default value (half of full slit 171s length) is used. The upper and 171s lower sky windows are defined as 171s the part of the full slit (if any) 171s outside the object window. The 171s center of the object window is 171s determined by the offset parameter. 171s (float; default: -1.0) 171s reduce.tiltcorr: If enabled (recommended), the 171s provided dispersion solutions 171s obtained at different slit 171s positions are interpolated linearly 171s at the actually measured position 171s of the object/sky. Line tilt 171s correction is currently not 171s supported for 2d extraction, in 171s which case the dispersion solution 171s obtained at the middle of the slit 171s is always used. (bool; default: 171s True) 171s reduce.ffmethod: Flat-fielding method. If set to 171s 'pixel', flat-fielding is done in 171s pixel-pixel space (before 171s extraction); if set to 'extract', 171s flat- fielding is performed in 171s pixel-order space (i.e. after 171s extraction). If set to 'no', no 171s flat-field correction is done, in 171s which case reduce.rebin.scale 171s should be set to true to ensure 171s flux conservation (both for 171s response and science data) (str; 171s default: 'extract') 171s reduce.merge: Order merging method. If 'optimal', 171s the flux in the overlapping region 171s is set to the (optimally computed, 171s using the uncertainties) average of 171s single order spectra. If 'sum', the 171s flux in the overlapping region is 171s computed as the sum of the single 171s order spectra. If 'noappend' the 171s spectrum is simply rebinned but not 171s merged.If flat-fielding is done, 171s method 'optimal' is recommended, 171s otherwise 'sum'. (str; default: 171s 'optimal') 171s reduce.merge_delt1: Order merging left hand (short 171s wavelength) cut. To reduce the 171s amount of order overlapping regions 171s we allow to cut short and long 171s wavelength ranges. This may reduce 171s the ripple possibly introduced by 171s the order merging. Suggested values 171s are: 10 (W<=390), 12 (390 200 171s (int; default: -1) 171s reduce.extract.best: (optimal extraction only) If false 171s (fastest), the spectrum is 171s extracted only once. If true 171s (best), the spectrum is extracted 171s twice, the second time using 171s improved variance estimates based 171s on the first iteration. Better 171s variance estimates slightly improve 171s the obtained signal to noise but at 171s the cost of increased execution 171s time (bool; default: True) 171s efficiency.reduce.ffmethod: Flat-fielding method. If set to 171s 'pixel', flat-fielding is done in 171s pixel-pixel space (before 171s extraction); if set to 'extract', 171s flat- fielding is performed in 171s pixel-order space (i.e. after 171s extraction). If set to 'no', no 171s flat-field correction is done, in 171s which case reduce.rebin.scale 171s should be set to true to ensure 171s flux conservation (both for 171s response and science data). (str; default: 171s 'no') 171s efficiency.reduce.merge: Order merging method. If 'optimal', 171s the flux in the overlapping region 171s is set to the (optimally computed, 171s using the uncertainties) average of 171s single order spectra. If 'sum', the 171s flux in the overlapping region is 171s computed as the sum of the single 171s order spectra.If 'noappend' the 171s spectrum is simply rebinned but not 171s merged.If flat-fielding is done, 171s method 'optimal' is recommended, 171s otherwise 'sum'. (str; default: 'sum') 171s efficiency.reduce.best: (optimal extraction only) If false 171s (fastest), the spectrum is 171s extracted only once. If true 171s (best), the spectrum is extracted 171s twice, the second time using 171s improved variance estimates based 171s on the first iteration. Better 171s variance estimates slightly improve 171s the obtained signal to noise but at 171s the cost of increased execution 171s time (bool; default: True) 171s efficiency.reduce.extract.method: Extraction method. (str; 171s default: 'linear')[ INFO ] recipe id uves_cal_mkmaster 171s [ INFO ] Creation of trap not supported for recipe: 'flames_cal_mkmaster' 171s [ INFO ] recipe id flames_cal_mkmaster 171s [ INFO ] recipe id uves_cal_tflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s [ INFO ] Creation of trap not supported for recipe: 'uves_cal_mflat' 171s [ INFO ] recipe id uves_cal_mflat 171s 171s Author: Jonas M. Larsen 171s 171s 171s Recipe flames_obs_redchain: 171s version 6.1.8 171s Parameters: {'scired': True, 'debug': False, 'plotter': 'no', 'process_chip': 'both', 'flames_cal_orderpos.use_guess_tab': 1, 'flames_cal_orderpos.radx': 2, 'flames_cal_orderpos.rady': 1, 'flames_cal_orderpos.mmethod': 'median', 'flames_cal_orderpos.backsubgrid': 50, 'flames_cal_orderpos.backsubradiusy': 2, 'flames_cal_orderpos.backsubkappa': 4.0, 'flames_cal_orderpos.backsubdegx': 2, 'flames_cal_orderpos.backsubdegy': 2, 'flames_cal_orderpos.samplewidth': 50, 'flames_cal_orderpos.minslope': 0.0, 'flames_cal_orderpos.maxslope': 0.2, 'flames_cal_orderpos.sloperes': 120, 'flames_cal_orderpos.pthres': 0.2, 'flames_cal_orderpos.tracestep': 10, 'flames_cal_orderpos.minthresh': 0.2, 'flames_cal_orderpos.maxgap': 0.2, 'flames_cal_orderpos.maxrms': 100.0, 'flames_cal_orderpos.defpol1': -1, 'flames_cal_orderpos.defpol2': -1, 'flames_cal_orderpos.kappa': 4.0, 'flames_cal_wavecal.nwindows': 1, 'flames_cal_wavecal.length': 7.0, 'flames_cal_wavecal.offset': 0.0, 'flames_cal_wavecal.range': 8, 'flames_cal_wavecal.minlines': 0, 'flames_cal_wavecal.maxlines': 0, 'flames_cal_wavecal.shiftmax': 10.0, 'flames_cal_wavecal.shiftstep': 0.1, 'flames_cal_wavecal.shifttoler': 0.05, 'flames_cal_wavecal.alpha': 0.1, 'flames_cal_wavecal.maxerror': 20.0, 'flames_cal_wavecal.degree': 4, 'flames_cal_wavecal.tolerance': 0.6, 'flames_cal_wavecal.kappa': 4.0, 'flames_cal_wavecal.extract.method': 'average', 'flames_cal_wavecal.extract.kappa': 10.0, 'flames_cal_wavecal.extract.chunk': 32, 'flames_cal_wavecal.extract.profile': 'auto', 'flames_cal_wavecal.extract.skymethod': 'optimal', 'flames_cal_wavecal.extract.oversample': -1, 'flames_cal_wavecal.extract.best': True, 'flames_cal_wavecal.rebin.wavestep': -1.0, 'flames_cal_wavecal.rebin.wavestep_redu': -1.0, 'flames_cal_wavecal.rebin.scale': False, 'uves_cal_mflat.norm_method': 'explevel', 'uves_cal_mflat.backsub.mmethod': 'median', 'uves_cal_mflat.backsub.npoints': 82, 'uves_cal_mflat.backsub.radiusy': 2, 'uves_cal_mflat.backsub.sdegree': 1, 'uves_cal_mflat.backsub.smoothx': -1.0, 'uves_cal_mflat.backsub.smoothy': -1.0, 'flames_cal_prep_sff_ofpos.ext_method': 'opt', 'flames_cal_prep_sff_ofpos.bias_method': 'M', 'flames_cal_prep_sff_ofpos.bias_value': 200, 'flames_cal_prep_sff_ofpos.filter_switch': 'none', 'flames_cal_prep_sff_ofpos.sat_thr': 55000, 'flames_cal_prep_sff_ofpos.fileprep': True, 'flames_cal_prep_sff_ofpos.cubify': True, 'flames_cal_prep_sff_ofpos.save_flat_size': -1, 'flames_cal_prep_sff_ofpos.clean_tmp_products': False, 'flames_cal_predict.mbox_x': 40, 'flames_cal_predict.mbox_y': 40, 'flames_cal_predict.trans_x': 0.0, 'flames_cal_predict.trans_y': 0.0, 'flames_cal_predict.ech_angle_off': 0.0, 'flames_cal_predict.cd_angle_off': 0.0, 'flames_cal_predict.ccd_rot_angle_off': 0.0, 'flames_cal_predict.compute_regression_sw': True, 'flames_cal_predict.def_pol1': 4, 'flames_cal_predict.def_pol2': 5, 'flames_cal_predict.kappa': 4.5, 'flames_cal_predict.tol': 2.0, 'uves_cal_mdark.stack_method': 'median', 'uves_cal_mdark.klow': 5.0, 'uves_cal_mdark.khigh': 5.0, 'uves_cal_mdark.niter': 5, 'uves_cal_mdark.qc_dark.reg.num_x': 4, 'uves_cal_mdark.qc_dark.reg.num_y': 4, 'uves_cal_mdark.qc_dark.reg.box_sx': 100, 'uves_cal_mdark.qc_dark.reg.box_sy': 100, 'uves_cal_mdark.qc_dark.reg.border_x': 100, 'uves_cal_mdark.qc_dark.reg.border_y': 100, 'uves_cal_mdark.qc_dark.reg.when': 0, 'uves_cal_mbias.clean_traps': False, 'uves_cal_mbias.stack_method': 'median', 'uves_cal_mbias.klow': 5.0, 'uves_cal_mbias.khigh': 5.0, 'uves_cal_mbias.niter': 5, 'uves_cal_mbias.pd_compute': False, 'uves_cal_mbias.dc_mask_x': 1, 'uves_cal_mbias.dc_mask_y': 1, 'flames_obs_scired.ext_method': 'opt', 'flames_obs_scired.cor_max_fnd': 'Y', 'flames_obs_scired.cor_def_rng': 6.0, 'flames_obs_scired.cor_def_pnt': 25, 'flames_obs_scired.cor_def_off': 0.0, 'flames_obs_scired.corvel_iter': 1, 'flames_obs_scired.bias_method': 'M', 'flames_obs_scired.bias_value': 200, 'flames_obs_scired.cubify_sw': 'N', 'flames_obs_scired.filt_sw': 'none', 'flames_obs_scired.bkg_max_io_win': 500, 'flames_obs_scired.bkg_xy_win_sz_x': 6, 'flames_obs_scired.bkg_xy_win_sz_y': 2, 'flames_obs_scired.pixel_thresh_max': 55000, 'flames_obs_scired.pixel_thresh_min': -20, 'flames_obs_scired.drs_k_s_thre': 10.0, 'flames_obs_scired.drs_base_name': 'fxb', 'flames_obs_scired.drs_maxyshift': 3.0, 'flames_obs_scired.drs_ext_w_siz': 10.0, 'flames_obs_scired.merge': 'optimal', 'flames_obs_scired.merge_delt1': -1.0, 'flames_obs_scired.merge_delt2': -1.0, 'flames_obs_scired.clean_tmp_products': False, 'flames_obs_scired.rebin.wavestep': -1.0, 'flames_obs_scired.rebin.wavestep_redu': -1.0, 'flames_obs_scired.rebin.scale': False} 171s Docstring: Runs the full UVES-FIBRE reduction chain 171s 171s This recipe does a complete science reduction. It runs all necessary 171s calibration recipes depending on the availability of raw/processed 171s calibration frames. Input frames are all UVES-FIBER raw and reference 171s frames: formatchecks, FIB_ARC_LAMP_FORM_RED, order definition frames, 171s FIB_ORDER_FLAT_RED, biases, BIAS_RED, darks, DARK_RED, flats, 171s SFLAT_RED, arc lamps, FIB_ARC_LAMP_RED, standard stars, 171s FIB_STANDARD_RED a wavelength catalogue table,LINE_REFER_TABLE, and 171s optionally a wavelength table of bright lines,LINE_INTMON_TABLE, used 171s only for computing Quality Control parameters. a reference standard 171s star flux table, FLUX_STD_TABLE, a table describing the atmospheric 171s extintion,EXTCOEFF_TABLE. Optionally, science frames, SCIENCE_xxx, or 171s UVES_SCI_POINT_xxx, or UVES_SCI_EXTND_xxx, or UVES_SCI_SLICER_xxx. 171s For further details on the data reduction and the input frame types 171s refer to the man page of the individual recipes. 171s 171s Parameters: 171s scired: Whether or not to do 171s science reduction. If 171s false, only master 171s calibration frames are 171s created. If false, 171s either zero or all 171s necessary calibration 171s frames must be provided 171s for each arm (bool; 171s default: True) 171s debug: Whether or not to save 171s intermediate results to 171s local directory (bool; 171s default: False) 171s plotter: Any plots produced by 171s the recipe are 171s redirected to the 171s command specified by 171s this parameter. The 171s plotting command must 171s contain the substring 171s 'gnuplot' and must be 171s able to parse gnuplot 171s syntax on its standard 171s input. Valid examples 171s of such a command may 171s include 'gnuplot 171s -persist' and 'cat > 171s mygnuplot$$.gp'. A 171s finer control of the 171s plotting options can be 171s obtained by writing an 171s executable script, e.g. 171s my_gnuplot.pl, that 171s executes gnuplot after 171s setting the desired 171s gnuplot options (e.g. 171s set terminal pslatex 171s color). To turn off 171s plotting, set this 171s parameter to 'no' (str; 171s default: 'no') 171s process_chip: For RED arm data 171s process the redl, redu, 171s or both chip(s) (str; 171s default: 'both') 171s flames_cal_orderpos.use_guess_tab: If a Guess order table 171s is provided this 171s parameter set how it is 171s used:0: No usage, 1: 171s use it to set 171s lower/upper Y raws 171s where order are 171s searched 2: the order 171s table try to fully 171s match the guess (int; 171s default: 1) 171s flames_cal_orderpos.radx: Half X size of median 171s filtering window (int; 171s default: 2) 171s flames_cal_orderpos.rady: Half Y size of median 171s filtering window (int; 171s default: 1) 171s flames_cal_orderpos.mmethod: Background subtraction 171s method. If equal to 171s 'median' the background 171s is sampled using the 171s median of a sub-window. 171s If 'minimum', the 171s minimum sub-window 171s value is used. If 'no', 171s no background 171s subtraction is done. 171s (str; default: 171s 'median') 171s flames_cal_orderpos.backsubgrid: Number of grid points 171s (in x- and y-direction) 171s used to estimate the 171s background (mode=poly). 171s (int; default: 50) 171s flames_cal_orderpos.backsubradiusy: The height (in pixels) 171s of the background 171s sampling window is 171s (2*radiusy + 1). This 171s parameter is not 171s corrected for binning. 171s (int; default: 2) 171s flames_cal_orderpos.backsubkappa: The value of kappa in 171s the one-sided kappa- 171s sigma clipping used to 171s estimate the background 171s (mode=poly). (float; 171s default: 4.0) 171s flames_cal_orderpos.backsubdegx: Degree (in x) of 171s polynomial used to 171s estimate the background 171s (mode=poly). (int; 171s default: 2) 171s flames_cal_orderpos.backsubdegy: Degree (in y) of 171s polynomial used to 171s estimate the background 171s (mode=poly). (int; 171s default: 2) 171s flames_cal_orderpos.samplewidth: Separation of sample 171s traces (used by Hough 171s transform) in input 171s image (int; default: 171s 50) 171s flames_cal_orderpos.minslope: Minimum possible line 171s slope. This should be 171s the 'physical' slope on 171s the chip, i.e. not 171s taking binning factors 171s into account, which is 171s handled by the recipe 171s (float; default: 0.0) 171s flames_cal_orderpos.maxslope: Maximum possible line 171s slope (float; default: 171s 0.2) 171s flames_cal_orderpos.sloperes: Resolution (width in 171s pixels) of Hough space 171s (int; default: 120) 171s flames_cal_orderpos.pthres: In automatic mode, or 171s if the number of orders 171s to detect is read from 171s a guess table, the 171s detection of new lines 171s stops when the 171s intensity of a 171s candidate line drops to 171s less than 'pthres' 171s times the intensity of 171s the previous detection. 171s (float; default: 0.2) 171s flames_cal_orderpos.tracestep: The step size used when 171s tracing the orders 171s (int; default: 10) 171s flames_cal_orderpos.minthresh: The minimum threshold 171s value is (min + 171s minthres*(max - min)). 171s Here 'min' and 'max' 171s are the lowest and 171s highest pixel values in 171s the central bin of the 171s order (float; default: 171s 0.2) 171s flames_cal_orderpos.maxgap: If the order line drops 171s below detection 171s threshold, the order 171s tracing algorithm will 171s try to jump a gap of 171s maximum size 'maxgap' 171s multiplied by the image 171s width (float; default: 171s 0.2) 171s flames_cal_orderpos.maxrms: When fitting the orders 171s with straight lines, 171s this is the maximum 171s allowed RMS relative to 171s the median RMS of all 171s orders (float; default: 171s 100.0) 171s flames_cal_orderpos.defpol1: The degree of the 171s bivarite fit (cross 171s dispersion direction). 171s If negative, the degree 171s is optimized to give 171s the best fit (int; 171s default: -1) 171s flames_cal_orderpos.defpol2: The degree of the 171s bivarite fit (order 171s number). If negative, 171s the degree is optimized 171s to give the best fit 171s (int; default: -1) 171s flames_cal_orderpos.kappa: Used for kappa-sigma 171s clipping of the final 171s polynomial fit. If 171s negative, no clipping 171s is done (float; 171s default: 4.0) 171s flames_cal_wavecal.nwindows: Number of extraction 171s windows per trace. The 171s windows will be aligned 171s (i.e. no overlap and no 171s spacing between 171s adjacent windows). 171s Unless an offset is 171s specified, the middle 171s window(s) is centered 171s on the trace (int; 171s default: 1) 171s flames_cal_wavecal.length: Length (in pixels) of 171s each extraction window. 171s This parameter is also 171s equal to the seperation 171s of adjacent window 171s centers, causing the 171s extraction windows to 171s always be aligned. The 171s parameter is 171s automatically adjusted 171s according to the 171s binning of the input 171s raw frame. If negative, 171s the extraction window 171s length is determined 171s automatically to cover 171s the full slit (float; 171s default: 7.0) 171s flames_cal_wavecal.offset: A global offset (in 171s pixels) of all 171s extraction windows 171s (float; default: 0.0) 171s flames_cal_wavecal.range: Width (pix) of search 171s window is 2*range + 1. 171s This parameter is 171s automatically adjusted 171s according to binning. 171s (int; default: 8) 171s flames_cal_wavecal.minlines: Minimum number of lines 171s to detect. If zero, the 171s default value (1100 for 171s BLUE/REDL chips; 1000 171s for REDU chip) is used. 171s (int; default: 0) 171s flames_cal_wavecal.maxlines: Maximum number of lines 171s to detect. If zero, the 171s default value (1600 for 171s BLUE/REDL chip; 1400 171s for REDU chip) is used. 171s (int; default: 0) 171s flames_cal_wavecal.shiftmax: The maximum shift (pix) 171s in either direction 171s compared to guess 171s solution. This 171s parameter is 171s automatically corrected 171s for binning (float; 171s default: 10.0) 171s flames_cal_wavecal.shiftstep: The step size (pix) 171s used when searching for 171s the optimum shift. This 171s parameter is 171s automatically corrected 171s for binning (float; 171s default: 0.1) 171s flames_cal_wavecal.shifttoler: Tolerance (pix) when 171s matching shifted lines. 171s This parameter is not 171s adjusted according to 171s binning (float; 171s default: 0.05) 171s flames_cal_wavecal.alpha: The parameter that 171s controls the distance 171s to the nearest 171s neighbours (float; 171s default: 0.1) 171s flames_cal_wavecal.maxerror: This parameter controls 171s the graceful exit of 171s the identification 171s loop. If the RMS of the 171s global fit exceeds this 171s value (pix) the 171s iteration stops (float; 171s default: 20.0) 171s flames_cal_wavecal.degree: Degrees of the global 171s 2d dispersion 171s polynomial. If a 171s negative number is 171s specified, the 171s polynomial degrees are 171s automatically selected 171s by starting from (1, 1) 171s and inreasing the 171s degrees as long as the 171s RMS residual decreases 171s significantly (int; 171s default: 4) 171s flames_cal_wavecal.tolerance: Tolerance of fit. If 171s positive, the tolerance 171s is in pixel units. If 171s negative, 171s abs(tolerance) is in 171s wavelength units. Lines 171s with residuals worse 171s than the tolerance are 171s excluded from the final 171s fit. Unlike in previous 171s versions, this 171s parameter is not 171s corrected for CCD 171s binning. This rejection 171s based on the absolute 171s residual in pixel can 171s be effectively disabled 171s by setting the 171s tolerance to a very 171s large number (e.g. 171s 9999). In that case 171s outliers will be 171s rejected using only 171s kappa sigma clipping. 171s (float; default: 0.6) 171s flames_cal_wavecal.kappa: Lines with residuals 171s more then kappa stdev 171s are rejected from the 171s final fit (float; 171s default: 4.0) 171s flames_cal_wavecal.extract.method: Extraction method. 171s (2d/optimal not 171s supported by 171s uves_cal_wavecal, 171s weighted supported only 171s by uves_cal_wavecal, 2d 171s not supported by 171s uves_cal_response) 171s (str; default: 171s 'average') 171s flames_cal_wavecal.extract.kappa: In optimal extraction 171s mode, this is the 171s threshold for bad (i.e. 171s hot/cold) pixel 171s rejection. If a pixel 171s deviates more than 171s kappa*sigma (where 171s sigma is the 171s uncertainty of the 171s pixel flux) from the 171s inferred spatial 171s profile, its weight is 171s set to zero. Range: 171s [-1,100]. If this 171s parameter is negative, 171s no rejection is 171s performed. (float; 171s default: 10.0) 171s flames_cal_wavecal.extract.chunk: In optimal extraction 171s mode, the chunk size 171s (in pixels) used for 171s fitting the analytical 171s profile (a fit of the 171s analytical profile to 171s single bins would 171s suffer from low 171s statistics). (int; 171s default: 32) 171s flames_cal_wavecal.extract.profile: In optimal extraction 171s mode, the kind of 171s profile to use. 'gauss' 171s gives a Gaussian 171s profile, 'moffat' gives 171s a Moffat profile with 171s beta=4 and a possible 171s linear sky 171s contribution. 'virtual' 171s uses a virtual 171s resampling algorithm 171s (i.e. measures and uses 171s the actual object 171s profile). 'constant' 171s assumes a constant 171s spatial profile and 171s allows optimal 171s extraction of 171s wavelength calibration 171s frames. 'auto' will 171s automatically select 171s the best method based 171s on the estimated S/N of 171s the object. For low 171s S/N, 'moffat' or 171s 'gauss' are recommended 171s (for robustness). For 171s high S/N, 'virtual' is 171s recommended (for 171s accuracy). In the case 171s of virtual resampling, 171s a precise determination 171s of the order positions 171s is required; therefore 171s the order-definition is 171s repeated using the 171s (assumed non-low S/N) 171s science frame (str; 171s default: 'auto') 171s flames_cal_wavecal.extract.skymethod: In optimal extraction 171s mode, the sky 171s subtraction method to 171s use. 'median' estimates 171s the sky as the median 171s of pixels along the 171s slit (ignoring pixels 171s close to the object), 171s whereas 'optimal' does 171s a chi square 171s minimization along the 171s slit to obtain the best 171s combined object and sky 171s levels. The optimal 171s method gives the most 171s accurate sky 171s determination but is 171s also a bit slower than 171s the median method (str; 171s default: 'optimal') 171s flames_cal_wavecal.extract.oversample: The oversampling factor 171s used for the virtual 171s resampling algorithm. 171s If negative, the value 171s 5 is used for S/N 171s <=200, and the value 10 171s is used if the 171s estimated S/N is > 200 171s (int; default: -1) 171s flames_cal_wavecal.extract.best: (optimal extraction 171s only) If false 171s (fastest), the spectrum 171s is extracted only once. 171s If true (best), the 171s spectrum is extracted 171s twice, the second time 171s using improved variance 171s estimates based on the 171s first iteration. Better 171s variance estimates 171s slightly improve the 171s obtained signal to 171s noise but at the cost 171s of increased execution 171s time (bool; default: 171s True) 171s flames_cal_wavecal.rebin.wavestep: The bin size used for 171s BLUE/REDL data (in 171s w.l.u.) in wavelength 171s space. If negative, a 171s step size of 2/3 * ( 171s average pixel size ) is 171s used. (float; default: 171s -1.0) 171s flames_cal_wavecal.rebin.wavestep_redu: The bin size used for 171s REDU data (in w.l.u.) 171s in wavelength space. If 171s negative, a step size 171s of 2/3 * ( average 171s pixel size ) is used. 171s (float; default: -1.0) 171s flames_cal_wavecal.rebin.scale: Whether or not to 171s multiply by the factor 171s dx/dlambda (pixels per 171s wavelength) during the 171s rebinning to conserve 171s the flux. This option 171s is disabled as default 171s because applying the 171s flat field correction 171s already ensures flux 171s conservation. Therefore 171s this parameter should 171s be TRUE (for response 171s and science data) only 171s if reduce.ffmethd = no. 171s (bool; default: False) 171s uves_cal_mflat.norm_method: Method used to build 171s master frame (str; 171s default: 'explevel') 171s uves_cal_mflat.backsub.mmethod: Background measuring 171s method. If equal to 171s 'median' the background 171s is sampled using the 171s median of a subwindow. 171s If 'minimum', the 171s subwindow minimum value 171s is used. If 'no', no 171s background subtraction 171s is done. (str; default: 171s 'median') 171s uves_cal_mflat.backsub.npoints: This is the number of 171s columns in interorder 171s space used to sample 171s the background. (int; 171s default: 82) 171s uves_cal_mflat.backsub.radiusy: The height (in pixels) 171s of the background 171s sampling window is 171s (2*radiusy + 1). This 171s parameter is not 171s corrected for binning. 171s (int; default: 2) 171s uves_cal_mflat.backsub.sdegree: Degree of interpolating 171s splines. Currently only 171s degree = 1 is supported 171s (int; default: 1) 171s uves_cal_mflat.backsub.smoothx: If spline interpolation 171s is used to measure the 171s background, the 171s x-radius of the post- 171s smoothing window is 171s (smoothx * 171s image_width). Here, 171s 'image_width' is the 171s image width after 171s binning. If negative, 171s the default values are 171s used: (25.0/4096) for 171s blue flat-field frames, 171s (50.0/4096) for red 171s flat-field frames, 171s (300.0/4096) for blue 171s science frames and 171s (300.0/4096) for red 171s science frames. (float; 171s default: -1.0) 171s uves_cal_mflat.backsub.smoothy: If spline interpolation 171s is used to measure the 171s background, the 171s y-radius of the post- 171s smoothing window is 171s (smoothy * 171s image_height). Here, 171s 'image_height' is the 171s image height after 171s binning. If negative, 171s the default values are 171s used: (100.0/2048) for 171s blue flat-field frames, 171s (300.0/2048) for red 171s flat-field frames, 171s (200.0/2048) for blue 171s science frames and 171s (500.0/2048) for red 171s science frames. (float; 171s default: -1.0) 171s flames_cal_prep_sff_ofpos.ext_method: Extraction method (str; 171s default: 'opt') 171s flames_cal_prep_sff_ofpos.bias_method: Bias subtraction 171s method, M for master 171s bias frame, N for no 171s bias subtraction, V to 171s subtract a constant 171s bias level defined by 171s the parameter 171s bias_value (str; 171s default: 'M') 171s flames_cal_prep_sff_ofpos.bias_value: Bias value (only if 171s bias_method = V) (int; 171s default: 200) 171s flames_cal_prep_sff_ofpos.filter_switch: Filter switch (str; 171s default: 'none') 171s flames_cal_prep_sff_ofpos.sat_thr: Saturation threshold 171s (int; default: 55000) 171s flames_cal_prep_sff_ofpos.fileprep: Slitff* and Fibreff* 171s file preparation. If 171s fast extraction method 171s is used it should be 171s set to FALSE (bool; 171s default: True) 171s flames_cal_prep_sff_ofpos.cubify: Cubify switch (bool; 171s default: True) 171s flames_cal_prep_sff_ofpos.save_flat_size: To be sure to use the 171s flat part of a slit 171s flatsone may need to 171s subtract this bit. The 171s default value -1, is 171s used for automatic 171s setting: if WCEN=520 171s save_flat_size=0, else 171s save_flat_size=2. 171s Values explicitly set 171s by user overwrite this 171s rule. (int; default: 171s -1) 171s flames_cal_prep_sff_ofpos.clean_tmp_products: Input data format 171s (bool; default: False) 171s flames_cal_predict.mbox_x: Match box X size (int; 171s default: 40) 171s flames_cal_predict.mbox_y: Match box Y size (int; 171s default: 40) 171s flames_cal_predict.trans_x: Detector translation 171s along X (float; 171s default: 0.0) 171s flames_cal_predict.trans_y: Detector translation 171s along Y (float; 171s default: 0.0) 171s flames_cal_predict.ech_angle_off: Offset on echelle angle 171s (float; default: 0.0) 171s flames_cal_predict.cd_angle_off: Offset on cross 171s disperser angle (float; 171s default: 0.0) 171s flames_cal_predict.ccd_rot_angle_off: Offset on CCD rotation 171s angle (float; default: 171s 0.0) 171s flames_cal_predict.compute_regression_sw: Compute regression? 171s (bool; default: True) 171s flames_cal_predict.def_pol1: Polynomial X deg (int; 171s default: 4) 171s flames_cal_predict.def_pol2: Polynomial Y deg (int; 171s default: 5) 171s flames_cal_predict.kappa: Kappa value in kappa 171s sigma clipping on 171s RESIDUAL between YFIT 171s and Y columns (float; 171s default: 4.5) 171s flames_cal_predict.tol: Tolerance in kappa 171s sigma clipping on 171s RESIDUAL between YFIT 171s and Y columns (float; 171s default: 2.0) 171s uves_cal_mdark.stack_method: Method used to build 171s master frame (str; 171s default: 'median') 171s uves_cal_mdark.klow: Kappa used to clip low 171s level values, when 171s method is set to 'mean' 171s (float; default: 5.0) 171s uves_cal_mdark.khigh: Kappa used to clip high 171s level values, when 171s method is set to 'mean' 171s (float; default: 5.0) 171s uves_cal_mdark.niter: Number of kappa sigma 171s iterations, when method 171s is set to 'mean' (int; 171s default: 5) 171s uves_cal_mdark.stack_method: Method used to build 171s master frame (str; 171s default: 'median') 171s uves_cal_mdark.klow: Kappa used to clip low 171s level values, when 171s method is set to 'mean' 171s (float; default: 5.0) 171s uves_cal_mdark.khigh: Kappa used to clip high 171s level values, when 171s method is set to 'mean' 171s (float; default: 5.0) 171s uves_cal_mdark.niter: Number of kappa sigma 171s iterations, when method 171s is set to 'mean' (int; 171s default: 5) 171s uves_cal_mdark.qc_dark.reg.num_x: Number of regions along 171s the X axis (where 171s mean/med/rms are 171s computed). (int; 171s default: 4) 171s uves_cal_mdark.qc_dark.reg.num_y: Number of regions along 171s the Y axis(where 171s mean/med/rms are 171s computed). (int; 171s default: 4) 171s uves_cal_mdark.qc_dark.reg.box_sx: Region X size [pix] 171s (int; default: 100) 171s uves_cal_mdark.qc_dark.reg.box_sy: Region Y size [pix] 171s (int; default: 100) 171s uves_cal_mdark.qc_dark.reg.border_x: X distance between the 171s left hand side of the 171s detector and the left 171s hand side of the region 171s [pix] (int; default: 171s 100) 171s uves_cal_mdark.qc_dark.reg.border_y: X distance between the 171s left hand side of the 171s detector and the left 171s hand side of the region 171s [pix] (int; default: 171s 100) 171s uves_cal_mdark.qc_dark.reg.when: When QC analysis is 171s performed. 0: on each 171s raw frame or 1: on the 171s master frame (int; 171s default: 0) 171s uves_cal_mbias.clean_traps: Clean detector traps. 171s If TRUE detector traps 171s are interpolated.The 171s bad pixels are replaced 171s by the average of 171s thenearest good pixels 171s in the same column, or 171s simply marked as bad. 171s The positions of bad 171s pixels are hard-coded 171s (as function of UVES 171s chip). (bool; default: 171s False) 171s uves_cal_mbias.stack_method: Method used to build 171s master frame (str; 171s default: 'median') 171s uves_cal_mbias.klow: Kappa used to clip low 171s level values, when 171s method is set to 'mean' 171s (float; default: 5.0) 171s uves_cal_mbias.khigh: Kappa used to clip high 171s level values, when 171s method is set to 'mean' 171s (float; default: 5.0) 171s uves_cal_mbias.niter: Number of kappa sigma 171s iterations, when method 171s is set to 'mean' (int; 171s default: 5) 171s uves_cal_mbias.pd_compute: Determine Fixed Pattern 171s Noise. If TRUE the 171s Fixed Patter Noise 171s power spectrum is 171s determined.(as function 171s of UVES chip). (bool; 171s default: False) 171s uves_cal_mbias.dc_mask_x: x-size (pixel) of the 171s mask starting at (x,y) 171s = (1,1) (int; default: 171s 1) 171s uves_cal_mbias.dc_mask_y: y-size (pixel) of the 171s mask starting at (x,y) 171s = (1,1) (int; default: 171s 1) 171s flames_obs_scired.ext_method: Extraction method (str; 171s default: 'opt') 171s flames_obs_scired.cor_max_fnd: Find correlation 171s maximum? (str; default: 171s 'Y') 171s flames_obs_scired.cor_def_rng: Correlation range size? 171s (float; default: 6.0) 171s flames_obs_scired.cor_def_pnt: Correlation sampling 171s points? (int; default: 171s 25) 171s flames_obs_scired.cor_def_off: Correlation center 171s offset? (float; 171s default: 0.0) 171s flames_obs_scired.corvel_iter: Velocity correlation 171s iteration number 171s (SimCal) (int; default: 171s 1) 171s flames_obs_scired.bias_method: Bias subtraction method 171s (str; default: 'M') 171s flames_obs_scired.bias_value: Bias value (only if 171s bias_method = V) (int; 171s default: 200) 171s flames_obs_scired.cubify_sw: Cubify switch (str; 171s default: 'N') 171s flames_obs_scired.filt_sw: Filter switch (str; 171s default: 'none') 171s flames_obs_scired.bkg_max_io_win: Background window 171s number in each full 171s inter order (int; 171s default: 500) 171s flames_obs_scired.bkg_xy_win_sz_x: x maximum size of each 171s background window: 171s (int; default: 6) 171s flames_obs_scired.bkg_xy_win_sz_y: y maximum size of each 171s background window: 171s (int; default: 2) 171s flames_obs_scired.pixel_thresh_max: Pixel saturation 171s threshold max (int; 171s default: 55000) 171s flames_obs_scired.pixel_thresh_min: Pixel saturation 171s threshold min (int; 171s default: -20) 171s flames_obs_scired.drs_k_s_thre: Kappa sigma threshold 171s (float; default: 10.0) 171s flames_obs_scired.drs_base_name: Base name for science 171s products (str; default: 171s 'fxb') 171s flames_obs_scired.drs_maxyshift: Half width of the 171s interval to scan for 171s correlation, when 171s determining y shift 171s (float; default: 3.0) 171s flames_obs_scired.drs_ext_w_siz: Integration window size 171s good: 10 (if fibre 171s deconvolution works 171s fine) (float; default: 171s 10.0) 171s flames_obs_scired.merge: Order merging method. 171s If 'optimal', the flux 171s in the overlapping 171s region is set to the 171s (optimally computed, 171s using the 171s uncertainties) average 171s of single order 171s spectra. If 'sum', the 171s flux in the overlapping 171s region is computed as 171s the sum of the single 171s order spectra. If flat- 171s fielding is done, 171s method 'optimal' is 171s recommended, otherwise 171s 'sum'. (str; default: 171s 'optimal') 171s flames_obs_scired.merge_delt1: Order merging left hand 171s (short wavelength) cut. 171s To reduce the amount of 171s order overlapping 171s regions we allow to cut 171s short and long 171s wavelength ranges. This 171s may reduce the ripple 171s possibly introduced by 171s the order merging. 171s Suggested values are: 171s 10 (W<=390), 12 171s (390=860) 171s (float; default: -1.0) 171s flames_obs_scired.merge_delt2: Order merging right 171s hand (long wavelength) 171s cut. To reduce the 171s amount of order 171s overlapping regions we 171s allow to cut short and 171s long wavelength ranges. 171s This may reduce the 171s ripple possibly 171s introduced by the order 171s merging. Suggested 171s values is 4 for W<860, 171s else 0 (float; default: 171s -1.0) 171s flames_obs_scired.clean_tmp_products: Input data format 171s (bool; default: False) 171s flames_obs_scired.rebin.wavestep: The bin size used for 171s BLUE/REDL data (in 171s w.l.u.) in wavelength 171s space. If negative, a 171s step size of 2/3 * ( 171s average pixel size ) is 171s used. (float; default: 171s -1.0) 171s flames_obs_scired.rebin.wavestep_redu: The bin size used for 171s REDU data (in w.l.u.) 171s in wavelength space. If 171s negative, a step size 171s of 2/3 * ( average 171s pixel size ) is used. 171s (float; default: -1.0) 171s flames_obs_scired.rebin.scale: Whether or not to 171s multiply by the factor 171s dx/dlambda (pixels per 171s wavelength) during the 171s rebinning to conserve 171s the flux. This option 171s is disabled as default 171s because applying the 171s flat field correction 171s already ensures flux 171s conservation. Therefore 171s this parameter should 171s be TRUE (for response 171s and science data) only 171s if reduce.ffmethd = no. 171s (bool; default: False) 171s Author: Jonas M. Larsen 171s 171s 172s autopkgtest [23:48:10]: test test-recipe.py: -----------------------] 172s autopkgtest [23:48:10]: test test-recipe.py: - - - - - - - - - - results - - - - - - - - - - 172s test-recipe.py PASS (superficial) 173s autopkgtest [23:48:11]: @@@@@@@@@@@@@@@@@@@@ summary 173s test-recipe.py PASS (superficial) 184s Creating nova instance adt-noble-ppc64el-cpl-plugin-uves-20240418-234518-juju-7f2275-prod-proposed-migration-environment-2-dc1b3232-2126-4094-bf6c-d2fdb047a916 from image adt/ubuntu-noble-ppc64el-server-20240418.img (UUID eb57e9e5-70fe-4878-ae85-dd88e864cb24)...