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