0s autopkgtest [00:54:53]: starting date and time: 2024-04-19 00:54:53+0000 0s autopkgtest [00:54:53]: git checkout: 43bc6cdf gitlab-ci: do not include the salsa pipeline 0s autopkgtest [00:54:53]: host juju-7f2275-prod-proposed-migration-environment-3; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.9bg1__w_/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-xshoo --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@bos02-arm64-30.secgroup --name adt-noble-arm64-cpl-plugin-xshoo-20240419-005453-juju-7f2275-prod-proposed-migration-environment-3-95e4021e-987f-4079-9e43-463082119d3e --image adt/ubuntu-noble-arm64-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://ftpmaster.internal/ubuntu/ 151s autopkgtest [00:57:24]: testbed dpkg architecture: arm64 152s autopkgtest [00:57:25]: testbed apt version: 2.7.14build2 152s autopkgtest [00:57:25]: @@@@@@@@@@@@@@@@@@@@ test bed setup 153s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 154s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [2340 B] 154s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [376 kB] 154s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [54.2 kB] 155s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [12.2 kB] 155s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 Packages [130 kB] 155s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 c-n-f Metadata [3144 B] 155s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 Packages [92.9 kB] 155s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 c-n-f Metadata [116 B] 155s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 Packages [563 kB] 155s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 c-n-f Metadata [8528 B] 155s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 c-n-f Metadata [116 B] 161s Fetched 1360 kB in 3s (481 kB/s) 161s Reading package lists... 164s sh: 4: dhclient: not found 167s Reading package lists... 167s Building dependency tree... 167s Reading state information... 169s Calculating upgrade... 170s The following packages will be upgraded: 170s apport apport-core-dump-handler libkeyutils1 libnuma1 libunwind8 make man-db 170s netcat-openbsd numactl python3-apport python3-problem-report 170s 11 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 170s Need to get 1797 kB of archives. 170s After this operation, 1024 B of additional disk space will be used. 170s Get:1 http://ftpmaster.internal/ubuntu noble/main arm64 python3-problem-report all 2.28.1-0ubuntu1 [23.8 kB] 170s Get:2 http://ftpmaster.internal/ubuntu noble/main arm64 python3-apport all 2.28.1-0ubuntu1 [92.1 kB] 170s Get:3 http://ftpmaster.internal/ubuntu noble/main arm64 apport-core-dump-handler all 2.28.1-0ubuntu1 [16.8 kB] 170s Get:4 http://ftpmaster.internal/ubuntu noble/main arm64 apport all 2.28.1-0ubuntu1 [83.5 kB] 170s Get:5 http://ftpmaster.internal/ubuntu noble/main arm64 libkeyutils1 arm64 1.6.3-3build1 [9654 B] 170s Get:6 http://ftpmaster.internal/ubuntu noble/main arm64 netcat-openbsd arm64 1.226-1ubuntu2 [43.8 kB] 170s Get:7 http://ftpmaster.internal/ubuntu noble/main arm64 libnuma1 arm64 2.0.18-1build1 [23.6 kB] 170s Get:8 http://ftpmaster.internal/ubuntu noble/main arm64 man-db arm64 2.12.0-4build2 [1232 kB] 171s Get:9 http://ftpmaster.internal/ubuntu noble/main arm64 libunwind8 arm64 1.6.2-3build1 [53.5 kB] 171s Get:10 http://ftpmaster.internal/ubuntu noble/main arm64 make arm64 4.3-4.1build2 [178 kB] 171s Get:11 http://ftpmaster.internal/ubuntu noble/main arm64 numactl arm64 2.0.18-1build1 [39.5 kB] 172s Preconfiguring packages ... 172s Fetched 1797 kB in 1s (1767 kB/s) 172s (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 ... 77740 files and directories currently installed.) 172s Preparing to unpack .../00-python3-problem-report_2.28.1-0ubuntu1_all.deb ... 173s Unpacking python3-problem-report (2.28.1-0ubuntu1) over (2.28.0-0ubuntu1) ... 173s Preparing to unpack .../01-python3-apport_2.28.1-0ubuntu1_all.deb ... 173s Unpacking python3-apport (2.28.1-0ubuntu1) over (2.28.0-0ubuntu1) ... 173s Preparing to unpack .../02-apport-core-dump-handler_2.28.1-0ubuntu1_all.deb ... 173s Unpacking apport-core-dump-handler (2.28.1-0ubuntu1) over (2.28.0-0ubuntu1) ... 173s Preparing to unpack .../03-apport_2.28.1-0ubuntu1_all.deb ... 173s Unpacking apport (2.28.1-0ubuntu1) over (2.28.0-0ubuntu1) ... 174s Preparing to unpack .../04-libkeyutils1_1.6.3-3build1_arm64.deb ... 174s Unpacking libkeyutils1:arm64 (1.6.3-3build1) over (1.6.3-3) ... 174s Preparing to unpack .../05-netcat-openbsd_1.226-1ubuntu2_arm64.deb ... 174s Unpacking netcat-openbsd (1.226-1ubuntu2) over (1.226-1ubuntu1) ... 174s Preparing to unpack .../06-libnuma1_2.0.18-1build1_arm64.deb ... 174s Unpacking libnuma1:arm64 (2.0.18-1build1) over (2.0.18-1) ... 174s Preparing to unpack .../07-man-db_2.12.0-4build2_arm64.deb ... 174s Unpacking man-db (2.12.0-4build2) over (2.12.0-4build1) ... 174s Preparing to unpack .../08-libunwind8_1.6.2-3build1_arm64.deb ... 174s Unpacking libunwind8:arm64 (1.6.2-3build1) over (1.6.2-3) ... 174s Preparing to unpack .../09-make_4.3-4.1build2_arm64.deb ... 174s Unpacking make (4.3-4.1build2) over (4.3-4.1build1) ... 175s Preparing to unpack .../10-numactl_2.0.18-1build1_arm64.deb ... 175s Unpacking numactl (2.0.18-1build1) over (2.0.18-1) ... 175s Setting up libkeyutils1:arm64 (1.6.3-3build1) ... 175s Setting up python3-problem-report (2.28.1-0ubuntu1) ... 175s Setting up netcat-openbsd (1.226-1ubuntu2) ... 175s Setting up man-db (2.12.0-4build2) ... 176s Updating database of manual pages ... 181s man-db.service is a disabled or a static unit not running, not starting it. 181s Setting up libunwind8:arm64 (1.6.2-3build1) ... 181s Setting up python3-apport (2.28.1-0ubuntu1) ... 182s Setting up make (4.3-4.1build2) ... 182s Setting up libnuma1:arm64 (2.0.18-1build1) ... 182s Setting up numactl (2.0.18-1build1) ... 182s Setting up apport-core-dump-handler (2.28.1-0ubuntu1) ... 186s Setting up apport (2.28.1-0ubuntu1) ... 186s Installing new version of config file /etc/apport/crashdb.conf ... 189s apport-autoreport.service is a disabled or a static unit not running, not starting it. 190s Processing triggers for libc-bin (2.39-0ubuntu8) ... 191s Reading package lists... 191s Building dependency tree... 191s Reading state information... 193s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 194s Hit:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease 194s Hit:2 http://ftpmaster.internal/ubuntu noble InRelease 194s Hit:3 http://ftpmaster.internal/ubuntu noble-updates InRelease 194s Hit:4 http://ftpmaster.internal/ubuntu noble-security InRelease 199s Reading package lists... 199s Reading package lists... 200s Building dependency tree... 200s Reading state information... 201s Calculating upgrade... 202s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 202s Reading package lists... 203s Building dependency tree... 203s Reading state information... 204s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 205s autopkgtest [00:58:18]: rebooting testbed after setup commands that affected boot 369s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 379s autopkgtest [01:01:12]: testbed running kernel: Linux 6.8.0-22-generic #22-Ubuntu SMP PREEMPT_DYNAMIC Fri Apr 5 02:52:09 UTC 2024 383s autopkgtest [01:01:16]: @@@@@@@@@@@@@@@@@@@@ apt-source cpl-plugin-xshoo 391s Get:1 http://ftpmaster.internal/ubuntu noble/universe cpl-plugin-xshoo 3.5.3+dfsg-1build4 (dsc) [2542 B] 391s Get:2 http://ftpmaster.internal/ubuntu noble/universe cpl-plugin-xshoo 3.5.3+dfsg-1build4 (tar) [1634 kB] 391s Get:3 http://ftpmaster.internal/ubuntu noble/universe cpl-plugin-xshoo 3.5.3+dfsg-1build4 (diff) [11.6 kB] 391s gpgv: Signature made Mon Apr 1 05:40:12 2024 UTC 391s gpgv: using RSA key A089FB36AAFBDAD5ACC1325069F790171A210984 391s gpgv: Can't check signature: No public key 391s dpkg-source: warning: cannot verify inline signature for ./cpl-plugin-xshoo_3.5.3+dfsg-1build4.dsc: no acceptable signature found 393s autopkgtest [01:01:26]: testing package cpl-plugin-xshoo version 3.5.3+dfsg-1build4 393s autopkgtest [01:01:26]: build not needed 412s autopkgtest [01:01:45]: test test-recipe.py: preparing testbed 414s Reading package lists... 415s Building dependency tree... 415s Reading state information... 416s Starting pkgProblemResolver with broken count: 0 416s Starting 2 pkgProblemResolver with broken count: 0 416s Done 418s The following additional packages will be installed: 418s cpl-plugin-xshoo libblas3 libcext0 libcfitsio10t64 libcplcore26 libcpldfs26 418s libcpldrs26 libcplui26 liberfa1 libfftw3-double3 libfftw3-single3 418s libgfortran5 libgomp1 libgsl27 libgslcblas0 libjs-jquery 418s libjs-jquery-hotkeys libjs-jquery-isonscreen libjs-jquery-metadata 418s libjs-jquery-tablesorter libjs-jquery-throttle-debounce libjs-sphinxdoc 418s libjs-underscore liblapack3 libwcs8 python3-astropy 418s python3-astropy-iers-data python3-coverage python3-cpl python3-dateutil 418s python3-erfa python3-hypothesis python3-iniconfig python3-numpy 418s python3-packaging python3-pluggy python3-ply python3-pytest 418s python3-pytest-arraydiff python3-pytest-astropy 418s python3-pytest-astropy-header python3-pytest-cov python3-pytest-doctestplus 418s python3-pytest-filter-subpackage python3-pytest-mock 418s python3-pytest-remotedata python3-sortedcontainers 418s Suggested packages: 418s cpl-plugin-xshoo-calib cpl-plugin-xshoo-doc libfftw3-bin libfftw3-dev 418s gsl-ref-psdoc | gsl-doc-pdf | gsl-doc-info | gsl-ref-html libxml2-utils 418s python-astropy-doc python3-astropy-affiliated python3-bs4 python3-h5py 418s python3-matplotlib python3-pandas python-coverage-doc gdb 418s python-hypothesis-doc gcc gfortran python3-dev python-ply-doc 418s python-pytest-mock-doc python-sortedcontainers-doc 418s Recommended packages: 418s javascript-common libjs-jquery-datatables python3-scipy python3-click 418s The following NEW packages will be installed: 418s autopkgtest-satdep cpl-plugin-xshoo libblas3 libcext0 libcfitsio10t64 418s libcplcore26 libcpldfs26 libcpldrs26 libcplui26 liberfa1 libfftw3-double3 418s libfftw3-single3 libgfortran5 libgomp1 libgsl27 libgslcblas0 libjs-jquery 418s libjs-jquery-hotkeys libjs-jquery-isonscreen libjs-jquery-metadata 418s libjs-jquery-tablesorter libjs-jquery-throttle-debounce libjs-sphinxdoc 418s libjs-underscore liblapack3 libwcs8 python3-astropy 418s python3-astropy-iers-data python3-coverage python3-cpl python3-dateutil 418s python3-erfa python3-hypothesis python3-iniconfig python3-numpy 418s python3-packaging python3-pluggy python3-ply python3-pytest 418s python3-pytest-arraydiff python3-pytest-astropy 418s python3-pytest-astropy-header python3-pytest-cov python3-pytest-doctestplus 418s python3-pytest-filter-subpackage python3-pytest-mock 418s python3-pytest-remotedata python3-sortedcontainers 418s 0 upgraded, 48 newly installed, 0 to remove and 0 not upgraded. 418s Need to get 19.2 MB/19.2 MB of archives. 418s After this operation, 85.4 MB of additional disk space will be used. 418s Get:1 /tmp/autopkgtest.RQvAn9/1-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [732 B] 423s Get:2 http://ftpmaster.internal/ubuntu noble/main arm64 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 424s Get:3 http://ftpmaster.internal/ubuntu noble/universe arm64 libjs-jquery-hotkeys all 0~20130707+git2d51e3a9+dfsg-2ubuntu2 [11.5 kB] 424s Get:4 http://ftpmaster.internal/ubuntu noble/universe arm64 libcext0 arm64 7.3.2+ds-1build3 [31.6 kB] 424s Get:5 http://ftpmaster.internal/ubuntu noble/universe arm64 libcfitsio10t64 arm64 4.3.1-1.1build2 [520 kB] 424s Get:6 http://ftpmaster.internal/ubuntu noble/main arm64 libgomp1 arm64 14-20240412-0ubuntu1 [144 kB] 424s Get:7 http://ftpmaster.internal/ubuntu noble/main arm64 libfftw3-double3 arm64 3.3.10-1ubuntu3 [384 kB] 424s Get:8 http://ftpmaster.internal/ubuntu noble/main arm64 libfftw3-single3 arm64 3.3.10-1ubuntu3 [583 kB] 425s Get:9 http://ftpmaster.internal/ubuntu noble/universe arm64 libcplcore26 arm64 7.3.2+ds-1build3 [446 kB] 425s Get:10 http://ftpmaster.internal/ubuntu noble/universe arm64 libcplui26 arm64 7.3.2+ds-1build3 [36.5 kB] 425s Get:11 http://ftpmaster.internal/ubuntu noble/universe arm64 libcpldfs26 arm64 7.3.2+ds-1build3 [39.0 kB] 425s Get:12 http://ftpmaster.internal/ubuntu noble/universe arm64 libwcs8 arm64 8.2.2+ds-3build2 [253 kB] 425s Get:13 http://ftpmaster.internal/ubuntu noble/universe arm64 libcpldrs26 arm64 7.3.2+ds-1build3 [62.8 kB] 425s Get:14 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libgslcblas0 arm64 2.7.1+dfsg-6ubuntu2 [72.8 kB] 425s Get:15 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libgsl27 arm64 2.7.1+dfsg-6ubuntu2 [918 kB] 425s Get:16 http://ftpmaster.internal/ubuntu noble/universe arm64 cpl-plugin-xshoo arm64 3.5.3+dfsg-1build4 [1082 kB] 425s Get:17 http://ftpmaster.internal/ubuntu noble/main arm64 libblas3 arm64 3.12.0-3build1 [143 kB] 425s Get:18 http://ftpmaster.internal/ubuntu noble/main arm64 libgfortran5 arm64 14-20240412-0ubuntu1 [444 kB] 426s Get:19 http://ftpmaster.internal/ubuntu noble/universe arm64 libjs-jquery-metadata all 12-4 [6582 B] 426s Get:20 http://ftpmaster.internal/ubuntu noble/universe arm64 libjs-jquery-tablesorter all 1:2.31.3+dfsg1-3 [193 kB] 426s Get:21 http://ftpmaster.internal/ubuntu noble/universe arm64 libjs-jquery-throttle-debounce all 1.1+dfsg.1-2 [12.5 kB] 426s Get:22 http://ftpmaster.internal/ubuntu noble/main arm64 libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 426s Get:23 http://ftpmaster.internal/ubuntu noble/main arm64 libjs-sphinxdoc all 7.2.6-6 [149 kB] 426s Get:24 http://ftpmaster.internal/ubuntu noble/main arm64 liblapack3 arm64 3.12.0-3build1 [2241 kB] 426s Get:25 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-iniconfig all 1.1.1-2 [6024 B] 426s Get:26 http://ftpmaster.internal/ubuntu noble/main arm64 python3-packaging all 24.0-1 [41.1 kB] 426s Get:27 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-pluggy all 1.4.0-1 [20.4 kB] 426s Get:28 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-pytest all 7.4.4-1 [305 kB] 426s Get:29 http://ftpmaster.internal/ubuntu noble/main arm64 python3-dateutil all 2.8.2-3ubuntu1 [79.4 kB] 426s Get:30 http://ftpmaster.internal/ubuntu noble/main arm64 python3-sortedcontainers all 2.4.0-2 [27.6 kB] 426s Get:31 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-hypothesis all 6.98.15-1 [311 kB] 426s Get:32 http://ftpmaster.internal/ubuntu noble/main arm64 python3-numpy arm64 1:1.26.4+ds-6ubuntu1 [3565 kB] 427s Get:33 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-pytest-arraydiff all 0.6.1-2 [10.2 kB] 427s Get:34 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-pytest-astropy-header all 0.2.2-1 [8190 B] 427s Get:35 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-coverage arm64 7.4.4+dfsg1-0ubuntu2 [148 kB] 427s Get:36 http://ftpmaster.internal/ubuntu noble/universe arm64 libjs-jquery-isonscreen all 1.2.0-1.1 [3244 B] 427s Get:37 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-pytest-cov all 4.1.0-1 [21.5 kB] 427s Get:38 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-pytest-doctestplus all 1.2.0-1 [23.1 kB] 427s Get:39 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-pytest-filter-subpackage all 0.2.0-1 [6094 B] 427s Get:40 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-pytest-mock all 3.12.0-1.1 [11.3 kB] 427s Get:41 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-pytest-remotedata all 0.4.1-1 [8650 B] 427s Get:42 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-pytest-astropy all 0.11.0-1 [5902 B] 427s Get:43 http://ftpmaster.internal/ubuntu noble/main arm64 python3-ply all 3.11-6 [46.5 kB] 427s Get:44 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-astropy-iers-data all 0.2024.01.01.00.33.39-1 [2046 kB] 427s Get:45 http://ftpmaster.internal/ubuntu noble/universe arm64 liberfa1 arm64 2.0.1-1 [136 kB] 427s Get:46 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-erfa arm64 2.0.1.1+ds-3 [311 kB] 427s Get:47 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-astropy arm64 6.0.0-1ubuntu2 [3797 kB] 427s Get:48 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-cpl arm64 0.7.4-2build10 [34.8 kB] 429s Fetched 19.2 MB in 9s (2040 kB/s) 429s Selecting previously unselected package libjs-jquery. 429s (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 ... 77739 files and directories currently installed.) 429s Preparing to unpack .../00-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 429s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 429s Selecting previously unselected package libjs-jquery-hotkeys. 429s Preparing to unpack .../01-libjs-jquery-hotkeys_0~20130707+git2d51e3a9+dfsg-2ubuntu2_all.deb ... 429s Unpacking libjs-jquery-hotkeys (0~20130707+git2d51e3a9+dfsg-2ubuntu2) ... 429s Selecting previously unselected package libcext0:arm64. 429s Preparing to unpack .../02-libcext0_7.3.2+ds-1build3_arm64.deb ... 429s Unpacking libcext0:arm64 (7.3.2+ds-1build3) ... 429s Selecting previously unselected package libcfitsio10t64:arm64. 429s Preparing to unpack .../03-libcfitsio10t64_4.3.1-1.1build2_arm64.deb ... 429s Unpacking libcfitsio10t64:arm64 (4.3.1-1.1build2) ... 429s Selecting previously unselected package libgomp1:arm64. 430s Preparing to unpack .../04-libgomp1_14-20240412-0ubuntu1_arm64.deb ... 430s Unpacking libgomp1:arm64 (14-20240412-0ubuntu1) ... 430s Selecting previously unselected package libfftw3-double3:arm64. 430s Preparing to unpack .../05-libfftw3-double3_3.3.10-1ubuntu3_arm64.deb ... 430s Unpacking libfftw3-double3:arm64 (3.3.10-1ubuntu3) ... 430s Selecting previously unselected package libfftw3-single3:arm64. 430s Preparing to unpack .../06-libfftw3-single3_3.3.10-1ubuntu3_arm64.deb ... 430s Unpacking libfftw3-single3:arm64 (3.3.10-1ubuntu3) ... 430s Selecting previously unselected package libcplcore26:arm64. 430s Preparing to unpack .../07-libcplcore26_7.3.2+ds-1build3_arm64.deb ... 430s Unpacking libcplcore26:arm64 (7.3.2+ds-1build3) ... 430s Selecting previously unselected package libcplui26:arm64. 430s Preparing to unpack .../08-libcplui26_7.3.2+ds-1build3_arm64.deb ... 430s Unpacking libcplui26:arm64 (7.3.2+ds-1build3) ... 430s Selecting previously unselected package libcpldfs26:arm64. 430s Preparing to unpack .../09-libcpldfs26_7.3.2+ds-1build3_arm64.deb ... 430s Unpacking libcpldfs26:arm64 (7.3.2+ds-1build3) ... 430s Selecting previously unselected package libwcs8:arm64. 430s Preparing to unpack .../10-libwcs8_8.2.2+ds-3build2_arm64.deb ... 430s Unpacking libwcs8:arm64 (8.2.2+ds-3build2) ... 430s Selecting previously unselected package libcpldrs26:arm64. 430s Preparing to unpack .../11-libcpldrs26_7.3.2+ds-1build3_arm64.deb ... 430s Unpacking libcpldrs26:arm64 (7.3.2+ds-1build3) ... 430s Selecting previously unselected package libgslcblas0:arm64. 430s Preparing to unpack .../12-libgslcblas0_2.7.1+dfsg-6ubuntu2_arm64.deb ... 430s Unpacking libgslcblas0:arm64 (2.7.1+dfsg-6ubuntu2) ... 431s Selecting previously unselected package libgsl27:arm64. 431s Preparing to unpack .../13-libgsl27_2.7.1+dfsg-6ubuntu2_arm64.deb ... 431s Unpacking libgsl27:arm64 (2.7.1+dfsg-6ubuntu2) ... 431s Selecting previously unselected package cpl-plugin-xshoo:arm64. 431s Preparing to unpack .../14-cpl-plugin-xshoo_3.5.3+dfsg-1build4_arm64.deb ... 431s Unpacking cpl-plugin-xshoo:arm64 (3.5.3+dfsg-1build4) ... 431s Selecting previously unselected package libblas3:arm64. 431s Preparing to unpack .../15-libblas3_3.12.0-3build1_arm64.deb ... 431s Unpacking libblas3:arm64 (3.12.0-3build1) ... 431s Selecting previously unselected package libgfortran5:arm64. 431s Preparing to unpack .../16-libgfortran5_14-20240412-0ubuntu1_arm64.deb ... 431s Unpacking libgfortran5:arm64 (14-20240412-0ubuntu1) ... 431s Selecting previously unselected package libjs-jquery-metadata. 431s Preparing to unpack .../17-libjs-jquery-metadata_12-4_all.deb ... 431s Unpacking libjs-jquery-metadata (12-4) ... 431s Selecting previously unselected package libjs-jquery-tablesorter. 431s Preparing to unpack .../18-libjs-jquery-tablesorter_1%3a2.31.3+dfsg1-3_all.deb ... 431s Unpacking libjs-jquery-tablesorter (1:2.31.3+dfsg1-3) ... 432s Selecting previously unselected package libjs-jquery-throttle-debounce. 432s Preparing to unpack .../19-libjs-jquery-throttle-debounce_1.1+dfsg.1-2_all.deb ... 432s Unpacking libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... 432s Selecting previously unselected package libjs-underscore. 432s Preparing to unpack .../20-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 432s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 432s Selecting previously unselected package libjs-sphinxdoc. 432s Preparing to unpack .../21-libjs-sphinxdoc_7.2.6-6_all.deb ... 432s Unpacking libjs-sphinxdoc (7.2.6-6) ... 432s Selecting previously unselected package liblapack3:arm64. 432s Preparing to unpack .../22-liblapack3_3.12.0-3build1_arm64.deb ... 432s Unpacking liblapack3:arm64 (3.12.0-3build1) ... 432s Selecting previously unselected package python3-iniconfig. 432s Preparing to unpack .../23-python3-iniconfig_1.1.1-2_all.deb ... 432s Unpacking python3-iniconfig (1.1.1-2) ... 432s Selecting previously unselected package python3-packaging. 432s Preparing to unpack .../24-python3-packaging_24.0-1_all.deb ... 432s Unpacking python3-packaging (24.0-1) ... 432s Selecting previously unselected package python3-pluggy. 432s Preparing to unpack .../25-python3-pluggy_1.4.0-1_all.deb ... 432s Unpacking python3-pluggy (1.4.0-1) ... 432s Selecting previously unselected package python3-pytest. 433s Preparing to unpack .../26-python3-pytest_7.4.4-1_all.deb ... 433s Unpacking python3-pytest (7.4.4-1) ... 433s Selecting previously unselected package python3-dateutil. 433s Preparing to unpack .../27-python3-dateutil_2.8.2-3ubuntu1_all.deb ... 433s Unpacking python3-dateutil (2.8.2-3ubuntu1) ... 433s Selecting previously unselected package python3-sortedcontainers. 433s Preparing to unpack .../28-python3-sortedcontainers_2.4.0-2_all.deb ... 433s Unpacking python3-sortedcontainers (2.4.0-2) ... 433s Selecting previously unselected package python3-hypothesis. 433s Preparing to unpack .../29-python3-hypothesis_6.98.15-1_all.deb ... 433s Unpacking python3-hypothesis (6.98.15-1) ... 433s Selecting previously unselected package python3-numpy. 433s Preparing to unpack .../30-python3-numpy_1%3a1.26.4+ds-6ubuntu1_arm64.deb ... 433s Unpacking python3-numpy (1:1.26.4+ds-6ubuntu1) ... 434s Selecting previously unselected package python3-pytest-arraydiff. 434s Preparing to unpack .../31-python3-pytest-arraydiff_0.6.1-2_all.deb ... 434s Unpacking python3-pytest-arraydiff (0.6.1-2) ... 434s Selecting previously unselected package python3-pytest-astropy-header. 434s Preparing to unpack .../32-python3-pytest-astropy-header_0.2.2-1_all.deb ... 434s Unpacking python3-pytest-astropy-header (0.2.2-1) ... 434s Selecting previously unselected package python3-coverage. 434s Preparing to unpack .../33-python3-coverage_7.4.4+dfsg1-0ubuntu2_arm64.deb ... 434s Unpacking python3-coverage (7.4.4+dfsg1-0ubuntu2) ... 434s Selecting previously unselected package libjs-jquery-isonscreen. 434s Preparing to unpack .../34-libjs-jquery-isonscreen_1.2.0-1.1_all.deb ... 434s Unpacking libjs-jquery-isonscreen (1.2.0-1.1) ... 435s Selecting previously unselected package python3-pytest-cov. 435s Preparing to unpack .../35-python3-pytest-cov_4.1.0-1_all.deb ... 435s Unpacking python3-pytest-cov (4.1.0-1) ... 435s Selecting previously unselected package python3-pytest-doctestplus. 435s Preparing to unpack .../36-python3-pytest-doctestplus_1.2.0-1_all.deb ... 435s Unpacking python3-pytest-doctestplus (1.2.0-1) ... 435s Selecting previously unselected package python3-pytest-filter-subpackage. 435s Preparing to unpack .../37-python3-pytest-filter-subpackage_0.2.0-1_all.deb ... 435s Unpacking python3-pytest-filter-subpackage (0.2.0-1) ... 435s Selecting previously unselected package python3-pytest-mock. 435s Preparing to unpack .../38-python3-pytest-mock_3.12.0-1.1_all.deb ... 435s Unpacking python3-pytest-mock (3.12.0-1.1) ... 435s Selecting previously unselected package python3-pytest-remotedata. 435s Preparing to unpack .../39-python3-pytest-remotedata_0.4.1-1_all.deb ... 435s Unpacking python3-pytest-remotedata (0.4.1-1) ... 435s Selecting previously unselected package python3-pytest-astropy. 435s Preparing to unpack .../40-python3-pytest-astropy_0.11.0-1_all.deb ... 435s Unpacking python3-pytest-astropy (0.11.0-1) ... 435s Selecting previously unselected package python3-ply. 435s Preparing to unpack .../41-python3-ply_3.11-6_all.deb ... 435s Unpacking python3-ply (3.11-6) ... 435s Selecting previously unselected package python3-astropy-iers-data. 435s Preparing to unpack .../42-python3-astropy-iers-data_0.2024.01.01.00.33.39-1_all.deb ... 435s Unpacking python3-astropy-iers-data (0.2024.01.01.00.33.39-1) ... 436s Selecting previously unselected package liberfa1:arm64. 436s Preparing to unpack .../43-liberfa1_2.0.1-1_arm64.deb ... 436s Unpacking liberfa1:arm64 (2.0.1-1) ... 436s Selecting previously unselected package python3-erfa. 436s Preparing to unpack .../44-python3-erfa_2.0.1.1+ds-3_arm64.deb ... 436s Unpacking python3-erfa (2.0.1.1+ds-3) ... 436s Selecting previously unselected package python3-astropy. 436s Preparing to unpack .../45-python3-astropy_6.0.0-1ubuntu2_arm64.deb ... 436s Unpacking python3-astropy (6.0.0-1ubuntu2) ... 438s Selecting previously unselected package python3-cpl. 438s Preparing to unpack .../46-python3-cpl_0.7.4-2build10_arm64.deb ... 438s Unpacking python3-cpl (0.7.4-2build10) ... 438s Selecting previously unselected package autopkgtest-satdep. 438s Preparing to unpack .../47-1-autopkgtest-satdep.deb ... 438s Unpacking autopkgtest-satdep (0) ... 438s Setting up libwcs8:arm64 (8.2.2+ds-3build2) ... 438s Setting up liberfa1:arm64 (2.0.1-1) ... 438s Setting up python3-iniconfig (1.1.1-2) ... 438s Setting up libgslcblas0:arm64 (2.7.1+dfsg-6ubuntu2) ... 438s Setting up python3-ply (3.11-6) ... 439s Setting up libgsl27:arm64 (2.7.1+dfsg-6ubuntu2) ... 439s Setting up python3-coverage (7.4.4+dfsg1-0ubuntu2) ... 440s Setting up python3-sortedcontainers (2.4.0-2) ... 441s Setting up libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... 441s Setting up libgomp1:arm64 (14-20240412-0ubuntu1) ... 441s Setting up python3-astropy-iers-data (0.2024.01.01.00.33.39-1) ... 441s Setting up libblas3:arm64 (3.12.0-3build1) ... 441s update-alternatives: using /usr/lib/aarch64-linux-gnu/blas/libblas.so.3 to provide /usr/lib/aarch64-linux-gnu/libblas.so.3 (libblas.so.3-aarch64-linux-gnu) in auto mode 441s Setting up python3-packaging (24.0-1) ... 442s Setting up libcfitsio10t64:arm64 (4.3.1-1.1build2) ... 442s Setting up libfftw3-double3:arm64 (3.3.10-1ubuntu3) ... 442s Setting up libgfortran5:arm64 (14-20240412-0ubuntu1) ... 442s Setting up python3-pluggy (1.4.0-1) ... 442s Setting up python3-dateutil (2.8.2-3ubuntu1) ... 443s Setting up libcext0:arm64 (7.3.2+ds-1build3) ... 443s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 443s Setting up libjs-jquery-hotkeys (0~20130707+git2d51e3a9+dfsg-2ubuntu2) ... 443s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 443s Setting up liblapack3:arm64 (3.12.0-3build1) ... 443s update-alternatives: using /usr/lib/aarch64-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/aarch64-linux-gnu/liblapack.so.3 (liblapack.so.3-aarch64-linux-gnu) in auto mode 443s Setting up libfftw3-single3:arm64 (3.3.10-1ubuntu3) ... 443s Setting up python3-pytest (7.4.4-1) ... 444s Setting up python3-hypothesis (6.98.15-1) ... 446s Setting up libcplcore26:arm64 (7.3.2+ds-1build3) ... 446s Setting up libjs-jquery-metadata (12-4) ... 446s Setting up libjs-jquery-isonscreen (1.2.0-1.1) ... 446s Setting up python3-pytest-remotedata (0.4.1-1) ... 446s Setting up python3-numpy (1:1.26.4+ds-6ubuntu1) ... 453s Setting up libjs-sphinxdoc (7.2.6-6) ... 453s Setting up libcplui26:arm64 (7.3.2+ds-1build3) ... 453s Setting up python3-pytest-doctestplus (1.2.0-1) ... 454s Setting up libjs-jquery-tablesorter (1:2.31.3+dfsg1-3) ... 454s Setting up python3-pytest-mock (3.12.0-1.1) ... 454s Setting up python3-pytest-filter-subpackage (0.2.0-1) ... 455s Setting up python3-pytest-astropy-header (0.2.2-1) ... 455s Setting up libcpldrs26:arm64 (7.3.2+ds-1build3) ... 455s Setting up libcpldfs26:arm64 (7.3.2+ds-1build3) ... 456s Setting up python3-pytest-cov (4.1.0-1) ... 457s Setting up cpl-plugin-xshoo:arm64 (3.5.3+dfsg-1build4) ... 457s Setting up python3-pytest-arraydiff (0.6.1-2) ... 457s Setting up python3-erfa (2.0.1.1+ds-3) ... 458s Setting up python3-pytest-astropy (0.11.0-1) ... 459s Setting up python3-astropy (6.0.0-1ubuntu2) ... 470s Setting up python3-cpl (0.7.4-2build10) ... 471s Setting up autopkgtest-satdep (0) ... 471s Processing triggers for man-db (2.12.0-4build2) ... 472s Processing triggers for libc-bin (2.39-0ubuntu8) ... 483s (Reading database ... 81616 files and directories currently installed.) 483s Removing autopkgtest-satdep (0) ... 484s autopkgtest [01:02:57]: test test-recipe.py: [----------------------- 485s Recipe xsh_orderpos: 485s version 3.5.3 485s Parameters: {'keep-temp': 'no', 'debug-level': 'none', 'time-stamp': False, 'decode-bp': 2144337919, 'pre-overscan-corr': 1, 'detectcontinuum-search-win-hsize': 5, 'detectcontinuum-running-win-hsize': 0, 'detectcontinuum-fit-win-hsize': 5, 'detectcontinuum-center-thresh-fac': 0.0, 'detectcontinuum-ordertab-step-y': 1, 'detectcontinuum-ordertab-deg-y': 5, 'detectcontinuum-clip-res-max': 0.5, 'detectcontinuum-clip-sigma': 5.0, 'detectcontinuum-clip-niter': 5, 'detectcontinuum-clip-frac': 0.4} 485s Docstring: Create the orders centre traces table file 485s 485s This recipe creates the orders centre traces table. Input Frames for 485s UVB and VIS: Raw file (Tag = ORDERDEF_arm_D2) Master Dark (Tag = 485s MASTER_DARK_arm) Master Bias (Tag = MASTER_BIAS_arm) Input Frames 485s for NIR: Raw file ON(Tag = ORDERDEF_NIR_ON) Raw file OFF(Tag = 485s ORDERDEF_NIR_OFF) Input Frames for all arms Guess order table (Tag = 485s ORDER_TAB_GUESS_arm) Spectral format table (Tag = 485s SPECTRAL_FORMAT_TAB_arm) - [OPTIONAL] A map of non linear bad pixels 485s (Format=QUP, Tag = BP_MAP_NL_arm) - [OPTIONAL] A map of reference 485s bad pixels (Format = QUP,RAW, Tag = BP_MAP_RP_arm) Prepare PRE 485s structures. For NIR, subtract NIR-OFF from NIR-ON. For UVB and NIR, 485s Substract the master Bias and master dark. Detect Orders and calculate 485s the order table. The final products are: An updated Order Table, 485s PRO.CATG=ORDER_TABLE_CENTR_arm. A order trace residuals Table, 485s PRO.CATG=ORDERPOS_RESID_TAB_arm. The order pos frame bias 485s subtracted, PRO.CATG=ORDERDEF_ON_arm. 485s 485s Parameters: 485s keep-temp: If 'no', temporary files are 485s deleted. (str; default: 'no') 485s debug-level: Additional xshooter debug level. 485s One of 'none', 'low', 'medium', 485s 'high' (str; default: 'none') 485s time-stamp: Add timestamp to product file 485s name. (bool; default: False) 485s decode-bp: Integer representation of the bits 485s to be considered bad when decoding 485s the bad pixel mask pixel values. 485s Most frequent codes relevant for 485s the user: 0: good pixel, 8: 485s pick-up noise, 16: cosmic-ray 485s removed, 32: cosmic-ray 485s unremoved, 128: calibration file 485s defect, 256: hot pixel, 512: 485s dark pixel, 4096: A/D converted 485s saturation, 32768: non linear 485s pixel, 1048576: extrapolated 485s flux in NIR, 4194304: Interpolated 485s flux during extraction. (int; 485s default: 2144337919) 485s pre-overscan-corr: pre-overscan correction. 0: no 485s correction 1: mean overscan 485s correction 2: mean prescan 485s correction 3: (mean pre+mean 485s overscan)/2 correction (int; 485s default: 1) 485s detectcontinuum-search-win-hsize: Half window size in pixels for the 485s 1D box to search for the maximum 485s in the cross-dispersion profile 485s (int; default: 5) 485s detectcontinuum-running-win-hsize: Half window size for the running 485s median box during the search for 485s the maximum in the cross- 485s dispersion profile (int; default: 485s 0) 485s detectcontinuum-fit-win-hsize: Half window size for the fit of 485s the cross-dispersion profile (int; 485s default: 5) 485s detectcontinuum-center-thresh-fac: Threshold factor applied to check 485s that the flux at the fitted peak 485s is higher than error. (float; 485s default: 0.0) 485s detectcontinuum-ordertab-step-y: Step in Y for order centroid 485s detection (int; default: 1) 485s detectcontinuum-ordertab-deg-y: Degree in Y in the polynomial 485s order tracing X=f(Y) (int; 485s default: 5) 485s detectcontinuum-clip-res-max: Maximum allowed residual (before 485s kappa-sigma clip) (float; default: 485s 0.5) 485s detectcontinuum-clip-sigma: Kappa value in sigma clipping 485s during order trace polynomial fit 485s (float; default: 5.0) 485s detectcontinuum-clip-niter: Number of iterations in sigma 485s clipping during order trace 485s polynomial fit (int; default: 5) 485s detectcontinuum-clip-frac: Minimal fractions of points 485s accepted / total in sigma 485s clippingduring order trace 485s polynomial fit (float; default: 485s 0.4) 485s Author: L.Guglielmi,R.Haigron,P.Goldoni,F.Royer, A. Modigliani 485s 485s 485s Recipe xsh_scired_ifu_stare_drl: 485s version 3.5.3 485s Parameters: {'keep-temp': 'no', 'debug-level': 'none', 'time-stamp': False, 'decode-bp': 2144337919, 'pre-overscan-corr': 1, 'stack-method': 'median', 'klow': 5.0, 'khigh': 5.0, 'crh-clip-kappa': 5.0, 'crh-clip-niter': 5, 'crh-clip-frac': 0.7, 'background-edges-margin': 1, 'background-poly-deg-y': 9, 'background-poly-deg-x': 9, 'background-poly-kappa': 10.0, 'removecrhsingle-sigmalim': 5.0, 'removecrhsingle-flim': 2.0, 'removecrhsingle-niter': 4, 'rectify-kernel': 'tanh', 'rectify-radius': 2.0, 'rectify-bin-lambda': 0.06, 'rectify-bin-slit': 0.21, 'localize-method': 'MANUAL', 'localize-chunk-nb': 10, 'localize-thresh': 0.1, 'localize-deg-lambda': 0, 'localize-slit-position': 0.0, 'localize-slit-hheight': 2.0, 'localize-kappa': 3.0, 'localize-niter': 3, 'localize-use-skymask': False, 'extract-method': 'LOCALIZATION', 'stdextract-interp-hsize': 30, 'shift-offsettab-low': 0.0, 'shift-offsettab-up': 0.0, 'compute-map': True, 'check-afc': True, 'flat-method': 'master'} 485s Docstring: Reduce science exposure in IFU configuration and stare mode 485s 485s This recipe reduces science exposure in IFU configuration and stare 485s mode Input Frames : - A set of n Science frames ( n == 1 or >=3, 485s Tag = OBJECT_IFU_STARE_arm or STD_TELL_IFU_STARE_arm or 485s STD_FLUX_IFU_STARE_arm) - A spectral format table (Tag = 485s SPECTRAL_FORMAT_TAB_arm) - [UVB,VIS] A master bias frame (Tag = 485s MASTER_BIAS_arm) - [OPTIONAL]A master dark frame (Tag = 485s MASTER_DARK_arm) - A master flat frame (Tag = MASTER_FLAT_IFU_arm) 485s - An AFC corrected order table frame (Tag = ORDER_TAB_AFC_IFU_arm) - 485s [physmod] An AFC corrected model cfg frame (Tag = 485s XSH_MOD_CFG_OPT_AFC_arm) - [poly] An AFC corrected model wavesol 485s frame (Tag = WAVE_TAB_AFC_arm) - [OPTIONAL] An AFC corrected 485s dispersion solution frame (Tag = DISP_TAB_AFC_arm) - [OPTIONAL] A 485s slit map (Tag = SLIT_MAP_arm) - [OPTIONAL] A badpixel map (Tag = 485s BADPIXEL_MAP_arm) - [OPTIONAL] A mask of telluric lines (Tag = 485s TELL_MASK_arm) Products : - 3 Spectrum order tables 2D (1 per 485s slitlet), PRO.CATG=ORDER2D_slitlet_IFU_arm - 3 Spectrum merge tables 485s 2D (1 per slitlet), PRO.CATG=MERGE2D_slitlet_IFU_arm - 1 Spectrum 485s merge 3D, PRO.CATG=MERGE3D_IFU_arm 485s 485s Parameters: 485s keep-temp: If 'no', temporary files are deleted. (str; 485s default: 'no') 485s debug-level: Additional xshooter debug level. One of 485s 'none', 'low', 'medium', 'high' (str; 485s default: 'none') 485s time-stamp: Add timestamp to product file name. (bool; 485s default: False) 485s decode-bp: Integer representation of the bits to be 485s considered bad when decoding the bad pixel 485s mask pixel values. Most frequent codes 485s relevant for the user: 0: good pixel, 485s 8: pick-up noise, 16: cosmic-ray removed, 485s 32: cosmic-ray unremoved, 128: 485s calibration file defect, 256: hot pixel, 485s 512: dark pixel, 4096: A/D converted 485s saturation, 32768: non linear pixel, 485s 1048576: extrapolated flux in NIR, 4194304: 485s Interpolated flux during extraction. (int; 485s default: 2144337919) 485s pre-overscan-corr: pre-overscan correction. 0: no correction 485s 1: mean overscan correction 2: mean prescan 485s correction 3: (mean pre+mean overscan)/2 485s correction (int; default: 1) 485s stack-method: Method used to build master frame. (str; 485s default: 'median') 485s klow: Kappa used to clip low level values, when 485s method is set to 'mean' (float; default: 485s 5.0) 485s khigh: Kappa used to clip high level values, when 485s method is set to 'mean' (float; default: 485s 5.0) 485s crh-clip-kappa: Kappa value in sigma clipping during CRH 485s rejection using multiple frames (float; 485s default: 5.0) 485s crh-clip-niter: Number of iterations in sigma clipping 485s during CRH rejection using multiple frames 485s (int; default: 5) 485s crh-clip-frac: Minimal ratio of points accepted / total in 485s sigma clipping during CRH rejection using 485s multiple frames (float; default: 0.7) 485s background-edges-margin: X margin to order edge to define background 485s sampling points (int; default: 1) 485s background-poly-deg-y: Poly mode fit deg along Y. (int; default: 485s 9) 485s background-poly-deg-x: Poly mode fit deg along X. (int; default: 485s 9) 485s background-poly-kappa: Poly mode kappa value of kappa-sigma-clip 485s outliers removal. (float; default: 10.0) 485s removecrhsingle-sigmalim: Poisson fluctuation threshold to flag CRHs 485s (see van Dokkum, PASP,113,2001,p1420-27) 485s (float; default: 5.0) 485s removecrhsingle-flim: Minimum contrast between the Laplacian 485s image and the fine structure image that a 485s point must have to be flagged as CRH. (see 485s van Dokkum, PASP,113,2001,p1420-27) (float; 485s default: 2.0) 485s removecrhsingle-niter: Max number of iterations (int; default: 4) 485s rectify-kernel: Name of the Interpolation Kernel Used. 485s Possible values are: tanh, sinc, sinc2, 485s lanczos, hamming, hann. (str; default: 485s 'tanh') 485s rectify-radius: Rectify Interpolation radius [bin units]. 485s (float; default: 2.0) 485s rectify-bin-lambda: Wavelength step in the output spectrum [nm] 485s (float; default: 0.06) 485s rectify-bin-slit: Spatial step along the slit in the output 485s spectrum [arcsec] (float; default: 0.21) 485s localize-method: Localization method (MANUAL, MAXIMUM, 485s GAUSSIAN) used to detect the object 485s centroid and height on the slit (str; 485s default: 'MANUAL') 485s localize-chunk-nb: Number of chunks in the full spectrum to 485s localize the object (int; default: 10) 485s localize-thresh: Threshold relative to the peak intensity 485s below which the edges of the object are 485s detected for MAXIMUM localization (float; 485s default: 0.1) 485s localize-deg-lambda: Degree in lambda in the localization 485s polynomial expression slit=f(lambda), used 485s only for MAXIMUM and GAUSSIAN (int; 485s default: 0) 485s localize-slit-position: Object position on the slit for MANUAL 485s localization [arcsec] (float; default: 0.0) 485s localize-slit-hheight: Object half height on the slit for MANUAL 485s localization [arcsec] (float; default: 2.0) 485s localize-kappa: Kappa value for sigma clipping in the 485s localization polynomial fit (float; 485s default: 3.0) 485s localize-niter: Number of iterations for sigma clipping in 485s the localization polynomial fit (int; 485s default: 3) 485s localize-use-skymask: TRUE if we want to mask sky lines using 485s SKY_LINE_LIST file. (bool; default: False) 485s extract-method: Method used for extraction (LOCALIZATION, 485s NOD) (str; default: 'LOCALIZATION') 485s stdextract-interp-hsize: Half size of mask used to define object 485s cross order profile (int; default: 30) 485s shift-offsettab-low: Global shift of the lower slitlet slit 485s positions, relative to the central 485s one[arcsec]. (float; default: 0.0) 485s shift-offsettab-up: Global shift of the upper slitlet slit 485s positions, relative to the central 485s one[arcsec]. (float; default: 0.0) 485s compute-map: if TRUE recompute (wave and slit) maps from 485s the dispersion solution. If sky-subtract is 485s set to TRUE this must be set to TRUE. 485s (bool; default: True) 485s check-afc: Input AFC corrected model/wave solution and 485s science frame check.If TRUE the recipe 485s verify that the input mode/wave solution is 485s AFC corrected, its INS.OPTIi.NAME is 485s 'Pin_0.5 ', and its OBS.ID and 485s OBS.TARG.NAME values matches with the 485s corresponding values of the science frame. 485s (bool; default: True) 485s flat-method: method adopted for flat: (str; default: 485s 'master') 485s Author: P.Goldoni, L.Guglielmi, R. Haigron, F. Royer 485s 485s 485s Recipe xsh_respon_slit_nod: 485s version 3.5.3 485s Parameters: {'keep-temp': 'no', 'debug-level': 'none', 'time-stamp': False, 'decode-bp': 1741684735, 'pre-overscan-corr': 1, 'stack-method': 'median', 'klow': 5.0, 'khigh': 5.0, 'removecrhsingle-sigmalim': 20.0, 'removecrhsingle-flim': 2.0, 'removecrhsingle-niter': 4, 'rectify-kernel': 'tanh', 'rectify-radius': 2.0, 'rectify-bin-lambda': -1.0, 'rectify-bin-slit': -1.0, 'rectify-fast': True, 'localize-method': 'MANUAL', 'localize-chunk-nb': 10, 'localize-thresh': 0.1, 'localize-deg-lambda': 0, 'localize-slit-position': 0.0, 'localize-slit-hheight': 2.0, 'localize-kappa': 3.0, 'localize-niter': 3, 'localize-use-skymask': False, 'localize-nod-throw': 0.0, 'extract-method': 'NOD', 'stdextract-interp-hsize': 30, 'combinenod-throwlist': 'throwlist.asc', 'combinenod-method': 'MEAN', 'max-slit': 5.7, 'min-slit': -5.3, 'correct-tellurics': True, 'correct-sky-by-median': True, 'scale-combine-nod-method': 1} 485s Docstring: Reduce STD star frames in SLIT configuration and nod mode 485s 485s This recipe reduces science exposure in SLIT configuration and NOD 485s mode Input Frames : - A set of n Science frames ( n even ), Tag = 485s OBJECT_SLIT_NOD_arm - Spectral format table (Tag = 485s SPECTRAL_FORMAT_TAB_arm) - [UVB,VIS] A master bias frame (Tag = 485s MASTER_BIAS_arm) - A master flat frame (Tag = MASTER_FLAT_SLIT_arm) 485s - An order table frame(Tag = ORDER_TABLE_EDGES_SLIT_arm) - [poly 485s mode] A wave solution frame(Tag = WAVE_TAB_2D_arm) - [poly mode] A 485s wave map frame(Tag = WAVE_MAP_arm) - [poly mode] A disp table 485s frame(Tag = DISP_TAB_arm) - [physical model mode]A model cfg table 485s (Format = TABLE, Tag = XSH_MOD_CFG_TAB_arm) - [OPTIONAL] A telluric 485s model catalog (Tag = TELL_MOD_CAT_arm arm=VIS,NIR) - A standard star 485s fluxes catalog (Tag = FLUX_STD_CATALOG_arm Type = FLX) - A table to 485s set response sampling points (Tag = RESP_FIT_POINTS_CAT_arm) - 485s [OPTIONAL] An atmospheric extinction table (Tag = ATMOS_EXT_arm) 485s if provided this is the one used to flux calibrate the spectra 485s Products : - [If STD is in catal] The response function (Tag = 485s PREFIX_RESPONSE_ORDER1D_SLIT_arm) - [If STD is in catal] The 485s response function (Tag = PREFIX_RESPONSE_MERGE1D_SLIT_arm) - 485s PREFIX_ORDER2D_arm (2 dimension) - PREFIX_ORDER1D_arm (1 dimension) 485s - PREFIX_MERGE2D_arm (2 dimension) - PREFIX_MERGE1D_arm (1 485s dimension) - PREFIX_WAVE_MAP_arm, wave map image - 485s PREFIX_SLIT_MAP_arm, slit map image - [If STD is in catal] Flux 485s calibrated order-by-order 2D spectrum (Tag = PREFIX_FLUX_ORDER2D_arm) 485s - [If STD is in catal] Flux calibrated order-by-order 1D spectrum (Tag 485s = PREFIX_FLUX_ORDER1D_arm) - [If STD is in catal] Flux calibrated 485s merged 2D spectrum (Tag = PREFIX_FLUX_MERGE2D_arm) - [If STD is in 485s catal] Flux calibrated merged 1D spectrum (Tag = 485s PREFIX_FLUX_MERGE1D_arm) - [If STD is in catal] The efficiency (Tag 485s = EFFICIENCY_SLIT_arm) - where PREFIX is SCI, FLUX, TELL if input 485s raw DPR.TYPE contains OBJECT or FLUX or TELLURIC 485s 485s Parameters: 485s keep-temp: If 'no', temporary files are deleted. (str; 485s default: 'no') 485s debug-level: Additional xshooter debug level. One of 485s 'none', 'low', 'medium', 'high' (str; 485s default: 'none') 485s time-stamp: Add timestamp to product file name. (bool; 485s default: False) 485s decode-bp: Integer representation of the bits to be 485s considered bad when decoding the bad pixel 485s mask pixel values. Most frequent codes 485s relevant for the user: 0: good pixel, 485s 8: pick-up noise, 16: cosmic-ray removed, 485s 32: cosmic-ray unremoved, 128: 485s calibration file defect, 256: hot pixel, 485s 512: dark pixel, 4096: A/D converted 485s saturation, 32768: non linear pixel, 485s 1048576: extrapolated flux in NIR, 4194304: 485s Interpolated flux during extraction. (int; 485s default: 1741684735) 485s pre-overscan-corr: pre-overscan correction. 0: no correction 485s 1: mean overscan correction 2: mean prescan 485s correction 3: (mean pre+mean overscan)/2 485s correction (int; default: 1) 485s stack-method: Method used to build master frame. (str; 485s default: 'median') 485s klow: Kappa used to clip low level values, when 485s method is set to 'mean' (float; default: 485s 5.0) 485s khigh: Kappa used to clip high level values, when 485s method is set to 'mean' (float; default: 485s 5.0) 485s removecrhsingle-sigmalim: Poisson fluctuation threshold to flag CRHs 485s (see van Dokkum, PASP,113,2001,p1420-27) 485s (float; default: 20.0) 485s removecrhsingle-flim: Minimum contrast between the Laplacian 485s image and the fine structure image that a 485s point must have to be flagged as CRH. (see 485s van Dokkum, PASP,113,2001,p1420-27) (float; 485s default: 2.0) 485s removecrhsingle-niter: Max number of iterations (int; default: 4) 485s rectify-kernel: Name of the Interpolation Kernel Used. 485s Possible values are: tanh, sinc, sinc2, 485s lanczos, hamming, hann. (str; default: 485s 'tanh') 485s rectify-radius: Rectify Interpolation radius [bin units]. 485s (float; default: 2.0) 485s rectify-bin-lambda: Wavelength step in the output spectrum [nm] 485s (float; default: -1.0) 485s rectify-bin-slit: Spatial step along the slit in the output 485s spectrum [arcsec] (float; default: -1.0) 485s rectify-fast: Fast if TRUE (Rect[B-A] = -Rect[A-B]), in 485s that case only entire pixel shifts are 485s applied. (bool; default: True) 485s localize-method: Localization method (MANUAL, MAXIMUM, 485s GAUSSIAN) used to detect the object 485s centroid and height on the slit (str; 485s default: 'MANUAL') 485s localize-chunk-nb: Number of chunks in the full spectrum to 485s localize the object (int; default: 10) 485s localize-thresh: Threshold relative to the peak intensity 485s below which the edges of the object are 485s detected for MAXIMUM localization (float; 485s default: 0.1) 485s localize-deg-lambda: Degree in lambda in the localization 485s polynomial expression slit=f(lambda), used 485s only for MAXIMUM and GAUSSIAN (int; 485s default: 0) 485s localize-slit-position: Object position on the slit for MANUAL 485s localization [arcsec] (float; default: 0.0) 485s localize-slit-hheight: Object half height on the slit for MANUAL 485s localization [arcsec] (float; default: 2.0) 485s localize-kappa: Kappa value for sigma clipping in the 485s localization polynomial fit (float; 485s default: 3.0) 485s localize-niter: Number of iterations for sigma clipping in 485s the localization polynomial fit (int; 485s default: 3) 485s localize-use-skymask: TRUE if we want to mask sky lines using 485s SKY_LINE_LIST file. (bool; default: False) 485s localize-nod-throw: Step (arcsec) between A and B images in 485s nodding mode. (float; default: 0.0) 485s extract-method: Method used for extraction (LOCALIZATION, 485s NOD) (str; default: 'NOD') 485s stdextract-interp-hsize: Half size of mask used to define object 485s cross order profile (int; default: 30) 485s combinenod-throwlist: Name of ascii file containing the list of 485s throw shifts with respect to the first 485s exposure (str; default: 'throwlist.asc') 485s combinenod-method: Combination method for nodded frames 485s (MEDIAN, MEAN) (str; default: 'MEAN') 485s max-slit: Lower Slit Limit (localize and extract 485s (float; default: 5.7) 485s min-slit: Upper Slit Limit (localize and extract 485s (float; default: -5.3) 485s correct-tellurics: TRUE if during response computation we 485s apply telluric correction (bool; default: 485s True) 485s correct-sky-by-median: TRUE if the resampled spectrum at each 485s wavelength is median subtracted to remove 485s sky lines (bool; default: True) 485s scale-combine-nod-method: frame scaling when nod frames are combined: 485s 0 (no-scaling); 1 (scaling) (int; default: 485s 1) 485s Author: P.Goldoni, L.Guglielmi, R. Haigron, F. Royer, D. Bramich A. Modigliani 485s 485s 485s Recipe xsh_lingain: 485s version 3.5.3 485s Parameters: {'keep-temp': 'no', 'debug-level': 'none', 'time-stamp': False, 'decode-bp': 2144337919, 'method': 'PTC', 'order': 3, 'kappa': 3.0, 'niter': 5, 'llx': -1, 'lly': -1, 'urx': -1, 'ury': -1, 'ref_level': 10000, 'intermediate': False, 'autocorr': False, 'collapse': True, 'rescale': True, 'pix2pix': True, 'bpmbin': False, 'm': 26, 'filter': -1, 'n': 26, 'tolerance': 0.1, 'pafgen': False, 'pafname': 'xsh_lingain', 'exts': 0, 'fpn_method': 'HISTOGRAM', 'fpn_smooth': 13, 'saturation_limit': 65535.0, 'gain_threshold': 65535.0, 'coeffs_cube_split': False, 'llx1': -1, 'lly1': -1, 'urx1': -1, 'ury1': -1, 'llx2': -1, 'lly2': -1, 'urx2': -1, 'ury2': -1, 'llx3': -1, 'lly3': -1, 'urx3': -1, 'ury3': -1, 'llx4': -1, 'lly4': -1, 'urx4': -1, 'ury4': -1, 'llx5': -1, 'lly5': -1, 'urx5': -1, 'ury5': -1} 485s Docstring: Computes detector's gain/linearity-map 485s 485s This recipe computes detector linearity coefficients and gain Input 485s Frames : arm = UVB-VIS: - A set of n RAW linearity frames 485s (Format=RAW, n >=8, Tag = LINEARITY_arm_ON) - A set of n RAW bias 485s frames (Format=RAW, n >=1, Tag = LINEARITY_arm_OFF) arm = NIR: - A 485s set of n RAW linearity on frames (Format=RAW, n >=8, Tag = 485s LINEARITY_arm_ON) - A set of n RAW linearity off frames (Format=RAW, 485s n >=8, Tag = LINEARITY_arm_OFF) - [OPTIONAL] a static bad pixel map 485s (PRO.CATG=BP_MAP_RP_arm) Note: on and off frames are taken in pairs 485s sequence: OFF-ON-ON-OFF, at least 16 frames. Products : - A 485s linearity map table, PRO.CATG = BP_MAP_LIN_NIR - A gain table, 485s PRO.CATG = GAIN_INFO - A cube cointaining the linearity 485s coefficients, PRO.CATG = COEFFS_CUBE_arm - A linearity map image 485s (RAW format), PRO.CATG = RAW_BP_MAP_NL_arm - A linearity map image 485s (PRE format), PRO.CATG = BP_MAP_NL_arm 485s 485s Parameters: 485s keep-temp: If 'no', temporary files are deleted. (str; 485s default: 'no') 485s debug-level: Additional xshooter debug level. One of 'none', 485s 'low', 'medium', 'high' (str; default: 'none') 485s time-stamp: Add timestamp to product file name. (bool; 485s default: False) 485s decode-bp: Integer representation of the bits to be 485s considered bad when decoding the bad pixel mask 485s pixel values. Most frequent codes relevant for 485s the user: 0: good pixel, 8: pick-up noise, 485s 16: cosmic-ray removed, 32: cosmic-ray 485s unremoved, 128: calibration file defect, 256: 485s hot pixel, 512: dark pixel, 4096: A/D 485s converted saturation, 32768: non linear pixel, 485s 1048576: extrapolated flux in NIR, 4194304: 485s Interpolated flux during extraction. (int; 485s default: 2144337919) 485s method: Method to be used when computing GAIN. Methods 485s appliable: . By default PTC method will 485s be applied. (str; default: 'PTC') 485s order: Polynomial order for the fit (Linearity) (int; 485s default: 3) 485s kappa: Kappa value for the kappa-sigma clipping (Gain) 485s (float; default: 3.0) 485s niter: Number of iterations to compute rms (Gain) (int; 485s default: 5) 485s llx: x coordinate of the lower-left point of the region 485s of interest. If not modified, default value will 485s be 1. (int; default: -1) 485s lly: y coordinate of the lower-left point of the region 485s of interest. If not modified, default value will 485s be 1. (int; default: -1) 485s urx: x coordinate of the upper-right point of the 485s region of interest. If not modified, default value 485s will be X dimension of the input image. (int; 485s default: -1) 485s ury: y coordinate of the upper-right point of the 485s region of interest. If not modified, default value 485s will be Y dimension of the input image. (int; 485s default: -1) 485s ref_level: User reference level (int; default: 10000) 485s intermediate: De-/Activate intermediate products (bool; default: 485s False) 485s autocorr: De-/Activate the autocorr option (bool; default: 485s False) 485s collapse: De-/Activate the collapse option (bool; default: 485s True) 485s rescale: De-/Activate the image rescale option (bool; 485s default: True) 485s pix2pix: De-/Activate the computation with pixel to pixel 485s accuracy (bool; default: True) 485s bpmbin: De-/Activate the binary bpm option (bool; default: 485s False) 485s m: Maximum x-shift for the autocorr (int; default: 485s 26) 485s filter: Upper limit of Median flux to be filtered (int; 485s default: -1) 485s n: Maximum y-shift for the autocorr (int; default: 485s 26) 485s tolerance: Tolerance for pair discrimination (float; default: 485s 0.1) 485s pafgen: Generate PAF file (bool; default: False) 485s pafname: Specific name for PAF file (str; default: 485s 'xsh_lingain') 485s exts: Activate the multi-exts option. Choose -1 to 485s process all extensions. Choose an extension number 485s to process the appropriate extension. (int; 485s default: 0) 485s fpn_method: Method for computing Fixed Pattern Noise (SMOOTH 485s or HISTOGRAM) (str; default: 'HISTOGRAM') 485s fpn_smooth: template size in pixels for smoothing during FPN 485s computation (only for SMOOTH method) (int; 485s default: 13) 485s saturation_limit: all frames with mean saturation above the limit 485s would not be used in linearity calculation (float; 485s default: 65535.0) 485s gain_threshold: all frames with mean flux above the threshold 485s would not be used in gain calculation (float; 485s default: 65535.0) 485s coeffs_cube_split: if TRUE, the recipe writes as many COEFFS_CUBE_Pi 485s (i=0..order) as the value of the order parameter 485s in a separate file (bool; default: False) 485s llx1: x coord of the lower-left point of the first field 485s used for contamination measurement. If not 485s modified, default value will be 1. (int; default: 485s -1) 485s lly1: y coord of the lower-left point of the first field 485s used for contamination measurement. If not 485s modified, default value will be 1. (int; default: 485s -1) 485s urx1: x coord of the upper-right point of the first 485s field used for contamination measurement. If not 485s modified, default value will be X dimension of the 485s input image. (int; default: -1) 485s ury1: y coord of the upper-right point of the first 485s field used for contamination measurement. If not 485s modified, default value will be Y dimension of the 485s input image. (int; default: -1) 485s llx2: x coord of the lower-left point of the second 485s field used for contamination measurement. If not 485s modified, default value will be 1. (int; default: 485s -1) 485s lly2: y coord of the lower-left point of the second 485s field used for contamination measurement. If not 485s modified, default value will be 1. (int; default: 485s -1) 485s urx2: x coord of the upper-right point of the second 485s field used for contamination measurement. If not 485s modified, default value will be half of the X 485s dimension of the input image. (int; default: -1) 485s ury2: y coord of the upper-right point of the second 485s field used for contamination measurement. If not 485s modified, default value will be half of the Y 485s dimension of the input image. (int; default: -1) 485s llx3: x coord of the lower-left point of the third field 485s used for contamination measurement. If not 485s modified, default value will be 1. (int; default: 485s -1) 485s lly3: y coord of the lower-left point of the third field 485s used for contamination measurement. If not 485s modified, default value will be half of the Y 485s dimension of the input image. (int; default: -1) 485s urx3: x coord of the upper-right point of the third 485s field used for contamination measurement. If not 485s modified, default value will be half of X 485s dimension of the image. (int; default: -1) 485s ury3: y coord of the upper-right point of the third 485s field used for contamination measurement. If not 485s modified, default value will be Y dimension of the 485s image. (int; default: -1) 485s llx4: x coord of the lower-left point of the fourth 485s field used for contamination measurement. If not 485s modified, default value will be half of X 485s dimension of the image. (int; default: -1) 485s lly4: y coord of the lower-left point of the fourth 485s field used for contamination measurement. If not 485s modified, default value will be half of the Y 485s dimension of the input image. (int; default: -1) 485s urx4: x coord of the upper-right point of the fourth 485s field used for contamination measurement. If not 485s modified, default value will be X dimension of the 485s image. (int; default: -1) 485s ury4: y coord of the upper-right point of the fourth 485s field used for contamination measurement. If not 485s modified, default value will be Y dimension of the 485s input image. (int; default: -1) 485s llx5: x coord of the lower-left point of the fifth field 485s used for contamination measurement. If not 485s modified, default value will be half of the X 485s dimension of the input image. (int; default: -1) 485s lly5: y coord of the lower-left point of the fifth field 485s used for contamination measurement. If not 485s modified, default value will be 1. (int; default: 485s -1) 485s urx5: x coord of the upper-right point of the fifth 485s field used for contamination measurement. If not 485s modified, default value will be X dimension of the 485s image. (int; default: -1) 485s ury5: y coord of the upper-right point of the fifth 485s field used for contamination measurement. If not 485s modified, default value will be half of Y 485s dimension of the input image. (int; default: -1) 485s Author: Lander de Bilbao,A.Modigliani 485s 485s 485s Recipe xsh_util_physmod: 485s version 3.5.3 485s Parameters: {'keep-temp': 'no', 'debug-level': 'none', 'time-stamp': False, 'decode-bp': 2144337919, 'binx': 1, 'biny': 1, 'spectral-format-tab': False, 'wavemap': False} 485s Docstring: Generate physical model products 485s 485s This recipe generates the theoretical and the spectral format tables. 485s and possibly the model based wave map. The sof file contains the names 485s of the input FITS file tagged with XSH_MOD_CFG_TAB_arm. tagged with 485s ARC_LINE_LIST_arm. This recipe has the following products: Model order 485s traces for nine pinholes (PRO CATG = THEO_TAB_MULT_arm) Model order 485s traces for nine pinholes (PRO CATG = THEO_TAB_IFU_arm) Model order 485s traces for central pinhole (PRO CATG = THEO_TAB_SING_arm) Spectral 485s format table (PRO CATG = SPECTRAL_FORMAT_TAB_arm) Wave map image (PRO 485s CATG = WAVE_MAP_arm) Slit map image (PRO CATG = SLIT_MAP_arm) 485s 485s Parameters: 485s keep-temp: If 'no', temporary files are deleted. (str; 485s default: 'no') 485s debug-level: Additional xshooter debug level. One of 'none', 485s 'low', 'medium', 'high' (str; default: 'none') 485s time-stamp: Add timestamp to product file name. (bool; 485s default: False) 485s decode-bp: Integer representation of the bits to be 485s considered bad when decoding the bad pixel mask 485s pixel values. Most frequent codes relevant for 485s the user: 0: good pixel, 8: pick-up noise, 485s 16: cosmic-ray removed, 32: cosmic-ray 485s unremoved, 128: calibration file defect, 256: 485s hot pixel, 512: dark pixel, 4096: A/D 485s converted saturation, 32768: non linear pixel, 485s 1048576: extrapolated flux in NIR, 4194304: 485s Interpolated flux during extraction. (int; 485s default: 2144337919) 485s binx: X binning (int; default: 1) 485s biny: X binning (int; default: 1) 485s spectral-format-tab: Generate spectral format table (bool; default: 485s False) 485s wavemap: Generate slit and wave maps (time consuming) 485s (bool; default: False) 485s Author: Andrea Modigliani 485s 485s 485s Recipe xsh_scired_ifu_offset_drl: 485s version 3.5.3 485s Parameters: {'keep-temp': 'no', 'debug-level': 'none', 'time-stamp': False, 'decode-bp': 2144337919, 'pre-overscan-corr': 1, 'stack-method': 'median', 'klow': 5.0, 'khigh': 5.0, 'crh-clip-kappa': 5.0, 'crh-clip-niter': 5, 'crh-clip-frac': 0.7, 'background-edges-margin': 1, 'background-poly-deg-y': 9, 'background-poly-deg-x': 9, 'background-poly-kappa': 10.0, 'removecrhsingle-sigmalim': 5.0, 'removecrhsingle-flim': 2.0, 'removecrhsingle-niter': 4, 'rectify-kernel': 'tanh', 'rectify-radius': 2.0, 'rectify-bin-lambda': 0.06, 'rectify-bin-slit': 0.21, 'localize-method': 'MANUAL', 'localize-chunk-nb': 10, 'localize-thresh': 0.1, 'localize-deg-lambda': 0, 'localize-slit-position': 0.0, 'localize-slit-hheight': 2.0, 'localize-kappa': 3.0, 'localize-niter': 3, 'localize-use-skymask': False, 'extract-method': 'LOCALIZATION', 'stdextract-interp-hsize': 30, 'shift-offsettab-low': 0.0, 'shift-offsettab-up': 0.0, 'compute-map': True, 'check-afc': True, 'flat-method': 'master'} 485s Docstring: Reduce science exposure in IFU configuration and on/off mode 485s 485s This recipe reduces science exposure in IFU configuration and on/off 485s mode Input Frames : - A set of 2xn Science frames, Tag = 485s OBJECT_IFU_OFFSET_arm, SKY_IFU_arm - A spectral format table (Tag = 485s SPECTRAL_FORMAT_TAB_arm) - A master flat frame (Tag = 485s MASTER_FLAT_IFU_arm) - An order table frame(Tag = 485s ORDER_TABLE_EDGES_IFU_arm) - 3 wave solution frames, one per slitlet 485s (Tag = WAVE_TAB_ARC_IFU_slitlet_arm) where 'slitlet' is DOWN, 485s CEN or UP - [OPTIONAL] A dispersion table (Tag = DISP_TAB_IFU_arm) 485s - [OPTIONAL] A badpixel map (Tag = BADPIXEL_MAP_arm) Products : - 3 485s Spectrum order tables 2D (1 per slitlet), 485s PRO.CATG=ORDER2D_slitlet_IFU_arm - 3 Spectrum order tables 1D (1 per 485s slitlet), PRO.CATG=ORDER1D_slitlet_IFU_arm - 3 Spectrum merge tables 485s 2D (1 per slitlet), PRO.CATG=MERGE2D_slitlet_IFU_arm - 3 Spectrum 485s merge tables 1D (1 per slitlet), PRO.CATG=MERGE1D_slitlet_IFU_arm - 485s 1 Spectrum merge 3D, PRO.CATG=MERGE3D_IFU_arm 485s 485s Parameters: 485s keep-temp: If 'no', temporary files are deleted. (str; 485s default: 'no') 485s debug-level: Additional xshooter debug level. One of 485s 'none', 'low', 'medium', 'high' (str; 485s default: 'none') 485s time-stamp: Add timestamp to product file name. (bool; 485s default: False) 485s decode-bp: Integer representation of the bits to be 485s considered bad when decoding the bad pixel 485s mask pixel values. Most frequent codes 485s relevant for the user: 0: good pixel, 485s 8: pick-up noise, 16: cosmic-ray removed, 485s 32: cosmic-ray unremoved, 128: 485s calibration file defect, 256: hot pixel, 485s 512: dark pixel, 4096: A/D converted 485s saturation, 32768: non linear pixel, 485s 1048576: extrapolated flux in NIR, 4194304: 485s Interpolated flux during extraction. (int; 485s default: 2144337919) 485s pre-overscan-corr: pre-overscan correction. 0: no correction 485s 1: mean overscan correction 2: mean prescan 485s correction 3: (mean pre+mean overscan)/2 485s correction (int; default: 1) 485s stack-method: Method used to build master frame. (str; 485s default: 'median') 485s klow: Kappa used to clip low level values, when 485s method is set to 'mean' (float; default: 485s 5.0) 485s khigh: Kappa used to clip high level values, when 485s method is set to 'mean' (float; default: 485s 5.0) 485s crh-clip-kappa: Kappa value in sigma clipping during CRH 485s rejection using multiple frames (float; 485s default: 5.0) 485s crh-clip-niter: Number of iterations in sigma clipping 485s during CRH rejection using multiple frames 485s (int; default: 5) 485s crh-clip-frac: Minimal ratio of points accepted / total in 485s sigma clipping during CRH rejection using 485s multiple frames (float; default: 0.7) 485s background-edges-margin: X margin to order edge to define background 485s sampling points (int; default: 1) 485s background-poly-deg-y: Poly mode fit deg along Y. (int; default: 485s 9) 485s background-poly-deg-x: Poly mode fit deg along X. (int; default: 485s 9) 485s background-poly-kappa: Poly mode kappa value of kappa-sigma-clip 485s outliers removal. (float; default: 10.0) 485s removecrhsingle-sigmalim: Poisson fluctuation threshold to flag CRHs 485s (see van Dokkum, PASP,113,2001,p1420-27) 485s (float; default: 5.0) 485s removecrhsingle-flim: Minimum contrast between the Laplacian 485s image and the fine structure image that a 485s point must have to be flagged as CRH. (see 485s van Dokkum, PASP,113,2001,p1420-27) (float; 485s default: 2.0) 485s removecrhsingle-niter: Max number of iterations (int; default: 4) 485s rectify-kernel: Name of the Interpolation Kernel Used. 485s Possible values are: tanh, sinc, sinc2, 485s lanczos, hamming, hann. (str; default: 485s 'tanh') 485s rectify-radius: Rectify Interpolation radius [bin units]. 485s (float; default: 2.0) 485s rectify-bin-lambda: Wavelength step in the output spectrum [nm] 485s (float; default: 0.06) 485s rectify-bin-slit: Spatial step along the slit in the output 485s spectrum [arcsec] (float; default: 0.21) 485s localize-method: Localization method (MANUAL, MAXIMUM, 485s GAUSSIAN) used to detect the object 485s centroid and height on the slit (str; 485s default: 'MANUAL') 485s localize-chunk-nb: Number of chunks in the full spectrum to 485s localize the object (int; default: 10) 485s localize-thresh: Threshold relative to the peak intensity 485s below which the edges of the object are 485s detected for MAXIMUM localization (float; 485s default: 0.1) 485s localize-deg-lambda: Degree in lambda in the localization 485s polynomial expression slit=f(lambda), used 485s only for MAXIMUM and GAUSSIAN (int; 485s default: 0) 485s localize-slit-position: Object position on the slit for MANUAL 485s localization [arcsec] (float; default: 0.0) 485s localize-slit-hheight: Object half height on the slit for MANUAL 485s localization [arcsec] (float; default: 2.0) 485s localize-kappa: Kappa value for sigma clipping in the 485s localization polynomial fit (float; 485s default: 3.0) 485s localize-niter: Number of iterations for sigma clipping in 485s the localization polynomial fit (int; 485s default: 3) 485s localize-use-skymask: TRUE if we want to mask sky lines using 485s SKY_LINE_LIST file. (bool; default: False) 485s extract-method: Method used for extraction (LOCALIZATION, 485s NOD) (str; default: 'LOCALIZATION') 485s stdextract-interp-hsize: Half size of mask used to define object 485s cross order profile (int; default: 30) 485s shift-offsettab-low: Global shift of the lower slitlet slit 485s positions, relative to the central 485s one[arcsec]. (float; default: 0.0) 485s shift-offsettab-up: Global shift of the upper slitlet slit 485s positions, relative to the central 485s one[arcsec]. (float; default: 0.0) 485s compute-map: if TRUE recompute (wave and slit) maps from 485s the dispersion solution. If sky-subtract is 485s set to TRUE this must be set to TRUE. 485s (bool; default: True) 485s check-afc: Input AFC corrected model/wave solution and 485s science frame check.If TRUE the recipe 485s verify that the input mode/wave solution is 485s AFC corrected, its INS.OPTIi.NAME is 485s 'Pin_0.5 ', and its OBS.ID and 485s OBS.TARG.NAME values matches with the 485s corresponding values of the science frame. 485s (bool; default: True) 485s flat-method: method adopted for flat: (str; default: 485s 'master') 485s Author: P.Goldoni, L.Guglielmi, R. Haigron, F. Royer 485s 485s 485s Recipe xsh_cfg_recover: 485s version 3.5.3 485s Parameters: {'keep-temp': 'no', 'debug-level': 'none', 'time-stamp': False, 'decode-bp': 2144337919, 'first-anneal': False, 'arm': 'vis', 'name_i': 'line_xy_ord.txt', 'niter': 100000, 'coord_frame': 1, 'last-step': False, 'plot': False, 'ima_tresh_min': 40.0, 'cor_prescan': False, 'method': 'safefit', 'offx': 0.0, 'offy': 0.0, 'slit': 5, 'gfit_box_sy': 20, 'peak_line_fwhm': 4, 'peak_kappa': 5.0, 'peak_factor': 10.0, 'peak_match_x': 10, 'peak_match_y': 20, 'pm_ord_sel': 1, 'pm_radius': 20.0, 'pm_tolerance': 0.1, 'anneal_niter': 1000} 485s Docstring: Optimizes a model configuration to match data taken after a major 485s format change 485s 485s This recipe creates a wavelength solution and an order table. Input 485s Frames : - [UVB, VIS] A RAW frame (Format = RAW, Tag = FMTCHK_arm) 485s - [NIR] Two RAW frames (Format = RAW, Tag = 485s FMTCHK_arm_ON,FMTCHK_arm_OFF) - The old model cfg table (Format = 485s TABLE, Tag = XSH_MOD_CFG_TAB_arm) - A ref. line list. The model 485s computes corresponding positions (Format = TABLE, Tag = 485s ARC_LINE_LIST_arm) - [UVB,VIS,OPTIONAL] A master bias (Format = 485s PRE, Tag = MASTER_BIAS_arm) - [UVB,VIS,OPTIONAL] A master dark 485s (Format = PRE, Tag = MASTER_DARK_arm) - [OPTIONAL-Required if 485s method=pm,peaks] An order table (Format = TABLE, Tag = 485s ORDER_TAB_CENTR_arm) - [OPTIONAL-Required if first-anneal=TRUE] 485s A table with measured line positions (Format = TABLE, Tag = 485s XSH_MEASCOORD_arm) Products : - if first-anneal=FALSE & last- 485s step=FALSE nothing - if first-anneal=TRUE & last-step=FALSE 485s an optimized model configuration, PRO.CATG=XSH_MOD_CFG_arm - if 485s last-step=TRUE an optimized model configuration, 485s PRO.CATG=XSH_MOD_FAN_arm an optimized model configuration, 485s PRO.CATG=XSH_MOD_CFG_OPT_arm an quality control table, 485s PRO.CATG=MODEL_GUESS_XY_arm the model theoretical map 485s corresponding to the optimized model config, 485s PRO.CATG=THEO_TAB_MULT_arm, THEO_TAB_IFU_arm, and THEO_TAB_SING_arm 485s 485s Parameters: 485s keep-temp: If 'no', temporary files are deleted. (str; default: 485s 'no') 485s debug-level: Additional xshooter debug level. One of 'none', 485s 'low', 'medium', 'high' (str; default: 'none') 485s time-stamp: Add timestamp to product file name. (bool; default: 485s False) 485s decode-bp: Integer representation of the bits to be considered 485s bad when decoding the bad pixel mask pixel values. 485s Most frequent codes relevant for the user: 0: good 485s pixel, 8: pick-up noise, 16: cosmic-ray removed, 485s 32: cosmic-ray unremoved, 128: calibration file 485s defect, 256: hot pixel, 512: dark pixel, 4096: 485s A/D converted saturation, 32768: non linear pixel, 485s 1048576: extrapolated flux in NIR, 4194304: 485s Interpolated flux during extraction. (int; default: 485s 2144337919) 485s first-anneal: Run first annealing (TRUE) or not (FALSE)See recipe 485s man-page % Input frames (bool; default: False) 485s arm: Arm setting: (str; default: 'vis') 485s name_i: Filename with wavelength,x,y,order: (str; default: 485s 'line_xy_ord.txt') 485s niter: No of iterations for first anneal (int; default: 485s 100000) 485s coord_frame: Co-ordinate frame for centroids (0=raw,1=pre) (int; 485s default: 1) 485s last-step: Run last step (TRUE) or not (FALSE)See recipe man- 485s page % Input frames (bool; default: False) 485s plot: Display plot (TRUE) or not (FALSE) (bool; default: 485s False) 485s ima_tresh_min: Min thresh raw image. (float; default: 40.0) 485s cor_prescan: Correct for prescan (bool; default: False) 485s method: Model predictions correction method. safefit: safe 485s fitgfit: 2D Gaussian line fitpeaks: line peaks 485s detectionpm: line peaks detection & pattern match 485s (str; default: 'safefit') 485s offx: X offset to model predictions (float; default: 0.0) 485s offy: Y offset to model predictions (float; default: 0.0) 485s slit: Extraction slit (int; default: 5) 485s gfit_box_sy: Gauss fit Y search box size for lines on actual frame 485s (int; default: 20) 485s peak_line_fwhm: The FWHM used in line convolution, in pixel units 485s (int; default: 4) 485s peak_kappa: The kappa value, used to identify line peaks if 485s max>kappa*stdev+median, max is a valid peak where 485s max, stdev,median are computed on the extracted 485s spectrum (float; default: 5.0) 485s peak_factor: Relative Intensity threshold factor for line peaks 485s detection (float; default: 10.0) 485s peak_match_x: Radii for line peaks matches (int; default: 10) 485s peak_match_y: Radii for line peaks matches (int; default: 20) 485s pm_ord_sel: From guess line and peaks positions are extracted the 485s ones in the range [ord_min,ord_min+pm_ord_sel] (int; 485s default: 1) 485s pm_radius: Search radius applied in final pattern matching (data 485s units). (float; default: 20.0) 485s pm_tolerance: Max relative difference of angles and scales from 485s their median value for match acceptance. (float; 485s default: 0.1) 485s anneal_niter: Simulated annealing iterations (int; default: 1000) 485s Author: A. Modigliani, P. Bristow 485s 485s 485s Recipe xsh_2dmap: 485s version 3.5.3 485s Parameters: {'keep-temp': 'no', 'debug-level': 'none', 'time-stamp': False, 'decode-bp': 2144337919, 'pre-overscan-corr': 1, 'detectarclines-fit-win-hsize': 6, 'detectarclines-search-win-hsize': 3, 'detectarclines-running-median-hsize': 0, 'detectarclines-wavesol-deg-lambda': 5, 'detectarclines-wavesol-deg-order': 4, 'detectarclines-wavesol-deg-slit': 1, 'detectarclines-min-sn': 5.0, 'detectarclines-find-lines-center': 'gaussian', 'detectarclines-clip-sigma': 2.0, 'detectarclines-clip-niter': 0, 'detectarclines-clip-frac': 0.7, 'dispersol-deg-x': 4, 'dispersol-deg-y': 5, 'model-maxit': 500, 'model-anneal-factor': 1.0, 'model-scenario': 4} 485s Docstring: Creates a wavelength and spatial resampling solution, a clean arc line 485s list 485s 485s This recipe creates a wavelength and spatial resampling solution, a 485s clean arc line list. a residual map and a wave map. Input Frames: 485s Raw Frame (Tag = WAVE_arm) Arc Line List (Tag = ARC_LINE_LIST_arm) 485s Order Table (Tag = ORDER_TAB_EDGES_arm) Master Bias (Tag = 485s MASTER_BIAS_arm) [poly mode] Wave Solution (Tag = 485s WAVE_TAB_GUESS_arm) [poly mode] Theoretical Map (Tag = 485s THEO_TAB_MULT_arm) [physical model mode] model cfg table (Tag = 485s XSH_MOD_CFG_OPT_FMT_arm) [OPTIONAL] Master Dark (Tag = 485s MASTER_DARK_arm) [OPTIONAL] Non-linear Bad Pixel Map (Tag = 485s BP_MAP_NL_arm) [OPTIONAL] Reference Bad Pixel Map (Tag = 485s BP_MAP_RP_arm) [OPTIONAL] Reference list to monitor line intensity 485s (Tag = ARC_LINE_LIST_INTMON_arm) Prepare the frames. For UVB,VIS: 485s Subtract Master Bias. Subtract Master Dark. For NIR: Subtract ON 485s OFF Compute Wavelength Solution, clean arc line list, residual 485s table, wave map Products: Wavelength table solution, PRO.CATG = 485s WAVE_TAB_2D_arm [poly mode] A Residual tab, 485s PRO.CATG=WAVE_RESID_TAB_SLIT_arm A Wavelelength image map, 485s PRO.CATG=WAVE_MAP_arm. [if model-wavemap-compute=TRUE] A Slit image 485s map, PRO.CATG=SLIT_MAP_NIR [if model-wavemap-compute=TRUE] A 485s Dispersion solution table, PRO.CATG=DISP_TAB_NIR An Arc frame in 485s pre format bias subtracted, PRO.CATG=WAVE_ON_arm The optimized 485s model cfg frame, PRO.CATG=XSH_MOD_CFG_OPT_2D_arm [if physical model 485s mode]. 485s 485s Parameters: 485s keep-temp: If 'no', temporary files are 485s deleted. (str; default: 'no') 485s debug-level: Additional xshooter debug level. 485s One of 'none', 'low', 'medium', 485s 'high' (str; default: 'none') 485s time-stamp: Add timestamp to product file 485s name. (bool; default: False) 485s decode-bp: Integer representation of the 485s bits to be considered bad when 485s decoding the bad pixel mask 485s pixel values. Most frequent 485s codes relevant for the user: 485s 0: good pixel, 8: pick-up 485s noise, 16: cosmic-ray removed, 485s 32: cosmic-ray unremoved, 128: 485s calibration file defect, 256: 485s hot pixel, 512: dark pixel, 485s 4096: A/D converted saturation, 485s 32768: non linear pixel, 485s 1048576: extrapolated flux in 485s NIR, 4194304: Interpolated flux 485s during extraction. (int; 485s default: 2144337919) 485s pre-overscan-corr: pre-overscan correction. 0: no 485s correction 1: mean overscan 485s correction 2: mean prescan 485s correction 3: (mean pre+mean 485s overscan)/2 correction (int; 485s default: 1) 485s detectarclines-fit-win-hsize: Half window size (HWS) in pixels 485s for the line 2D fitting window 485s (total window size = 2*HWS+1) 485s (int; default: 6) 485s detectarclines-search-win-hsize: Half window size (HWS) in pixels 485s for the line search box around 485s the expected position (total 485s window size = 2*HWS+1) [bin 485s units] (int; default: 3) 485s detectarclines-running-median-hsize: Half window size in pixels (HWS) 485s for the running median box (int; 485s default: 0) 485s detectarclines-wavesol-deg-lambda: Degree in lambda in the 485s polynomial solution 485s X=f(lambda,order,slit) and 485s Y=f(lambda,order,slit) (POLY 485s mode) (int; default: 5) 485s detectarclines-wavesol-deg-order: Degree in order in the 485s polynomial solution 485s X=f(lambda,order,slit) and 485s Y=f(lambda,order,slit) (POLY 485s mode) (int; default: 4) 485s detectarclines-wavesol-deg-slit: Degree in slit in the polynomial 485s solution X=f(lambda,order,slit) 485s and Y=f(lambda,order,slit) (POLY 485s mode) (int; default: 1) 485s detectarclines-min-sn: Minimum signal-to-noise ratio to 485s filter lines [xsh_predict: 485s UVB,VIS=5,NIR=4; xsh_2dmap: 485s UVB=3, VIS=6, NIR=10] (float; 485s default: 5.0) 485s detectarclines-find-lines-center: Method used to find the center 485s of the lines: gaussian, 485s barycenter. Gaussian method 485s applies a Gaussian fit to the 485s line. Barycenter method computes 485s the line centroid. (str; 485s default: 'gaussian') 485s detectarclines-clip-sigma: Kappa value in sigma clipping 485s during the polynomial solution 485s fit (POLY mode) (float; default: 485s 2.0) 485s detectarclines-clip-niter: Number of iterations in sigma 485s clipping during the polynomial 485s solution fit (POLY mode) (int; 485s default: 0) 485s detectarclines-clip-frac: Minimal fractions of bad pixel 485s allowed in sigma clipping 485s duringthe polynomial solution 485s fit (POLY mode) (float; default: 485s 0.7) 485s dispersol-deg-x: Degree in X in the polynomial 485s dispersion solution 485s lambda=f(X,Y) and slit=f(X,Y) 485s (int; default: 4) 485s dispersol-deg-y: Degree in Y in the polynomial 485s dispersion solution 485s lambda=f(X,Y) and slit=f(X,Y) 485s (int; default: 5) 485s model-maxit: Number/10 of annealing 485s iterations (physical model 485s mode). (int; default: 500) 485s model-anneal-factor: Multiplier applied to the 485s automatic parameter ranges (i.e. 485s when scenario!=0). For routine 485s operations should be 1.0. 485s (physical model mode). (float; 485s default: 1.0) 485s model-scenario: selects preset flag and range 485s combinations appropriate to 485s common scenarios: 0 - No 485s scenario, input cfg flags and 485s limitsused. 1 - scenario 485s appropriate for the 485s startuprecipe (large ranges for 485s parameters affecting single ph 485s exposures, dist coeff fixed) 2 485s - Like 1, but includes 485s parameters affecting all ph 485s positions 3 - Scenario for use 485s in fine tuning cfg to match 485s routine single pinhole 485s exposures. All parameters 485s affecting 1ph exposures except 485s dist coeffs are included and 485s parameter ranges are small. (For 485s use by predict in 1ph case). 4 485s - Like 3 but includes parameters 485s affecting all ph positions 485s (Standard for use by predict in 485s 9ph case and 2dmap). (int; 485s default: 4) 485s Author: R. Haigron, P. Bristow, D. Bramich, A. Modigliani 485s 485s 485s Recipe xsh_scired_slit_nod: 485s version 3.5.3 485s Parameters: {'keep-temp': 'no', 'debug-level': 'none', 'time-stamp': False, 'decode-bp': 1741684735, 'pre-overscan-corr': 1, 'stack-method': 'median', 'klow': 5.0, 'khigh': 5.0, 'removecrhsingle-sigmalim': 20.0, 'removecrhsingle-flim': 2.0, 'removecrhsingle-niter': 4, 'rectify-kernel': 'tanh', 'rectify-radius': 2.0, 'rectify-bin-lambda': -1.0, 'rectify-bin-slit': -1.0, 'rectify-fast': True, 'localize-method': 'MANUAL', 'localize-chunk-nb': 10, 'localize-thresh': 0.1, 'localize-deg-lambda': 0, 'localize-slit-position': 0.0, 'localize-slit-hheight': 2.0, 'localize-kappa': 3.0, 'localize-niter': 3, 'localize-use-skymask': False, 'localize-nod-throw': 0.0, 'extract-method': 'NOD', 'stdextract-interp-hsize': 30, 'combinenod-throwlist': 'throwlist.asc', 'combinenod-method': 'MEAN', 'max-slit': 5.7, 'min-slit': -5.3, 'correct-sky-by-median': True, 'cut-uvb-spectrum': True, 'generate-SDP-format': False, 'dummy-association-keys': 0, 'scale-combine-nod-method': 1} 485s Docstring: Reduce science frames in SLIT configuration and nod mode 485s 485s This recipe reduces science exposure in SLIT configuration and NOD 485s mode Input Frames : - A set of n Science frames ( n even ), Tag = 485s OBJECT_SLIT_NOD_arm - Spectral format table (Tag = 485s SPECTRAL_FORMAT_TAB_arm) - [UVB,VIS] A master bias frame (Tag = 485s MASTER_BIAS_arm) - A master flat frame (Tag = MASTER_FLAT_SLIT_arm) 485s - An order table frame(Tag = ORDER_TABLE_EDGES_SLIT_arm) - [poly 485s mode] A wave solution frame(Tag = WAVE_TAB_2D_arm) - [poly mode] A 485s wave map frame(Tag = WAVE_MAP_arm) - [poly mode] A disp table 485s frame(Tag = DISP_TAB_arm) - [physical model mode]A model cfg table 485s (Format = TABLE, Tag = XSH_MOD_CFG_TAB_arm) - [OPTIONAL] A non- 485s linear badpixel map (Tag = BP_MAP_NL_arm) - [OPTIONAL] A reference 485s badpixel map (Tag = BP_MAP_RP_arm) - [OPTIONAL] The instrument 485s response table (Tag = RESPONSE_MERGE1D_SLIT_arm) - [OPTIONAL] An 485s atmospheric extinction table (Tag = ATMOS_EXT_arm) - [OPTIONAL] A 485s telluric mask (Tag = TELL_MASK_arm) - [OPTIONAL] The instrument 485s master response table (Tag = MRESPONSE_MERGE1D_SLIT_arm). If both 485s master and individual response are provided the individual response is 485s preferred. Products : - PREFIX_ORDER2D_arm (2 dimension) - 485s PREFIX_ORDER1D_arm (1 dimension) - PREFIX_MERGE2D_arm (2 dimension) 485s - PREFIX_MERGE1D_arm (1 dimension) - PREFIX_WAVE_MAP_arm, wave map 485s image - PREFIX_SLIT_MAP_arm, slit map image - [OPTIONAL, if 485s response and atm ext are provided] PREFIX_FLUX_ORDER2D_arm (2 485s dimension) - [OPTIONAL, if response and atm ext are provided] 485s PREFIX_FLUX_ORDER1D_arm (1 dimension) - [OPTIONAL, if response and 485s atm ext are provided] PREFIX_FLUX_MERGE2D_arm (2 dimension) - 485s [OPTIONAL, if response and atm ext are provided] 485s PREFIX_FLUX_MERGE1D_arm (1 dimension) - where PREFIX is SCI, FLUX, 485s TELL if input raw DPR.TYPE contains OBJECT or FLUX or TELLURIC 485s 485s Parameters: 485s keep-temp: If 'no', temporary files are deleted. (str; 485s default: 'no') 485s debug-level: Additional xshooter debug level. One of 485s 'none', 'low', 'medium', 'high' (str; 485s default: 'none') 485s time-stamp: Add timestamp to product file name. (bool; 485s default: False) 485s decode-bp: Integer representation of the bits to be 485s considered bad when decoding the bad pixel 485s mask pixel values. Most frequent codes 485s relevant for the user: 0: good pixel, 485s 8: pick-up noise, 16: cosmic-ray removed, 485s 32: cosmic-ray unremoved, 128: 485s calibration file defect, 256: hot pixel, 485s 512: dark pixel, 4096: A/D converted 485s saturation, 32768: non linear pixel, 485s 1048576: extrapolated flux in NIR, 4194304: 485s Interpolated flux during extraction. (int; 485s default: 1741684735) 485s pre-overscan-corr: pre-overscan correction. 0: no correction 485s 1: mean overscan correction 2: mean prescan 485s correction 3: (mean pre+mean overscan)/2 485s correction (int; default: 1) 485s stack-method: Method used to build master frame. (str; 485s default: 'median') 485s klow: Kappa used to clip low level values, when 485s method is set to 'mean' (float; default: 485s 5.0) 485s khigh: Kappa used to clip high level values, when 485s method is set to 'mean' (float; default: 485s 5.0) 485s removecrhsingle-sigmalim: Poisson fluctuation threshold to flag CRHs 485s (see van Dokkum, PASP,113,2001,p1420-27) 485s (float; default: 20.0) 485s removecrhsingle-flim: Minimum contrast between the Laplacian 485s image and the fine structure image that a 485s point must have to be flagged as CRH. (see 485s van Dokkum, PASP,113,2001,p1420-27) (float; 485s default: 2.0) 485s removecrhsingle-niter: Max number of iterations (int; default: 4) 485s rectify-kernel: Name of the Interpolation Kernel Used. 485s Possible values are: tanh, sinc, sinc2, 485s lanczos, hamming, hann. (str; default: 485s 'tanh') 485s rectify-radius: Rectify Interpolation radius [bin units]. 485s (float; default: 2.0) 485s rectify-bin-lambda: Wavelength step in the output spectrum [nm] 485s (float; default: -1.0) 485s rectify-bin-slit: Spatial step along the slit in the output 485s spectrum [arcsec] (float; default: -1.0) 485s rectify-fast: Fast if TRUE (Rect[B-A] = -Rect[A-B]), in 485s that case only entire pixel shifts are 485s applied. (bool; default: True) 485s localize-method: Localization method (MANUAL, MAXIMUM, 485s GAUSSIAN) used to detect the object 485s centroid and height on the slit (str; 485s default: 'MANUAL') 485s localize-chunk-nb: Number of chunks in the full spectrum to 485s localize the object (int; default: 10) 485s localize-thresh: Threshold relative to the peak intensity 485s below which the edges of the object are 485s detected for MAXIMUM localization (float; 485s default: 0.1) 485s localize-deg-lambda: Degree in lambda in the localization 485s polynomial expression slit=f(lambda), used 485s only for MAXIMUM and GAUSSIAN (int; 485s default: 0) 485s localize-slit-position: Object position on the slit for MANUAL 485s localization [arcsec]. It refers to the 485s object position in the first frame of the 485s nodding sequence (float; default: 0.0) 485s localize-slit-hheight: Object half height on the slit for MANUAL 485s localization [arcsec] (float; default: 2.0) 485s localize-kappa: Kappa value for sigma clipping in the 485s localization polynomial fit (float; 485s default: 3.0) 485s localize-niter: Number of iterations for sigma clipping in 485s the localization polynomial fit (int; 485s default: 3) 485s localize-use-skymask: TRUE if we want to mask sky lines using 485s SKY_LINE_LIST file. (bool; default: False) 485s localize-nod-throw: Step (arcsec) between A and B images in 485s nodding mode. (float; default: 0.0) 485s extract-method: Method used for extraction (LOCALIZATION, 485s NOD) (str; default: 'NOD') 485s stdextract-interp-hsize: Half size of mask used to define object 485s cross order profile (int; default: 30) 485s combinenod-throwlist: Name of ascii file containing the list of 485s throw shifts with respect to the first 485s exposure (str; default: 'throwlist.asc') 485s combinenod-method: Combination method for nodded frames 485s (MEDIAN, MEAN) (str; default: 'MEAN') 485s max-slit: Lower Slit Limit (localize and extract 485s (float; default: 5.7) 485s min-slit: Upper Slit Limit (localize and extract 485s (float; default: -5.3) 485s correct-sky-by-median: TRUE if the resampled spectrum at each 485s wavelength is median subtracted to remove 485s sky lines (bool; default: True) 485s cut-uvb-spectrum: TRUE if recipe cuts the UVB spectrum at 556 485s nm (dichroich) (bool; default: True) 485s generate-SDP-format: TRUE if additional files should be 485s generated in Science Data Product (SDP) 485s format. (bool; default: False) 485s dummy-association-keys: Sets the number of dummy (empty) ASSONi, 485s ASSOCi and ASSOMi keywords to create. (int; 485s default: 0) 485s scale-combine-nod-method: frame scaling when nod frames are combined: 485s 0 (no-scaling); 1 (scaling) (int; default: 485s 1) 485s Author: P.Goldoni, L.Guglielmi, R. Haigron, F. Royer, D. Bramich A. Modigliani 485s 485s 485s Recipe xsh_scired_ifu_offset: 485s version 3.5.3 485s Parameters: {'keep-temp': 'no', 'debug-level': 'none', 'time-stamp': False, 'decode-bp': 2144337919, 'pre-overscan-corr': 1, 'stack-method': 'median', 'klow': 5.0, 'khigh': 5.0, 'crh-clip-kappa': 5.0, 'crh-clip-niter': 5, 'crh-clip-frac': 0.7, 'removecrhsingle-sigmalim': 5.0, 'removecrhsingle-flim': 2.0, 'removecrhsingle-niter': 4, 'rectify-kernel': 'tanh', 'rectify-radius': 2.0, 'rectify-bin-lambda': -1.0, 'rectify-bin-slit': -1.0, 'localize-method': 'MANUAL', 'localize-chunk-nb': 10, 'localize-thresh': 0.1, 'localize-deg-lambda': 0, 'localize-slit-position': 0.0, 'localize-slit-hheight': 2.0, 'localize-kappa': 3.0, 'localize-niter': 3, 'localize-use-skymask': False, 'compute-map': False, 'trace-obj': False, 'check-afc': True, 'cut-uvb-spectrum': True} 485s Docstring: Reduce science IFU on-off exposures and build a 3D cube 485s 485s This recipe Reduce science IFU on-off exposures and build a 3D cube 485s Input Frames : - A set of 2xn Science frames, Tag = 485s OBJECT_IFU_OFFSET_arm, SKY_IFU_arm - A spectral format table (Tag = 485s SPECTRAL_FORMAT_TAB_arm) - A master flat frame (Tag = 485s MASTER_FLAT_IFU_arm) - An order table frame(Tag = 485s ORDER_TABLE_EDGES_IFU_arm) - 3 wave solution frames, one per slitlet 485s (Tag = WAVE_TAB_ARC_IFU_slitlet_arm) where 'slitlet' is DOWN, 485s CEN or UP - [OPTIONAL] A dispersion table (Tag = DISP_TAB_IFU_arm) 485s - [OPTIONAL] A non-linear badpixel map (Tag = BP_MAP_NL_arm) - 485s [OPTIONAL] A reference badpixel map (Tag = BP_MAP_RP_arm) Products : 485s - Merged 3D data cube (PREFIX_MERGE3D_DATA_OBJ_arm) - QC Traces of 3D 485s data cube (PREFIX_MERGE3D_TRACE_OBJ_arm) - Order by order 3D data 485s cube (PREFIX_ORDER3D_DATA_OBJ_arm) - Order by order 3D qual cube 485s (IFU_CFG_COR_arm) - Order by order 3D qual cube 485s (PREFIX_MERGE3D_DATA_SKY_arm) - where PREFIX is SCI, FLUX, TELL if 485s input raw DPR.TYPE contains OBJECT or FLUX or TELLURIC - 1 Spectrum 485s merge 3D, PRO.CATG=MERGE3D_IFU_arm 485s 485s Parameters: 485s keep-temp: If 'no', temporary files are deleted. (str; 485s default: 'no') 485s debug-level: Additional xshooter debug level. One of 485s 'none', 'low', 'medium', 'high' (str; 485s default: 'none') 485s time-stamp: Add timestamp to product file name. (bool; 485s default: False) 485s decode-bp: Integer representation of the bits to be 485s considered bad when decoding the bad pixel 485s mask pixel values. Most frequent codes 485s relevant for the user: 0: good pixel, 485s 8: pick-up noise, 16: cosmic-ray removed, 485s 32: cosmic-ray unremoved, 128: 485s calibration file defect, 256: hot pixel, 485s 512: dark pixel, 4096: A/D converted 485s saturation, 32768: non linear pixel, 485s 1048576: extrapolated flux in NIR, 4194304: 485s Interpolated flux during extraction. (int; 485s default: 2144337919) 485s pre-overscan-corr: pre-overscan correction. 0: no correction 485s 1: mean overscan correction 2: mean prescan 485s correction 3: (mean pre+mean overscan)/2 485s correction (int; default: 1) 485s stack-method: Method used to build master frame. (str; 485s default: 'median') 485s klow: Kappa used to clip low level values, when 485s method is set to 'mean' (float; default: 485s 5.0) 485s khigh: Kappa used to clip high level values, when 485s method is set to 'mean' (float; default: 485s 5.0) 485s crh-clip-kappa: Kappa value in sigma clipping during CRH 485s rejection using multiple frames (float; 485s default: 5.0) 485s crh-clip-niter: Number of iterations in sigma clipping 485s during CRH rejection using multiple frames 485s (int; default: 5) 485s crh-clip-frac: Minimal ratio of points accepted / total in 485s sigma clipping during CRH rejection using 485s multiple frames (float; default: 0.7) 485s removecrhsingle-sigmalim: Poisson fluctuation threshold to flag CRHs 485s (see van Dokkum, PASP,113,2001,p1420-27) 485s (float; default: 5.0) 485s removecrhsingle-flim: Minimum contrast between the Laplacian 485s image and the fine structure image that a 485s point must have to be flagged as CRH. (see 485s van Dokkum, PASP,113,2001,p1420-27) (float; 485s default: 2.0) 485s removecrhsingle-niter: Max number of iterations (int; default: 4) 485s rectify-kernel: Name of the Interpolation Kernel Used. 485s Possible values are: tanh, sinc, sinc2, 485s lanczos, hamming, hann. (str; default: 485s 'tanh') 485s rectify-radius: Rectify Interpolation radius [bin units]. 485s (float; default: 2.0) 485s rectify-bin-lambda: Wavelength step in the output spectrum [nm] 485s (float; default: -1.0) 485s rectify-bin-slit: Spatial step along the slit in the output 485s spectrum [arcsec] (float; default: -1.0) 485s localize-method: Localization method (MANUAL, MAXIMUM, 485s GAUSSIAN) used to detect the object 485s centroid and height on the slit (str; 485s default: 'MANUAL') 485s localize-chunk-nb: Number of chunks in the full spectrum to 485s localize the object (int; default: 10) 485s localize-thresh: Threshold relative to the peak intensity 485s below which the edges of the object are 485s detected for MAXIMUM localization (float; 485s default: 0.1) 485s localize-deg-lambda: Degree in lambda in the localization 485s polynomial expression slit=f(lambda), used 485s only for MAXIMUM and GAUSSIAN (int; 485s default: 0) 485s localize-slit-position: Object position on the slit for MANUAL 485s localization [arcsec] (float; default: 0.0) 485s localize-slit-hheight: Object half height on the slit for MANUAL 485s localization [arcsec] (float; default: 2.0) 485s localize-kappa: Kappa value for sigma clipping in the 485s localization polynomial fit (float; 485s default: 3.0) 485s localize-niter: Number of iterations for sigma clipping in 485s the localization polynomial fit (int; 485s default: 3) 485s localize-use-skymask: TRUE if we want to mask sky lines using 485s SKY_LINE_LIST file. (bool; default: False) 485s compute-map: if TRUE recompute (wave and slit) maps from 485s the dispersion solution. If sky-subtract is 485s set to TRUE this must be set to TRUE. 485s (bool; default: False) 485s trace-obj: if TRUE trace object position on each IFU 485s slice. In this case order TAB edges is 485s required (bool; default: False) 485s check-afc: Input AFC corrected model/wave solution and 485s science frame check. If TRUE the recipe 485s verify that the input mode/wave solution is 485s AFC corrected, its INS.OPTIi.NAME is 485s 'Pin_0.5 ', and its OBS.ID and 485s OBS.TARG.NAME values matches with the 485s corresponding values of the science frame. 485s (bool; default: True) 485s cut-uvb-spectrum: TRUE if recipe cuts the UVB spectrum at 556 485s nm (dichroich) (bool; default: True) 485s Author: A.Modigliani, J.Vernet, P. Bristow 485s 485s 485s Recipe xsh_wavecal: 485s version 3.5.3 485s Parameters: {'keep-temp': 'no', 'debug-level': 'none', 'time-stamp': False, 'decode-bp': 2144337919, 'pre-overscan-corr': 1, 'followarclines-search-window-half-size': 13, 'followarclines-order-edges-mask': 3, 'followarclines-min-sn': -1.0, 'tilt-clip-kappa': 2.5, 'tilt-clip-niter': 5, 'tilt-clip-frac': 0.7, 'specres-clip-kappa': 2.5, 'specres-clip-niter': 5, 'specres-clip-frac': 0.7} 486s Docstring: Compute arclines tilt and instrument resolution 486s 486s This recipe detects and follow arc lines in a fully illuminated slit 486s frame. Input Frames: Raw frame (Tag = ARC_SLIT_arm) Arc Line List 486s (Tag = ARC_LINE_LIST_arm) Master Bias (Tag = MASTER_BIAS_arm) 486s [OPTIONAL] Master Dark (Tag = MASTER_DARK_arm) Order Table (Tag = 486s ORDER_TABLE_EDGES_arm) [poly mode] Wave Solution (Tag = 486s WAVE_TAB_2D_arm) [poly mode] Theoretical Map (Tag = 486s THEO_TAB_spec_arm, spec=SING/IFU) [physical model mode] Model cfg 486s tab (Tag = XSH_MOD_CFG_TAB_arm) - [OPTIONAL] A non-linear badpixel 486s map (Tag = BP_MAP_NL_arm) - [OPTIONAL] A reference badpixel map (Tag 486s = BP_MAP_RP_arm) [OPTIONAL-To compute spectral resolution] 486s Dispersion Table Frame (Tag = DISP_TAB_arm) Prepare PRE structures. 486s Subtract the master Dark (UVB, VIS and NIR) Substract the master Bias 486s (UVB and VIS) Divide by Flat. Detect and follow arc lines. Products: 486s Wavelength solution, PRO.CATG = WAVE_TAB_ARC_SLIT_arm [if poly mode] 486s Linetilt list, PRO.CATG = TILT_TAB_SLIT_arm Residuals table, 486s PRO.CATG = RESID_TAB_GOOD_LINES_arm Wave Map, PRO.CATG = 486s WAVE_MAP_arm [if model-wavemap-compute=TRUE] In case of IFU mode 486s cdata previous producs repat for each IFU slices Arc frame, Bias 486s subtracted in PRE format, PRO.CATG = ARC_BIAS_SUBTRACT_arm If 486s arm=UVB/VIS and PRO.CATG=ARC_NIR_ON if arm=NIR Arc frame, Bias 486s subtracted, FLAT-FIELDED, PRO.CATG = WAVECAL_FLATFIELDED_arm 486s 486s Parameters: 486s keep-temp: If 'no', temporary files are 486s deleted. (str; default: 'no') 486s debug-level: Additional xshooter debug 486s level. One of 'none', 'low', 486s 'medium', 'high' (str; 486s default: 'none') 486s time-stamp: Add timestamp to product file 486s name. (bool; default: False) 486s decode-bp: Integer representation of the 486s bits to be considered bad 486s when decoding the bad pixel 486s mask pixel values. Most 486s frequent codes relevant for 486s the user: 0: good pixel, 486s 8: pick-up noise, 16: 486s cosmic-ray removed, 32: 486s cosmic-ray unremoved, 128: 486s calibration file defect, 256: 486s hot pixel, 512: dark pixel, 486s 4096: A/D converted 486s saturation, 32768: non linear 486s pixel, 1048576: 486s extrapolated flux in NIR, 486s 4194304: Interpolated flux 486s during extraction. (int; 486s default: 2144337919) 486s pre-overscan-corr: pre-overscan correction. 0: 486s no correction 1: mean 486s overscan correction 2: mean 486s prescan correction 3: (mean 486s pre+mean overscan)/2 486s correction (int; default: 1) 486s followarclines-search-window-half-size: Half window size (HWS) in 486s pixels (Y axis) of search 486s window for each line. (int; 486s default: 13) 486s followarclines-order-edges-mask: Nb of pixels suppressed (X) 486s from edges of search window. 486s (int; default: 3) 486s followarclines-min-sn: Minimum Signal over Noise 486s ratio at center to keep the 486s line (6 for IFU, 15 for 486s SLIT). (float; default: -1.0) 486s tilt-clip-kappa: Multiple of sigma in sigma 486s clipping for evaluate tilt 486s (float; default: 2.5) 486s tilt-clip-niter: Number of iterations in sigma 486s clipping for evaluate tilt 486s (int; default: 5) 486s tilt-clip-frac: Minimal fractions of points 486s accepted / total in sigma 486s clipping for evaluate tilt 486s (float; default: 0.7) 486s specres-clip-kappa: Multiple of sigma in sigma 486s clipping for evaluate 486s spectral resolution (float; 486s default: 2.5) 486s specres-clip-niter: Number of iterations in sigma 486s clipping for evaluate 486s spectral resolution (int; 486s default: 5) 486s specres-clip-frac: Minimal fractions of points 486s accepted / total in sigma 486s clipping for evaluate 486s spectral resolution (float; 486s default: 0.7) 486s Author: L.Guglielmi 486s 486s 486s Recipe xsh_flexcomp: 486s version 3.5.3 486s Parameters: {'keep-temp': 'no', 'debug-level': 'none', 'time-stamp': False, 'decode-bp': 2144337919, 'pre-overscan-corr': 1, 'detectarclines-fit-win-hsize': 6, 'detectarclines-search-win-hsize': 3, 'detectarclines-running-median-hsize': 0, 'detectarclines-wavesol-deg-lambda': 5, 'detectarclines-wavesol-deg-order': 5, 'detectarclines-min-sn': 5.0, 'detectarclines-find-lines-center': 'gaussian', 'detectarclines-clip-sigma': 2.0, 'detectarclines-clip-niter': 10, 'detectarclines-clip-frac': 0.7, 'dispersol-deg-x': 4, 'dispersol-deg-y': 5, 'model-maxit': 1000, 'model-anneal-factor': 1.0, 'model-scenario': 3} 486s Docstring: Compute the flexure of the instrument 486s 486s This recipe computes the flexure of the instrument and correct CAL 486s files. Input Frames : - [UVB, VIS] One RAW frame (Format = RAW, 486s Tag = AFF_ATT_arm) - [NIR] Two RAW frames ((Format = RAW, Tag = 486s AFC_ATT_arm_ON,AFC_ATT_arm_OFF) - An arc line list (Format = 486s TABLE, Tag = ARC_LINE_LIST_AFC_arm) - A spectral format table 486s frame (Format = TABLE, Tag = SPECTRAL_FORMAT_TAB_arm) - [UVB,VIS] 486s A master bias (Format = PRE, Tag = MASTER_BIAS_arm) - [UVB,VIS] A 486s master dark (Format = PRE, Tag = MASTER_DARK_arm) - An order table 486s frame (Format = TABLE, Tag = ORDER_TAB_EDGES_IFU_arm) - [OPTIONAL] A 486s non-linear badpixel map (Tag = BP_MAP_NL_arm) - [OPTIONAL] A 486s reference badpixel map (Tag = BP_MAP_RP_arm) - [poly mode] A wave 486s solution frame (Format = TABLE, Tag = WAVE_TAB_2D_arm) - [physical 486s model mode] A model cfg table (Format = TABLE, Tag = 486s XSH_MOD_CFG_OPT_2D_arm) Products : - [poly mode] An updated 486s wave solution frame (Format = TABLE, Tag = WAVE_TAB_AFC_arm) - 486s [physical model mode] An updated model cfg table (Format = TABLE, Tag 486s = XSH_MOD_CFG_OPT_AFC_arm) - An updated order table frame (Format 486s = TABLE, Tag = ORDER_TAB_AFC_IFU_arm) - [poly mode] A dispersion 486s table frame (Format = TABLE, Tag = DISP_TAB_AFC_arm) 486s 486s Parameters: 486s keep-temp: If 'no', temporary files are 486s deleted. (str; default: 'no') 486s debug-level: Additional xshooter debug level. 486s One of 'none', 'low', 'medium', 486s 'high' (str; default: 'none') 486s time-stamp: Add timestamp to product file 486s name. (bool; default: False) 486s decode-bp: Integer representation of the 486s bits to be considered bad when 486s decoding the bad pixel mask 486s pixel values. Most frequent 486s codes relevant for the user: 486s 0: good pixel, 8: pick-up 486s noise, 16: cosmic-ray removed, 486s 32: cosmic-ray unremoved, 128: 486s calibration file defect, 256: 486s hot pixel, 512: dark pixel, 486s 4096: A/D converted saturation, 486s 32768: non linear pixel, 486s 1048576: extrapolated flux in 486s NIR, 4194304: Interpolated flux 486s during extraction. (int; 486s default: 2144337919) 486s pre-overscan-corr: pre-overscan correction. 0: no 486s correction 1: mean overscan 486s correction 2: mean prescan 486s correction 3: (mean pre+mean 486s overscan)/2 correction (int; 486s default: 1) 486s detectarclines-fit-win-hsize: Half window size (HWS) in pixels 486s for the line 2D fitting window 486s (total window size = 2*HWS+1) 486s (int; default: 6) 486s detectarclines-search-win-hsize: Half window size (HWS) in pixels 486s for the line search box around 486s the expected position (total 486s window size = 2*HWS+1) [bin 486s units] (int; default: 3) 486s detectarclines-running-median-hsize: Half window size in pixels (HWS) 486s for the running median box (int; 486s default: 0) 486s detectarclines-wavesol-deg-lambda: Degree in lambda in the 486s polynomial solution 486s X=f(lambda,order,slit) and 486s Y=f(lambda,order,slit) (POLY 486s mode) (int; default: 5) 486s detectarclines-wavesol-deg-order: Degree in order in the 486s polynomial solution 486s X=f(lambda,order,slit) and 486s Y=f(lambda,order,slit) (POLY 486s mode) (int; default: 5) 486s detectarclines-min-sn: Minimum signal-to-noise ratio to 486s filter lines [xsh_predict: 486s UVB,VIS=5,NIR=4; xsh_2dmap: 486s UVB=3, VIS=6, NIR=10] (float; 486s default: 5.0) 486s detectarclines-find-lines-center: Method used to find the center 486s of the lines: gaussian, 486s barycenter. Gaussian method 486s applies a Gaussian fit to the 486s line. Barycenter method computes 486s the line centroid. (str; 486s default: 'gaussian') 486s detectarclines-clip-sigma: Kappa value in sigma clipping 486s during the polynomial solution 486s fit (POLY mode) (float; default: 486s 2.0) 486s detectarclines-clip-niter: Number of iterations in sigma 486s clipping during the polynomial 486s solution fit (POLY mode) (int; 486s default: 10) 486s detectarclines-clip-frac: Minimal fractions of bad pixel 486s allowed in sigma clipping 486s duringthe polynomial solution 486s fit (POLY mode) (float; default: 486s 0.7) 486s dispersol-deg-x: Degree in X in the polynomial 486s dispersion solution 486s lambda=f(X,Y) and slit=f(X,Y) 486s (int; default: 4) 486s dispersol-deg-y: Degree in Y in the polynomial 486s dispersion solution 486s lambda=f(X,Y) and slit=f(X,Y) 486s (int; default: 5) 486s model-maxit: Number/10 of annealing 486s iterations if in physical model 486s mode. (int; default: 1000) 486s model-anneal-factor: Multiplier applied to the 486s automatic parameter ranges (i.e. 486s when scenario!=0). For routine 486s operations should be 1.0. 486s (physical model mode). (float; 486s default: 1.0) 486s model-scenario: selects preset flag and range 486s combinations appropriate to 486s common scenarios: -1 - Only the 486s position across the slit and 486s camera focal length are open 0 486s - No scenario, input cfg flags 486s and limits used. 1 - 486s scenario appropriate for the 486s startup recipe (large ranges 486s for parameters affecting 486s single ph exposures, dist 486s coeff fixed) 2 - Like 1, but 486s includes parameters 486s affecting all ph positions 3 - 486s Scenario for use in fine tuning 486s cfg to match routine wavecal 486s exposures. All parameters 486s affecting 1ph exposures 486s except dist coeffs are included 486s and parameter ranges are 486s small. (For use by flexcomp in 486s 1ph case). 4 - Like 3 but 486s includes parameters affecting 486s all ph positions (Standard for 486s use by flexcomp in 9ph case and 486s 2dmap). 5 - Like 4 but includes 486s also dist coeffs 6 - Just dist 486s coeffs (and chipx, chipy) (int; 486s default: 3) 486s Author: P.Goldoni, L.Guglielmi, R. Haigron, F. Royer 486s 486s 486s Recipe xsh_mflat: 486s version 3.5.3 486s Parameters: {'keep-temp': 'no', 'debug-level': 'none', 'time-stamp': False, 'decode-bp': 2144337919, 'pre-overscan-corr': 1, 'stack-method': 'median', 'klow': 5.0, 'khigh': 5.0, 'detectorder-edges-search-win-hsize': 50, 'detectorder-edges-flux-thresh': 0.4, 'detectorder-min-sn': -1.0, 'detectorder-min-order-size-x': -1, 'detectorder-chunk-half-size': 1, 'detectorder-slitlet-low-factor': 1.0, 'detectorder-slitlet-up-factor': 1.0, 'detectorder-fixed-slice': True, 'detectorder-slice-trace-method': 'auto', 'detectorder-qc-mode': False, 'detectorder-d2-min-sn': 60.0, 'background-edges-margin': 1, 'background-poly-deg-y': 9, 'background-poly-deg-x': 9, 'background-poly-kappa': 10.0} 486s Docstring: Create the master flat and the orders edges traces table frames 486s 486s This recipe creates the master flat and the orders edges traces table 486s frames. Input Frames : - [UVB] A set of n RAW frames (Format = 486s RAW, n>=3, Tag = FLAT_D2_mode_UVB, mode=SLIT/IFU) - [UVB] A set of 486s n RAW frames (Format = RAW, n>=3, Tag = FLAT_QTH_mode_UVB) - [VIS] 486s A set of n RAW frames (Format = RAW, n>=3, Tag = FLAT_mode_VIS) - 486s [NIR] A set of n x n RAW frames ((Format = RAW, n>=3, Tag = 486s FLAT_mode_NIR_ON, FLAT_mode_NIR_OFF) - A spectral format table 486s (Format = PRE, Tag = SPECTRAL_FORMAT_TAB_arm) - An order table 486s (Format = TABLE, Tag = ORDER_TAB_CENTR_arm) - [UVB,VIS] A master 486s bias (Format = PRE, Tag = MASTER_BIAS_arm) - [OPTIONAL] A map of 486s reference bad pixel (Format = QUP,RAW, Tag = BP_MAP_RP_arm) - 486s [OPTIONAL] A map of non linear pixel (Format = QUP,RAW, Tag = 486s BP_MAP_NL_arm) - [OPTIONAL,UVB,VIS] A master dark (Format = PRE, 486s Tag = MASTER_DARK_arm) Products : - An updated order table with 486s edge UP and edge LOW (Format = TABLE, TAG = ORDER_TAB_EDGES_mode_arm) 486s - A master flat (Format = PRE, PRO.CATG = MASTER_FLAT_mode_arm) - 486s The inter-order background frame (Format = PRE, PRO.CATG = 486s MFLAT_BACK_mode_arm) - The inter-order background sampling points 486s grid table (Format = PRE, PRO.CATG = MFLAT_GRID_BACK_mode_arm) 486s Prepare the flat frames. Stack and sigma clip all the flat frames. 486s Subtract master bias. Subtract master dark. Detect order edge. 486s Subtract background. Create the Master Flat. 486s 486s Parameters: 486s keep-temp: If 'no', temporary files are 486s deleted. (str; default: 'no') 486s debug-level: Additional xshooter debug level. 486s One of 'none', 'low', 'medium', 486s 'high' (str; default: 'none') 486s time-stamp: Add timestamp to product file 486s name. (bool; default: False) 486s decode-bp: Integer representation of the 486s bits to be considered bad when 486s decoding the bad pixel mask pixel 486s values. Most frequent codes 486s relevant for the user: 0: good 486s pixel, 8: pick-up noise, 16: 486s cosmic-ray removed, 32: cosmic- 486s ray unremoved, 128: calibration 486s file defect, 256: hot pixel, 486s 512: dark pixel, 4096: A/D 486s converted saturation, 32768: non 486s linear pixel, 1048576: 486s extrapolated flux in NIR, 486s 4194304: Interpolated flux during 486s extraction. (int; default: 486s 2144337919) 486s pre-overscan-corr: pre-overscan correction. 0: no 486s correction 1: mean overscan 486s correction 2: mean prescan 486s correction 3: (mean pre+mean 486s overscan)/2 correction (int; 486s default: 1) 486s stack-method: Method used to build master 486s frame. (str; default: 'median') 486s klow: Kappa used to clip low level 486s values, when method is set to 486s 'mean' (float; default: 5.0) 486s khigh: Kappa used to clip high level 486s values, when method is set to 486s 'mean' (float; default: 5.0) 486s detectorder-edges-search-win-hsize: During extraction the local 486s spatial profile (=cross-order) of 486s the spectrum is determined by 486s collapsing the 2-dimensional 486s spectrum along the dispersion 486s axis. This parameter defines the 486s half size of the region across 486s which the spectrum is collapsed. 486s This parameter affects flagged 486s pixels interpolation. In case of 486s spectrum gaps the recommended 486s optimal value is: (size_of_gap 486s [nm]/(2*size_of_pixel [nm])+1) 486s (int; default: 50) 486s detectorder-edges-flux-thresh: Threshold in relative flux 486s (compared to the central flux) 486s below which the order edges are 486s defined (float; default: 0.4) 486s detectorder-min-sn: Minimum signal-to-noise ratio at 486s the centroid of the orders (60 486s for SLIT-UVB,VIS,NIR, 20 for IFU- 486s UVB,VIS, 4 for IFU-NIR (float; 486s default: -1.0) 486s detectorder-min-order-size-x: Minimum order size in pixels 486s along X direction [60 for 486s UVB,VIS, 40 for NIR] (int; 486s default: -1) 486s detectorder-chunk-half-size: Half size in pixels of the chunks 486s in Y direction (int; default: 1) 486s detectorder-slitlet-low-factor: Factor for slitlet on lower edge 486s slitlet (IFU) (float; default: 486s 1.0) 486s detectorder-slitlet-up-factor: Factor for slitlet on upper edge 486s (IFU) (float; default: 1.0) 486s detectorder-fixed-slice: If true the size of slitlet is 486s fixed (IFU) (bool; default: True) 486s detectorder-slice-trace-method: method adopted for IFU slice 486s tracing ('fixed' for SLIT and 486s 'sobel' for IFU): (str; default: 486s 'auto') 486s detectorder-qc-mode: If true allows one to skip edge 486s detection on orders below 486s detectorder- min-sn (oly for QC 486s mode, not to be set by normal 486s users) (bool; default: False) 486s detectorder-d2-min-sn: minimum signal noise ratio in D2 486s lamp frame in order (float; 486s default: 60.0) 486s background-edges-margin: X margin to order edge to define 486s background sampling points (int; 486s default: 1) 486s background-poly-deg-y: Poly mode fit deg along Y. (int; 486s default: 9) 486s background-poly-deg-x: Poly mode fit deg along X. (int; 486s default: 9) 486s background-poly-kappa: Poly mode kappa value of kappa- 486s sigma-clip outliers removal. 486s (float; default: 10.0) 486s Author: P.Goldoni, L.Guglielmi, R. Haigron, F. Royer, D. Bramich, A. Modigliani 486s 486s 486s Recipe xsh_scired_slit_stare: 486s version 3.5.3 486s Parameters: {'keep-temp': 'no', 'debug-level': 'none', 'time-stamp': False, 'decode-bp': 2144337919, 'pre-overscan-corr': 1, 'stack-method': 'median', 'klow': 5.0, 'khigh': 5.0, 'background-edges-margin': 1, 'background-poly-deg-y': 9, 'background-poly-deg-x': 9, 'background-poly-kappa': 10.0, 'removecrhsingle-sigmalim': 20.0, 'removecrhsingle-flim': 2.0, 'removecrhsingle-niter': 4, 'rectify-kernel': 'tanh', 'rectify-radius': 2.0, 'rectify-bin-lambda': -1.0, 'rectify-bin-slit': -1.0, 'localize-method': 'MANUAL', 'localize-chunk-nb': 10, 'localize-thresh': 0.1, 'localize-deg-lambda': 0, 'localize-slit-position': 0.0, 'localize-slit-hheight': 2.0, 'localize-kappa': 3.0, 'localize-niter': 3, 'localize-use-skymask': False, 'sky-subtract': True, 'sky-bspline-nbkpts-first': 3000, 'sky-bspline-nbkpts-second': 3000, 'sky-bspline-order': 7, 'sky-bspline-niter': 20, 'sky-bspline-kappa': 5.0, 'sky-method': 'MEDIAN', 'bspline-sampling': 'FINE', 'sky-median-hsize': 20, 'sky-slit-edges-mask': 0.5, 'sky-position1': 0.0, 'sky-hheight1': 0.0, 'sky-position2': 0.0, 'sky-hheight2': 0.0, 'stdextract-interp-hsize': 30, 'do-optextract': False, 'optextract-oversample': 5, 'optextract-box-half-size': 10, 'optextract-chunk-size': 50, 'optextract-step-lambda': 0.02, 'optextract-clip-kappa': 3.0, 'optextract-clip-frac': 0.4, 'optextract-clip-niter': 2, 'optextract-niter': 1, 'optextract-method': 'GAUSSIAN', 'cut-uvb-spectrum': True, 'generate-SDP-format': False, 'dummy-association-keys': 0} 486s Docstring: Reduce science exposure in SLIT configuration and stare mode 486s 486s This recipe reduces science exposure in SLIT configuration and stare 486s mode Input Frames : - A set of n Science frames ( n == 1 or >=3, 486s Tag = OBJECT_SLIT_STARE_UVB) - A spectral format table (Tag = 486s SPECTRAL_FORMAT_TAB_arm) - [UVB,VIS] A master bias frame (Tag = 486s MASTER_BIAS_arm) - [OPTIONAL]A master dark frame (Tag = 486s MASTER_DARK_arm) - A master flat frame (Tag = MASTER_FLAT_SLIT_arm) 486s - An order table frame(Tag = ORDER_TAB_EDGES_SLIT_arm) - [OPTIONAL] 486s A table with dispersion coefficients (Tag = DISP_TAB_arm, required 486s in poly mode - [poly mode] A wave solution frame(Tag = 486s WAVE_TAB_2D_arm) - [physical model mode] A model cfg table (Format = 486s TABLE, Tag = XSH_MOD_CFG_TAB_arm) - [OPTIONAL] A table specifying 486s multiplying factor for break points (Tag = SKY_SUB_BKPTS_arm) to 486s generate - [OPTIONAL] A non-linear badpixel map (Tag = 486s BP_MAP_NL_arm) - [OPTIONAL] A reference badpixel map (Tag = 486s BP_MAP_RP_arm) - [OPTIONAL,physmod mode] A table listing sky line 486s positions (Tag = SKY_LINE_LIST_arm) this is used to be able to 486s control quality of sky subtraction, for example projecting guess 486s positions on the product SCI_SLIT_STARE_SUB_SKY_arm and is 486s required if sky-method=BSPLINE - [OPTIONAL] The instrument response 486s table (Tag = RESPONSE_MERGE1D_SLIT_arm) - [OPTIONAL] An atmospheric 486s extinction table (Tag = ATMOS_EXT_arm) - [OPTIONAL] A telluric mask 486s (Tag = TELL_MASK_arm) - [OPTIONAL] The instrument master response 486s table (Tag = MRESPONSE_MERGE1D_SLIT_arm). If both master and 486s individual response are provided the individual response is preferred. 486s Products : - PREFIX_ORDER2D_arm extracted spectrum, order-by-order, 486s 2D - PREFIX_ORDER1D_arm extracted spectrum, order-by-order, 1D - 486s PREFIX_MERGE2D_arm merged spectrum, 2D - PREFIX_MERGE1D_arm merged 486s spectrum, 1D - SKY_SLIT_MERGE2D_arm merged spectrum sky, 2D - 486s PREFIX_SUB_BACK_SLIT_arm sci frame bias, (dark), inter-order bkg 486s subtracted - PREFIX_WAVE_MAP_arm, wave map image - 486s PREFIX_SLIT_MAP_arm, slit map image - PREFIX_DIVFF_arm as 486s PREFIX_SUB_BACK_SLIT_arm, flat fielded - PREFIX_SUB_SKY_arm, as 486s PREFIX_DIVFF_arm, sky subtracted - PREFIX_SKY_arm, 2D sky frame - 486s PREFIX_SKY_ORD1D_arm, 1D sky image (order-by-order) - 486s PREFIX_BACK_SLIT_arm, inter order background image - where PREFIX 486s is SCI, FLUX, TELL if input raw DPR.TYPE contains OBJECT or FLUX or 486s TELLURIC - [OPTIONAL, if response and atm ext are provided] 486s PREFIX_FLUX_ORDER2D_arm (2 dimension) - [OPTIONAL, if response and 486s atm ext are provided] PREFIX_FLUX_ORDER1D_arm (1 dimension) - 486s [OPTIONAL, if response and atm ext are provided] 486s PREFIX_FLUX_MERGE2D_arm (2 dimension) - [OPTIONAL, if response and 486s atm ext are provided] PREFIX_FLUX_MERGE1D_arm (1 dimension) - 486s PREFIX_ON_arm bias (dark) subtracted sci frame 486s 486s Parameters: 486s keep-temp: If 'no', temporary files are deleted. 486s (str; default: 'no') 486s debug-level: Additional xshooter debug level. One of 486s 'none', 'low', 'medium', 'high' (str; 486s default: 'none') 486s time-stamp: Add timestamp to product file name. (bool; 486s default: False) 486s decode-bp: Integer representation of the bits to be 486s considered bad when decoding the bad pixel 486s mask pixel values. Most frequent codes 486s relevant for the user: 0: good pixel, 486s 8: pick-up noise, 16: cosmic-ray 486s removed, 32: cosmic-ray unremoved, 486s 128: calibration file defect, 256: hot 486s pixel, 512: dark pixel, 4096: A/D 486s converted saturation, 32768: non linear 486s pixel, 1048576: extrapolated flux in 486s NIR, 4194304: Interpolated flux during 486s extraction. (int; default: 2144337919) 486s pre-overscan-corr: pre-overscan correction. 0: no correction 486s 1: mean overscan correction 2: mean 486s prescan correction 3: (mean pre+mean 486s overscan)/2 correction (int; default: 1) 486s stack-method: Method used to build master frame. (str; 486s default: 'median') 486s klow: Kappa used to clip low level values, when 486s method is set to 'mean' (float; default: 486s 5.0) 486s khigh: Kappa used to clip high level values, when 486s method is set to 'mean' (float; default: 486s 5.0) 486s background-edges-margin: X margin to order edge to define 486s background sampling points (int; default: 486s 1) 486s background-poly-deg-y: Poly mode fit deg along Y. (int; default: 486s 9) 486s background-poly-deg-x: Poly mode fit deg along X. (int; default: 486s 9) 486s background-poly-kappa: Poly mode kappa value of kappa-sigma-clip 486s outliers removal. (float; default: 10.0) 486s removecrhsingle-sigmalim: Poisson fluctuation threshold to flag CRHs 486s (see van Dokkum, PASP,113,2001,p1420-27) 486s (float; default: 20.0) 486s removecrhsingle-flim: Minimum contrast between the Laplacian 486s image and the fine structure image that a 486s point must have to be flagged as CRH. (see 486s van Dokkum, PASP,113,2001,p1420-27) 486s (float; default: 2.0) 486s removecrhsingle-niter: Max number of iterations (int; default: 4) 486s rectify-kernel: Name of the Interpolation Kernel Used. 486s Possible values are: tanh, sinc, sinc2, 486s lanczos, hamming, hann. (str; default: 486s 'tanh') 486s rectify-radius: Rectify Interpolation radius [bin units]. 486s (float; default: 2.0) 486s rectify-bin-lambda: Wavelength step in the output spectrum 486s [nm] (float; default: -1.0) 486s rectify-bin-slit: Spatial step along the slit in the output 486s spectrum [arcsec] (float; default: -1.0) 486s localize-method: Localization method (MANUAL, MAXIMUM, 486s GAUSSIAN) used to detect the object 486s centroid and height on the slit (str; 486s default: 'MANUAL') 486s localize-chunk-nb: Number of chunks in the full spectrum to 486s localize the object (int; default: 10) 486s localize-thresh: Threshold relative to the peak intensity 486s below which the edges of the object are 486s detected for MAXIMUM localization (float; 486s default: 0.1) 486s localize-deg-lambda: Degree in lambda in the localization 486s polynomial expression slit=f(lambda), used 486s only for MAXIMUM and GAUSSIAN (int; 486s default: 0) 486s localize-slit-position: Object position on the slit for MANUAL 486s localization [arcsec] (float; default: 486s 0.0) 486s localize-slit-hheight: Object half height on the slit for MANUAL 486s localization [arcsec] (float; default: 486s 2.0) 486s localize-kappa: Kappa value for sigma clipping in the 486s localization polynomial fit (float; 486s default: 3.0) 486s localize-niter: Number of iterations for sigma clipping in 486s the localization polynomial fit (int; 486s default: 3) 486s localize-use-skymask: TRUE if we want to mask sky lines using 486s SKY_LINE_LIST file. (bool; default: False) 486s sky-subtract: TRUE to use subtract sky single. (bool; 486s default: True) 486s sky-bspline-nbkpts-first: Nb of break points for Bezier curve 486s fitting (without localization) (int; 486s default: 3000) 486s sky-bspline-nbkpts-second: Nb of break points for Bezier curve 486s fitting (with localization) (int; default: 486s 3000) 486s sky-bspline-order: Bezier spline order (int; default: 7) 486s sky-bspline-niter: Nb of iterations (int; default: 20) 486s sky-bspline-kappa: Kappa value used to kappa-sigma-clip 486s object (float; default: 5.0) 486s sky-method: Sky subtract Method (BSPLINE, BSPLINE1, 486s BSPLINE2 MEDIAN). BSPLINE is equivalent to 486s BSPLINE1 (str; default: 'MEDIAN') 486s bspline-sampling: BSPLINE sampling. UNIFORM-uses the user 486s defined nbkpts value, corrected for 486s binning, for all orders. FINE: multiplies 486s the user defined nbkpts value, corrected 486s for binning, by a hard coded coefficient 486s optimized on each arm-order) (str; 486s default: 'FINE') 486s sky-median-hsize: Half size of the running median. If sky- 486s method=MEDIAN . (int; default: 20) 486s sky-slit-edges-mask: Size of edges mask in arcsec (float; 486s default: 0.5) 486s sky-position1: Central position of the sky window #1 486s [arcsec] (float; default: 0.0) 486s sky-hheight1: Half size of sky window #1 [arcsec] 486s (float; default: 0.0) 486s sky-position2: Central position of the sky window #2 486s [arcsec] (float; default: 0.0) 486s sky-hheight2: Half size of the sky window #2 [arcsec] 486s (float; default: 0.0) 486s stdextract-interp-hsize: Half size of mask used to define object 486s cross order profile (int; default: 30) 486s do-optextract: TRUE if we do the optimal extraction 486s (bool; default: False) 486s optextract-oversample: Oversample factor for the science image 486s (int; default: 5) 486s optextract-box-half-size: Extraction box [pixel] (int; default: 10) 486s optextract-chunk-size: Chunk size [bin] (int; default: 50) 486s optextract-step-lambda: Lambda step [nm] (float; default: 0.02) 486s optextract-clip-kappa: Kappa for cosmics ray hits rejection 486s (float; default: 3.0) 486s optextract-clip-frac: Maximum bad pixels fraction for cosmics 486s ray hits rejection (float; default: 0.4) 486s optextract-clip-niter: Maximum number of iterations for cosmics 486s ray hits rejection (int; default: 2) 486s optextract-niter: Number of iterations (int; default: 1) 486s optextract-method: Extraction method GAUSSIAN | GENERAL (str; 486s default: 'GAUSSIAN') 486s cut-uvb-spectrum: TRUE if recipe cuts the UVB spectrum at 486s 556 nm (dichroich) (bool; default: True) 486s generate-SDP-format: TRUE if additional files should be 486s generated in Science Data Product (SDP) 486s format. (bool; default: False) 486s dummy-association-keys: Sets the number of dummy (empty) ASSONi, 486s ASSOCi and ASSOMi keywords to create. 486s (int; default: 0) 486s Author: P.Goldoni, L.Guglielmi, R. Haigron, F. Royer, D. Bramich, A. Modigliani 486s 486s 486s Recipe xsh_scired_ifu_stare: 486s version 3.5.3 486s Parameters: {'keep-temp': 'no', 'debug-level': 'none', 'time-stamp': False, 'decode-bp': 2144337919, 'pre-overscan-corr': 1, 'stack-method': 'median', 'klow': 5.0, 'khigh': 5.0, 'crh-clip-kappa': 5.0, 'crh-clip-niter': 5, 'crh-clip-frac': 0.7, 'background-edges-margin': 1, 'background-poly-deg-y': 9, 'background-poly-deg-x': 9, 'background-poly-kappa': 10.0, 'rectify-kernel': 'tanh', 'rectify-radius': 2.0, 'rectify-bin-lambda': -1.0, 'rectify-bin-slit': -1.0, 'compute-map': False, 'trace-obj': False, 'check-afc': True, 'cut-uvb-spectrum': True} 486s Docstring: Reduce science IFU stare exposures and build a 3D cube 486s 486s This recipe reduce science IFU stare exposures with 3D cube generation 486s Input Frames : - A set of n Science frames ( n == 1 or >=3, Tag 486s = OBJECT_IFU_STARE_UVB) - A spectral format table frame (Tag = 486s SPECTRAL_FORMAT_TAB_arm) - [UVB,VIS] A master bias frame (Tag = 486s MASTER_BIAS_arm) - A master dark frame (Tag = MASTER_DARK_arm) - A 486s master flat frame (Tag = MASTER_FLAT_IFU_arm) - An order edges table 486s frame(Tag = ORDER_TAB_EDGES_IFU_arm) - [physmod] An AFC corrected 486s model cfg frame (Tag = XSH_MOD_CFG_OPT_AFC_arm) - [poly] An AFC 486s corrected model wavesol frame (Tag = WAVE_TAB_AFC_arm) - [OPTIONAL] 486s A non-linear badpixel map (Tag = BP_MAP_NL_arm) - [OPTIONAL] A 486s reference badpixel map (Tag = BP_MAP_RP_arm) Products : - Merged 3D 486s data cube (PREFIX_MERGE3D_DATA_OBJ_arm) - QC Traces of 3D data cube 486s (PREFIX_MERGE3D_TRACE_OBJ_arm) - Order by order 3D data cube 486s (PREFIX_ORDER3D_DATA_OBJ_arm) - Order by order 3D qual cube 486s (IFU_CFG_COR_arm) - Order by order 3D qual cube 486s (PREFIX_MERGE3D_DATA_SKY_arm) - where PREFIX is SCI, FLUX, TELL if 486s input raw DPR.TYPE contains OBJECT or FLUX or TELLURIC 486s 486s Parameters: 486s keep-temp: If 'no', temporary files are deleted. (str; 486s default: 'no') 486s debug-level: Additional xshooter debug level. One of 486s 'none', 'low', 'medium', 'high' (str; 486s default: 'none') 486s time-stamp: Add timestamp to product file name. (bool; 486s default: False) 486s decode-bp: Integer representation of the bits to be 486s considered bad when decoding the bad pixel 486s mask pixel values. Most frequent codes 486s relevant for the user: 0: good pixel, 8: 486s pick-up noise, 16: cosmic-ray removed, 486s 32: cosmic-ray unremoved, 128: calibration 486s file defect, 256: hot pixel, 512: dark 486s pixel, 4096: A/D converted saturation, 486s 32768: non linear pixel, 1048576: 486s extrapolated flux in NIR, 4194304: 486s Interpolated flux during extraction. (int; 486s default: 2144337919) 486s pre-overscan-corr: pre-overscan correction. 0: no correction 1: 486s mean overscan correction 2: mean prescan 486s correction 3: (mean pre+mean overscan)/2 486s correction (int; default: 1) 486s stack-method: Method used to build master frame. (str; 486s default: 'median') 486s klow: Kappa used to clip low level values, when 486s method is set to 'mean' (float; default: 486s 5.0) 486s khigh: Kappa used to clip high level values, when 486s method is set to 'mean' (float; default: 486s 5.0) 486s crh-clip-kappa: Kappa value in sigma clipping during CRH 486s rejection using multiple frames (float; 486s default: 5.0) 486s crh-clip-niter: Number of iterations in sigma clipping 486s during CRH rejection using multiple frames 486s (int; default: 5) 486s crh-clip-frac: Minimal ratio of points accepted / total in 486s sigma clipping during CRH rejection using 486s multiple frames (float; default: 0.7) 486s background-edges-margin: X margin to order edge to define background 486s sampling points (int; default: 1) 486s background-poly-deg-y: Poly mode fit deg along Y. (int; default: 9) 486s background-poly-deg-x: Poly mode fit deg along X. (int; default: 9) 486s background-poly-kappa: Poly mode kappa value of kappa-sigma-clip 486s outliers removal. (float; default: 10.0) 486s rectify-kernel: Name of the Interpolation Kernel Used. 486s Possible values are: tanh, sinc, sinc2, 486s lanczos, hamming, hann. (str; default: 486s 'tanh') 486s rectify-radius: Rectify Interpolation radius [bin units]. 486s (float; default: 2.0) 486s rectify-bin-lambda: Wavelength step in the output spectrum [nm] 486s (float; default: -1.0) 486s rectify-bin-slit: Spatial step along the slit in the output 486s spectrum [arcsec] (float; default: -1.0) 486s compute-map: if TRUE recompute (wave and slit) maps from 486s the dispersion solution. If sky-subtract is 486s set to TRUE this must be set to TRUE. (bool; 486s default: False) 486s trace-obj: if TRUE trace object position on each IFU 486s slice. In this case order TAB edges is 486s required (bool; default: False) 486s check-afc: Input AFC corrected model/wave solution and 486s science frame check. If TRUE the recipe 486s verify that the input mode/wave solution is 486s AFC corrected, its INS.OPTIi.NAME is 486s 'Pin_0.5 ', and its OBS.ID and OBS.TARG.NAME 486s values matches with the corresponding values 486s of the science frame. (bool; default: True) 486s cut-uvb-spectrum: TRUE if recipe cuts the UVB spectrum at 556 486s nm (dichroich) (bool; default: True) 486s Author: A.Modigliani, J.Vernet, P. Bristow 486s 486s 486s Recipe xsh_mdark: 486s version 3.5.3 486s Parameters: {'keep-temp': 'no', 'debug-level': 'none', 'time-stamp': False, 'decode-bp': 2144337919, 'pre-overscan-corr': 1, 'stack-method': 'median', 'klow': 5.0, 'khigh': 5.0, 'bp-output': False, 'crh-clip-kappa': -1.0, 'crh-clip-niter': 3, 'crh-clip-frac': 0.7, 'noise-clip-kappa': 9.0, 'noise-clip-niter': 5, 'noise-clip-frac': 0.7, 'noise-clip-diff': 0.0, 'noise-lower-rejection': 10.0, 'noise-higher-rejection': 10.0, 'ref1_llx': -1, 'ref1_lly': -1, 'ref1_urx': -1, 'ref1_ury': -1, 'ron_llx': -1, 'ron_lly': -1, 'ron_urx': -1, 'ron_ury': -1, 'ron_hsize': 4, 'ron_nsamples': 100, 'fpn_llx': -1, 'fpn_lly': -1, 'fpn_urx': -1, 'fpn_ury': -1, 'fpn_hsize': 4, 'fpn_nsamples': 100} 486s Docstring: Create the master dark frame 486s 486s This recipe creates a master dark frame Input Frames : - A set of n 486s RAW frames (Format=RAW, n >=3, Tag = DARK_arm) - [UVB,VIS] A master 486s bias frame (Format=PRE, Tag = MASTER_BIAS_arm) - [OPTIONAL] A map of 486s non linear bad pixels (Format=QUP, Tag = BP_MAP_NL_arm) - [OPTIONAL] 486s A map of reference bad pixels (Format = QUP,RAW, Tag = BP_MAP_RP_arm) 486s Products : - A master dark frame (Format=PRE, PRO.CATG = 486s MASTER_DARK_arm) A dark frame, (Format=PRE, PRO.CATG = DARK_arm) 486s 486s Parameters: 486s keep-temp: If 'no', temporary files are deleted. (str; 486s default: 'no') 486s debug-level: Additional xshooter debug level. One of 486s 'none', 'low', 'medium', 'high' (str; 486s default: 'none') 486s time-stamp: Add timestamp to product file name. (bool; 486s default: False) 486s decode-bp: Integer representation of the bits to be 486s considered bad when decoding the bad pixel 486s mask pixel values. Most frequent codes 486s relevant for the user: 0: good pixel, 8: 486s pick-up noise, 16: cosmic-ray removed, 486s 32: cosmic-ray unremoved, 128: calibration 486s file defect, 256: hot pixel, 512: dark 486s pixel, 4096: A/D converted saturation, 486s 32768: non linear pixel, 1048576: 486s extrapolated flux in NIR, 4194304: 486s Interpolated flux during extraction. (int; 486s default: 2144337919) 486s pre-overscan-corr: pre-overscan correction. 0: no correction 1: 486s mean overscan correction 2: mean prescan 486s correction 3: (mean pre+mean overscan)/2 486s correction (int; default: 1) 486s stack-method: Method used to build master frame. (str; 486s default: 'median') 486s klow: Kappa used to clip low level values, when 486s method is set to 'mean' (float; default: 5.0) 486s khigh: Kappa used to clip high level values, when 486s method is set to 'mean' (float; default: 5.0) 486s bp-output: Flag indicating whether the noise bad pixel 486s map is to be computed (bool; default: False) 486s crh-clip-kappa: Kappa value in sigma clipping during CRH 486s rejection using multiple frames (float; 486s default: -1.0) 486s crh-clip-niter: Number of iterations in sigma clipping during 486s CRH rejection using multiple frames (int; 486s default: 3) 486s crh-clip-frac: Minimal ratio of points accepted / total in 486s sigma clipping during CRH rejection using 486s multiple frames (float; default: 0.7) 486s noise-clip-kappa: Multiple of sigma in sigma clipping (float; 486s default: 9.0) 486s noise-clip-niter: Number of iterations in sigma clipping (int; 486s default: 5) 486s noise-clip-frac: Minimal fractions of bad pixel allowed 486s (float; default: 0.7) 486s noise-clip-diff: Minimum relative change in sigma for sigma 486s clipping (float; default: 0.0) 486s noise-lower-rejection: Lower rejection percentile to flag bad pixels 486s via noise (float; default: 10.0) 486s noise-higher-rejection: Upper rejection percentile to flag bad pixels 486s via noise (float; default: 10.0) 486s ref1_llx: Lower left X of reference region (int; 486s default: -1) 486s ref1_lly: Lower left Y of reference region (int; 486s default: -1) 486s ref1_urx: Upper right X of reference region (int; 486s default: -1) 486s ref1_ury: Upper right Y of reference region (int; 486s default: -1) 486s ron_llx: Lower left X of reference region to measure 486s RON (int; default: -1) 486s ron_lly: Lower left Y of reference region to measure 486s RON (int; default: -1) 486s ron_urx: Upper right X of reference region to measure 486s RON (int; default: -1) 486s ron_ury: Upper right Y of reference region to measure 486s RON (int; default: -1) 486s ron_hsize: Sampling area size (int; default: 4) 486s ron_nsamples: Number of random samples (int; default: 100) 486s fpn_llx: Lower left reference area X coordinate for 486s Fixed Pattern Noise computation (int; 486s default: -1) 486s fpn_lly: Lower left reference area Y coordinate for 486s Fixed Pattern Noise computation (int; 486s default: -1) 486s fpn_urx: Upper right reference area X coordinate for 486s Fixed Pattern Noise computation (int; 486s default: -1) 486s fpn_ury: Upper right reference area Y coordinate for 486s Fixed Pattern Noise computation (int; 486s default: -1) 486s fpn_hsize: Sample size for Fixed Pattern Noise 486s computation (int; default: 4) 486s fpn_nsamples: Number of sampling points for Fixed Pattern 486s Noise computation (int; default: 100) 486s Author: P.Goldoni, L.Guglielmi, R. Haigron, F. Royer, D. Bramich, A. Modigliani 486s 486s 486s Recipe xsh_scired_slit_offset: 486s version 3.5.3 486s Parameters: {'keep-temp': 'no', 'debug-level': 'none', 'time-stamp': False, 'decode-bp': 2144337919, 'pre-overscan-corr': 1, 'removecrhsingle-sigmalim': 20.0, 'removecrhsingle-flim': 2.0, 'removecrhsingle-niter': 4, 'rectify-kernel': 'tanh', 'rectify-radius': 2.0, 'rectify-bin-lambda': -1.0, 'rectify-bin-slit': -1.0, 'localize-method': 'MANUAL', 'localize-chunk-nb': 10, 'localize-thresh': 0.1, 'localize-deg-lambda': 0, 'localize-slit-position': 0.0, 'localize-slit-hheight': 2.0, 'localize-kappa': 3.0, 'localize-niter': 3, 'localize-use-skymask': False, 'stdextract-interp-hsize': 30, 'combinenod-method': 'MEAN', 'gen-sky': True, 'cut-uvb-spectrum': True, 'generate-SDP-format': False, 'dummy-association-keys': 0} 486s Docstring: Reduce science exposure in SLIT configuration and on/off mode 486s 486s This recipe reduces science exposure in SLIT configuration and on/off 486s mode Input Frames : - A set of n Science frames ( n even ), 486s Tag = STD_FLUX_SLIT_OFFSET_arm, SKY_SLIT_arm - Spectral format table 486s (Tag = SPECTRAL_FORMAT_TAB_arm) - A master flat frame (Tag = 486s MASTER_FLAT_SLIT_arm) - An order table frame(Tag = 486s ORDER_TABLE_EDGES_SLIT_arm) - A wavelength calibration solution 486s frame(Tag = WAVE_TAB_2D_arm) - [OPTIONAL] Table with dispersion 486s coefficients (Tag = DISP_TAB_arm) It is required if -rectify- 486s conserve-flux=TRUE - [OPTIONAL] A non-linear badpixel map (Tag = 486s BP_MAP_NL_arm) - [OPTIONAL] A reference badpixel map (Tag = 486s BP_MAP_RP_arm) - [OPTIONAL] The instrument response table (Tag = 486s RESPONSE_MERGE1D_SLIT_arm) - [OPTIONAL] An atmospheric extinction 486s table (Tag = ATMOS_EXT_arm) - [OPTIONAL] A telluric mask (Tag = 486s TELL_MASK_arm) - [OPTIONAL] The instrument master response table 486s (Tag = MRESPONSE_MERGE1D_SLIT_arm). If both master and individual 486s response are provided the individual response is preferred. Products : 486s - PREFIX_ORDER2D_arm extracted spectrum, order-by-order, 2D - 486s PREFIX_ORDER1D_arm extracted spectrum, order-by-order, 1D - 486s PREFIX_MERGE2D_arm merged spectrum, 2D - PREFIX_MERGE1D_arm merged 486s spectrum, 1D - PREFIX_SKY_arm, 2D sky frame - 486s SKY_SLIT_ORDER2D_arm, 2D sky image (order-by-order) - 486s SKY_SLIT_MERGE2D_arm, 2D sky image (merged) - PREFIX_WAVE_MAP_arm, 486s wave map image - PREFIX_SLIT_MAP_arm, slit map image - where PREFIX 486s is SCI, FLUX, TELL if input raw DPR.TYPE contains OBJECT or FLUX or 486s TELLURIC - [OPTIONAL, if response and atm ext are provided] 486s PREFIX_FLUX_ORDER2D_arm (2 dimension) - [OPTIONAL, if response and 486s atm ext are provided] PREFIX_FLUX_ORDER1D_arm (1 dimension) - 486s [OPTIONAL, if response and atm ext are provided] 486s PREFIX_FLUX_MERGE2D_arm (2 dimension) - [OPTIONAL, if response and 486s atm ext are provided] PREFIX_FLUX_MERGE1D_arm (1 dimension) 486s 486s Parameters: 486s keep-temp: If 'no', temporary files are deleted. (str; 486s default: 'no') 486s debug-level: Additional xshooter debug level. One of 486s 'none', 'low', 'medium', 'high' (str; 486s default: 'none') 486s time-stamp: Add timestamp to product file name. (bool; 486s default: False) 486s decode-bp: Integer representation of the bits to be 486s considered bad when decoding the bad pixel 486s mask pixel values. Most frequent codes 486s relevant for the user: 0: good pixel, 486s 8: pick-up noise, 16: cosmic-ray removed, 486s 32: cosmic-ray unremoved, 128: 486s calibration file defect, 256: hot pixel, 486s 512: dark pixel, 4096: A/D converted 486s saturation, 32768: non linear pixel, 486s 1048576: extrapolated flux in NIR, 4194304: 486s Interpolated flux during extraction. (int; 486s default: 2144337919) 486s pre-overscan-corr: pre-overscan correction. 0: no correction 486s 1: mean overscan correction 2: mean prescan 486s correction 3: (mean pre+mean overscan)/2 486s correction (int; default: 1) 486s removecrhsingle-sigmalim: Poisson fluctuation threshold to flag CRHs 486s (see van Dokkum, PASP,113,2001,p1420-27) 486s (float; default: 20.0) 486s removecrhsingle-flim: Minimum contrast between the Laplacian 486s image and the fine structure image that a 486s point must have to be flagged as CRH. (see 486s van Dokkum, PASP,113,2001,p1420-27) (float; 486s default: 2.0) 486s removecrhsingle-niter: Max number of iterations (int; default: 4) 486s rectify-kernel: Name of the Interpolation Kernel Used. 486s Possible values are: tanh, sinc, sinc2, 486s lanczos, hamming, hann. (str; default: 486s 'tanh') 486s rectify-radius: Rectify Interpolation radius [bin units]. 486s (float; default: 2.0) 486s rectify-bin-lambda: Wavelength step in the output spectrum [nm] 486s (float; default: -1.0) 486s rectify-bin-slit: Spatial step along the slit in the output 486s spectrum [arcsec] (float; default: -1.0) 486s localize-method: Localization method (MANUAL, MAXIMUM, 486s GAUSSIAN) used to detect the object 486s centroid and height on the slit (str; 486s default: 'MANUAL') 486s localize-chunk-nb: Number of chunks in the full spectrum to 486s localize the object (int; default: 10) 486s localize-thresh: Threshold relative to the peak intensity 486s below which the edges of the object are 486s detected for MAXIMUM localization (float; 486s default: 0.1) 486s localize-deg-lambda: Degree in lambda in the localization 486s polynomial expression slit=f(lambda), used 486s only for MAXIMUM and GAUSSIAN (int; 486s default: 0) 486s localize-slit-position: Object position on the slit for MANUAL 486s localization [arcsec] (float; default: 0.0) 486s localize-slit-hheight: Object half height on the slit for MANUAL 486s localization [arcsec] (float; default: 2.0) 486s localize-kappa: Kappa value for sigma clipping in the 486s localization polynomial fit (float; 486s default: 3.0) 486s localize-niter: Number of iterations for sigma clipping in 486s the localization polynomial fit (int; 486s default: 3) 486s localize-use-skymask: TRUE if we want to mask sky lines using 486s SKY_LINE_LIST file. (bool; default: False) 486s stdextract-interp-hsize: Half size of mask used to define object 486s cross order profile (int; default: 30) 486s combinenod-method: Combination method for nodded frames 486s (MEDIAN, MEAN) (str; default: 'MEAN') 486s gen-sky: if TRUE a 2D sky frame, a 2D rectified, a 486s 2D merged sky are generated (bool; default: 486s True) 486s cut-uvb-spectrum: TRUE if recipe cuts the UVB spectrum at 556 486s nm (dichroich) (bool; default: True) 486s generate-SDP-format: TRUE if additional files should be 486s generated in Science Data Product (SDP) 486s format. (bool; default: False) 486s dummy-association-keys: Sets the number of dummy (empty) ASSONi, 486s ASSOCi and ASSOMi keywords to create. (int; 486s default: 0) 486s Author: P.Goldoni, L.Guglielmi, R. Haigron, F. Royer, D. Bramich, A. Modigliani 486s 486s 486s Recipe xsh_geom_ifu: 486s version 3.5.3 486s Parameters: {'keep-temp': 'no', 'debug-level': 'none', 'time-stamp': False, 'decode-bp': 2144337919, 'pre-overscan-corr': 1, 'stack-method': 'median', 'klow': 5.0, 'khigh': 5.0, 'crh-clip-kappa': 5.0, 'crh-clip-niter': 5, 'crh-clip-frac': 0.7, 'background-edges-margin': 1, 'background-poly-deg-y': 9, 'background-poly-deg-x': 9, 'background-poly-kappa': 10.0, 'removecrhsingle-sigmalim': 5.0, 'removecrhsingle-flim': 2.0, 'removecrhsingle-niter': 4, 'rectify-kernel': 'tanh', 'rectify-radius': 4.0, 'rectify-bin-lambda': -1.0, 'rectify-bin-slit': -1.0, 'localizeifu-bckg-deg': 50, 'localizeifu-smooth-hsize': 3, 'localizeifu-wavelet-nscales': 5, 'localizeifu-wavelet-hf-skip': 2, 'localizeifu-sigma-low': 0.05, 'localizeifu-sigma-up': 0.95, 'localizeifu-snr-low': 0.05, 'localizeifu-snr-up': 0.95, 'localizeifu-slitlow-edges-mask': 0.0, 'localizeifu-slitup-edges-mask': 0.0, 'localizeifu-use-skymask': False, 'localizeifu-chunk-hsize': 0, 'correctifu-niter': 3, 'correctifu-lambdaref': -1.0, 'correctifu-lambdaref-hsize': 2.5, 'do-cube': False, 'compute-map': True, 'check-afc': True, 'flat-method': 'blaze'} 486s Docstring: Produces the spatial geometry of the IFU pattern on the sky 486s 486s This recipe Produces the spatial geometry of the IFU pattern on the 486s sky Input Frames : - A set of n science frames ( n == 1 or >=3, Tag 486s = TRACE_arm) - [UVB,VIS] A master bias frame (Tag = MASTER_BIAS_arm) 486s - [OPTIONAL] A master dark frame (Tag = MASTER_DARK_arm) - A master 486s flat frame (Tag = MASTER_FLAT_IFU_arm) - An AFC corrected model 486s order edges table for IFU frame (Tag = ORDER_TAB_AFC_IFU_arm) - 486s [PHYSMOD] An AFC corrected model cfg frame (Tag = 486s XSH_MOD_CFG_OPT_AFC_arm) - [POLY] An AFC corrected model wavesol 486s frame (Tag = WAVE_TAB_AFC_arm) - An AFC corrected dispersion 486s solution frame (Tag = DISP_TAB_AFC_arm) - [OPTIONAL] A badpixel map 486s (Tag = BADPIXEL_MAP_arm) Products : - A set of shift offset tables 486s (Tag = OFFSET_TAB_slitlet_IFU_arm) 486s 486s Parameters: 486s keep-temp: If 'no', temporary files are deleted. 486s (str; default: 'no') 486s debug-level: Additional xshooter debug level. One 486s of 'none', 'low', 'medium', 'high' 486s (str; default: 'none') 486s time-stamp: Add timestamp to product file name. 486s (bool; default: False) 486s decode-bp: Integer representation of the bits to 486s be considered bad when decoding the 486s bad pixel mask pixel values. Most 486s frequent codes relevant for the user: 486s 0: good pixel, 8: pick-up noise, 486s 16: cosmic-ray removed, 32: cosmic- 486s ray unremoved, 128: calibration 486s file defect, 256: hot pixel, 512: 486s dark pixel, 4096: A/D converted 486s saturation, 32768: non linear pixel, 486s 1048576: extrapolated flux in NIR, 486s 4194304: Interpolated flux during 486s extraction. (int; default: 486s 2144337919) 486s pre-overscan-corr: pre-overscan correction. 0: no 486s correction 1: mean overscan 486s correction 2: mean prescan correction 486s 3: (mean pre+mean overscan)/2 486s correction (int; default: 1) 486s stack-method: Method used to build master frame. 486s (str; default: 'median') 486s klow: Kappa used to clip low level values, 486s when method is set to 'mean' (float; 486s default: 5.0) 486s khigh: Kappa used to clip high level values, 486s when method is set to 'mean' (float; 486s default: 5.0) 486s crh-clip-kappa: Kappa value in sigma clipping during 486s CRH rejection using multiple frames 486s (float; default: 5.0) 486s crh-clip-niter: Number of iterations in sigma 486s clipping during CRH rejection using 486s multiple frames (int; default: 5) 486s crh-clip-frac: Minimal ratio of points accepted / 486s total in sigma clipping during CRH 486s rejection using multiple frames 486s (float; default: 0.7) 486s background-edges-margin: X margin to order edge to define 486s background sampling points (int; 486s default: 1) 486s background-poly-deg-y: Poly mode fit deg along Y. (int; 486s default: 9) 486s background-poly-deg-x: Poly mode fit deg along X. (int; 486s default: 9) 486s background-poly-kappa: Poly mode kappa value of kappa-sigma- 486s clip outliers removal. (float; 486s default: 10.0) 486s removecrhsingle-sigmalim: Poisson fluctuation threshold to flag 486s CRHs (see van Dokkum, 486s PASP,113,2001,p1420-27) (float; 486s default: 5.0) 486s removecrhsingle-flim: Minimum contrast between the 486s Laplacian image and the fine 486s structure image that a point must 486s have to be flagged as CRH. (see van 486s Dokkum, PASP,113,2001,p1420-27) 486s (float; default: 2.0) 486s removecrhsingle-niter: Max number of iterations (int; 486s default: 4) 486s rectify-kernel: Name of the Interpolation Kernel 486s Used. Possible values are: tanh, 486s sinc, sinc2, lanczos, hamming, hann. 486s (str; default: 'tanh') 486s rectify-radius: Rectify Interpolation radius [bin 486s units]. (float; default: 4.0) 486s rectify-bin-lambda: Wavelength step in the output 486s spectrum [nm] (float; default: -1.0) 486s rectify-bin-slit: Spatial step along the slit in the 486s output spectrum [arcsec] (float; 486s default: -1.0) 486s localizeifu-bckg-deg: Degree (<=2) of the polynomial 486s component in the cross-dispersion 486s profile fit (int; default: 50) 486s localizeifu-smooth-hsize: Half-size of the median filter for 486s smoothing the cross-dispersion 486s profile prior to localization (int; 486s default: 3) 486s localizeifu-wavelet-nscales: Number of scales used for wavelet a 486s trous algorithm (int; default: 5) 486s localizeifu-wavelet-hf-skip: Number of high frequency scales 486s skipped from the wavelet 486s decomposition (int; default: 2) 486s localizeifu-sigma-low: Gaussian fits of the cross-dispersion 486s profile whose FWHM is lower than this 486s value are rejected (float; default: 486s 0.05) 486s localizeifu-sigma-up: Gaussian fits of the cross-dispersion 486s profile whose FWHM is larger than 486s this value are rejected (float; 486s default: 0.95) 486s localizeifu-snr-low: Gaussian fits of the cross-dispersion 486s profile whose SNR is lower than this 486s value are rejected (float; default: 486s 0.05) 486s localizeifu-snr-up: Gaussian fits of the cross-dispersion 486s profile whose SNR is larger than this 486s value are rejected (float; default: 486s 0.95) 486s localizeifu-slitlow-edges-mask: in arsec (float; default: 0.0) 486s localizeifu-slitup-edges-mask: in arsec (float; default: 0.0) 486s localizeifu-use-skymask: TRUE if we want to mask sky lines 486s using SKY_LINE_LIST file. (bool; 486s default: False) 486s localizeifu-chunk-hsize: Half size of chunk [bin] (int; 486s default: 0) 486s correctifu-niter: Number of iterations in computing the 486s localization shifts of the IFU 486s slitlets (int; default: 3) 486s correctifu-lambdaref: Reference wavelength where the 486s reference localization on the slit is 486s chosen (float; default: -1.0) 486s correctifu-lambdaref-hsize: HAlf size in nm to estimate reference 486s wavelength (float; default: 2.5) 486s do-cube: if TRUE creates a data cube (bool; 486s default: False) 486s compute-map: if TRUE recompute (wave and slit) 486s maps from the dispersion solution. 486s (bool; default: True) 486s check-afc: Input AFC corrected model/wave 486s solution and science frame check.If 486s TRUE the recipe verify that the input 486s mode/wave solution is AFC corrected, 486s its INS.OPTIi.NAME is 'Pin_0.5 ', and 486s its OBS.ID and OBS.TARG.NAME values 486s matches with the corresponding values 486s of the science frame. (bool; default: 486s True) 486s flat-method: method adopted for flat: (str; 486s default: 'blaze') 486s Author: P.Goldoni, L.Guglielmi, R. Haigron, F. Royer 486s 486s 486s Recipe xsh_predict: 486s version 3.5.3 486s Parameters: {'keep-temp': 'no', 'debug-level': 'none', 'time-stamp': False, 'decode-bp': 2144337919, 'pre-overscan-corr': 1, 'detectarclines-fit-win-hsize': 6, 'detectarclines-search-win-hsize': 3, 'detectarclines-running-median-hsize': 0, 'detectarclines-wavesol-deg-lambda': 5, 'detectarclines-wavesol-deg-order': 5, 'detectarclines-ordertab-deg-y': 2, 'detectarclines-min-sn': 5.0, 'detectarclines-find-lines-center': 'gaussian', 'detectarclines-clip-sigma': 2.0, 'detectarclines-clip-niter': 10, 'detectarclines-clip-frac': 0.7, 'model-maxit': 1000, 'model-anneal-factor': 1.0, 'model-scenario': 3} 486s Docstring: Compute a first guess dispersion solution and order table 486s 486s This recipe creates a wavelength solution and an order table. Input 486s Frames : - [UVB, VIS] One RAW frame (Format = RAW, Tag = 486s FMTCHK_arm) - [NIR] Two RAW frames ((Format = RAW, Tag = 486s FMTCHK_arm_ON,FMTCHK_arm_OFF) - A spectral format table (Format = 486s PRE, Tag = SPECTRAL_FORMAT_TAB_arm) - An arc line list (Format = 486s TABLE, Tag = ARC_LINE_LIST_arm) - [UVB,VIS,OPTIONAL] A master bias 486s (Format = PRE, Tag = MASTER_BIAS_arm) - [UVB,VIS,OPTIONAL] A 486s master dark (Format = PRE, Tag = MASTER_DARK_arm) - [OPTIONAL] A 486s reference badpixel map (Format = QUP, Tag = BP_MAP_RP_arm) - 486s [OPTIONAL] A non-linear badpixel map (Format = QUP, Tag = 486s BP_MAP_NL_arm) - [OPTIONAL] Reference list to monitor line 486s intensity (Tag = ARC_LINE_LIST_INTMON_arm) - [poly mode] A 486s theoretical map (Format = TABLE, Tag = THEO_TAB_SING_arm) - 486s [physical model mode] A model cfg table (Format = TABLE, Tag = 486s XSH_MOD_CFG_TAB_arm) Products : - [poly mode] A wavelength 486s solution (Format = TABLE, PRO.CATG = WAVE_TAB_GUESS_arm) - An 486s order table, PRO.CATG = ORDER_TAB_GUESS_arm (if at least 486s degree+1 points are found in each order). - A line 486s identification residual table, PRO.CATG = FMTCHK_RESID_TAB_LINES_arm 486s - The bias subtracted formatcheck frame, PRO.CATG = FMTCHK_ON_arm 486s - [physical model mode]An optimized model configuration table, 486s PRO.CATG = XSH_MOD_CFG_OPT_FMT_ARM Prepare the frames. For UVB,VIS 486s : Subtract Master Bias. Subtract Master Dark For NIR: 486s Subtract ON OFF Compute guess order table and wavelength solution 486s 486s Parameters: 486s keep-temp: If 'no', temporary files are 486s deleted. (str; default: 'no') 486s debug-level: Additional xshooter debug level. 486s One of 'none', 'low', 'medium', 486s 'high' (str; default: 'none') 486s time-stamp: Add timestamp to product file 486s name. (bool; default: False) 486s decode-bp: Integer representation of the 486s bits to be considered bad when 486s decoding the bad pixel mask 486s pixel values. Most frequent 486s codes relevant for the user: 486s 0: good pixel, 8: pick-up 486s noise, 16: cosmic-ray removed, 486s 32: cosmic-ray unremoved, 128: 486s calibration file defect, 256: 486s hot pixel, 512: dark pixel, 486s 4096: A/D converted saturation, 486s 32768: non linear pixel, 486s 1048576: extrapolated flux in 486s NIR, 4194304: Interpolated flux 486s during extraction. (int; 486s default: 2144337919) 486s pre-overscan-corr: pre-overscan correction. 0: no 486s correction 1: mean overscan 486s correction 2: mean prescan 486s correction 3: (mean pre+mean 486s overscan)/2 correction (int; 486s default: 1) 486s detectarclines-fit-win-hsize: Half window size (HWS) in pixels 486s for the line 2D fitting window 486s (total window size = 2*HWS+1) 486s (int; default: 6) 486s detectarclines-search-win-hsize: Half window size (HWS) in pixels 486s for the line search box around 486s the expected position (total 486s window size = 2*HWS+1) [bin 486s units] (int; default: 3) 486s detectarclines-running-median-hsize: Half window size in pixels (HWS) 486s for the running median box (int; 486s default: 0) 486s detectarclines-wavesol-deg-lambda: Degree in lambda in the 486s polynomial solution 486s X=f(lambda,order,slit) and 486s Y=f(lambda,order,slit) (POLY 486s mode) (int; default: 5) 486s detectarclines-wavesol-deg-order: Degree in order in the 486s polynomial solution 486s X=f(lambda,order,slit) and 486s Y=f(lambda,order,slit) (POLY 486s mode) (int; default: 5) 486s detectarclines-ordertab-deg-y: Degree in Y in the polynomial 486s order tracing X=f(Y) (int; 486s default: 2) 486s detectarclines-min-sn: Minimum signal-to-noise ratio to 486s filter lines [xsh_predict: 486s UVB,VIS=5,NIR=4; xsh_2dmap: 486s UVB=3, VIS=6, NIR=10] (float; 486s default: 5.0) 486s detectarclines-find-lines-center: Method used to find the center 486s of the lines: gaussian, 486s barycenter. Gaussian method 486s applies a Gaussian fit to the 486s line. Barycenter method computes 486s the line centroid. (str; 486s default: 'gaussian') 486s detectarclines-clip-sigma: Kappa value in sigma clipping 486s during the polynomial solution 486s fit (POLY mode) (float; default: 486s 2.0) 486s detectarclines-clip-niter: Number of iterations in sigma 486s clipping during the polynomial 486s solution fit (POLY mode) (int; 486s default: 10) 486s detectarclines-clip-frac: Minimal fractions of bad pixel 486s allowed in sigma clipping 486s duringthe polynomial solution 486s fit (POLY mode) (float; default: 486s 0.7) 486s model-maxit: Number/10 of annealing 486s iterations if in physical model 486s mode. (int; default: 1000) 486s model-anneal-factor: Multiplier applied to the 486s automatic parameter ranges (i.e. 486s when scenario!=0). For routine 486s operations should be 1.0. 486s (physical model mode). (float; 486s default: 1.0) 486s model-scenario: selects preset flag and range 486s combinations appropriate to 486s common scenarios: 0 - No 486s scenario, input cfg flags and 486s limits used. 1 - scenario 486s appropriate for the startup 486s recipe (large ranges for 486s parameters affecting single ph 486s exposures, dist coeff fixed). 2 486s - Like 1, but includes 486s parameters affecting all ph 486s positions. 3 - Scenario for use 486s in fine tuning cfg to match 486s routine single pinhole 486s exposures. All parameters 486s affecting 1ph exposures except 486s dist coeffs are included and 486s parameter ranges are small. (For 486s use by predict in 1ph case). 4 486s - Like 3 but includes parameters 486s affecting all ph positions 486s (Standard for use by predict in 486s 9ph case and 2dmap). (int; 486s default: 3) 486s Author: P.Goldoni, L.Guglielmi, R. Haigron, F. Royer, P. Bristow, D. Bramich, A. Modigliani 486s 486s 486s Recipe xsh_mbias: 486s version 3.5.3 486s Parameters: {'keep-temp': 'no', 'debug-level': 'none', 'time-stamp': False, 'decode-bp': 2144337919, 'stack-method': 'median', 'klow': 5.0, 'khigh': 5.0, 'fpn_llx': 10, 'fpn_lly': 10, 'fpn_urx': 1024, 'fpn_ury': 1024, 'fpn_hsize': 10, 'fpn_nsamples': 100, 'ron_method': 'ALL', 'random_sizex': 10, 'random_nsamples': 100, 'ref1_llx': -1, 'ref1_lly': -1, 'ref1_urx': -1, 'ref1_ury': -1, 'ref2_llx': -1, 'ref2_lly': -1, 'ref2_urx': -1, 'ref2_ury': -1, 'stacking_ks_low': 3, 'stacking_ks_iter': 25, 'struct_refx': -1, 'struct_refy': -1, 'pd_noise_compute': False, 'pd_noise_dc_x': 1, 'pd_noise_dc_y': 1} 486s Docstring: Create the master bias frame 486s 486s This recipe creates a master bias frame by computing the median of all 486s input bias frames. Input Frames : - A set of n RAW frames 486s (Format=RAW, n >=3, Tag = BIAS_arm) - [OPTIONAL] A map of non linear 486s bad pixels (Format=QUP, Tag = BP_MAP_NL_arm) - [OPTIONAL] A map of 486s reference bad pixels (Format = QUP,RAW, Tag = BP_MAP_RP_arm) Products 486s : - A master bias frame (Format=PRE, PRO.CATG = MASTER_BIAS_arm) 486s 486s Parameters: 486s keep-temp: If 'no', temporary files are deleted. (str; 486s default: 'no') 486s debug-level: Additional xshooter debug level. One of 'none', 486s 'low', 'medium', 'high' (str; default: 'none') 486s time-stamp: Add timestamp to product file name. (bool; default: 486s False) 486s decode-bp: Integer representation of the bits to be considered 486s bad when decoding the bad pixel mask pixel values. 486s Most frequent codes relevant for the user: 0: 486s good pixel, 8: pick-up noise, 16: cosmic-ray 486s removed, 32: cosmic-ray unremoved, 128: 486s calibration file defect, 256: hot pixel, 512: 486s dark pixel, 4096: A/D converted saturation, 486s 32768: non linear pixel, 1048576: extrapolated 486s flux in NIR, 4194304: Interpolated flux during 486s extraction. (int; default: 2144337919) 486s stack-method: Method used to build master frame. (str; default: 486s 'median') 486s klow: Kappa used to clip low level values, when method is 486s set to 'mean' (float; default: 5.0) 486s khigh: Kappa used to clip high level values, when method 486s is set to 'mean' (float; default: 5.0) 486s fpn_llx: Lower left reference area X coordinate for Fixed 486s Pattern Noise computation (int; default: 10) 486s fpn_lly: Lower left reference area Y coordinate for Fixed 486s Pattern Noise computation (int; default: 10) 486s fpn_urx: Upper right reference area X coordinate for Fixed 486s Pattern Noise computation (int; default: 1024) 486s fpn_ury: Upper right reference area Y coordinate for Fixed 486s Pattern Noise computation (int; default: 1024) 486s fpn_hsize: Sample size for Fixed Pattern Noise computation 486s (int; default: 10) 486s fpn_nsamples: Number of sampling points for Fixed Pattern Noise 486s computation (int; default: 100) 486s ron_method: RON computation method (str; default: 'ALL') 486s random_sizex: Region X size for random computation (int; default: 486s 10) 486s random_nsamples: Number of random samples (int; default: 100) 486s ref1_llx: Lower left X of reference region (int; default: -1) 486s ref1_lly: Lower left Y of reference region (int; default: -1) 486s ref1_urx: Upper right X of reference region (int; default: 486s -1) 486s ref1_ury: Upper right Y of reference region (int; default: 486s -1) 486s ref2_llx: Lower left X of reference region (int; default: -1) 486s ref2_lly: Lower left Y of reference region (int; default: -1) 486s ref2_urx: Upper right X of reference region (int; default: 486s -1) 486s ref2_ury: Upper right Y of reference region (int; default: 486s -1) 486s stacking_ks_low: Lower value of kappa-sigma clip in stacking (int; 486s default: 3) 486s stacking_ks_iter: Number of iterations in kappa-sigma clip in 486s stacking (int; default: 25) 486s struct_refx: Reference X value to compute structure (int; 486s default: -1) 486s struct_refy: Reference Y value to compute structure (int; 486s default: -1) 486s pd_noise_compute: Determine Fixed Pattern Noise. If TRUE the Fixed 486s Pattern Noise power spectrum is determined. (bool; 486s default: False) 486s pd_noise_dc_x: x-size (pixel) of the mask starting at (x,y) = 486s (1,1). (int; default: 1) 486s pd_noise_dc_y: y-size (pixel) of the mask starting at (x,y) = 486s (1,1). (int; default: 1) 486s Author: P.Goldoni, L.Guglielmi, R. Haigron, F. Royer, D. Bramich, A. Modigliani 486s 486s 486s Recipe xsh_respon_slit_offset: 486s version 3.5.3 486s Parameters: {'keep-temp': 'no', 'debug-level': 'none', 'time-stamp': False, 'decode-bp': 2144337919, 'pre-overscan-corr': 1, 'removecrhsingle-sigmalim': 20.0, 'removecrhsingle-flim': 2.0, 'removecrhsingle-niter': 4, 'rectify-kernel': 'tanh', 'rectify-radius': 2.0, 'rectify-bin-lambda': -1.0, 'rectify-bin-slit': -1.0, 'localize-method': 'MANUAL', 'localize-chunk-nb': 10, 'localize-thresh': 0.1, 'localize-deg-lambda': 0, 'localize-slit-position': 0.0, 'localize-slit-hheight': 2.0, 'localize-kappa': 3.0, 'localize-niter': 3, 'localize-use-skymask': False, 'stdextract-interp-hsize': 30, 'combinenod-method': 'MEAN', 'gen-sky': True, 'correct-tellurics': True} 486s Docstring: Compute the response function in SLIT and on/off mode 486s 486s This recipe reduces science exposure in SLIT configuration and on/off 486s mode Input Frames : - A set of n Science frames ( n even ), 486s Tag = STD_FLUX_SLIT_OFFSET_arm, SKY_SLIT_arm - Spectral format table 486s (Tag = SPECTRAL_FORMAT_TAB_arm) - A master flat frame (Tag = 486s MASTER_FLAT_SLIT_arm) - An order table frame(Tag = 486s ORDER_TABLE_EDGES_SLIT_arm) - A wavelength calibration solution 486s frame(Tag = WAVE_TAB_2D_arm) - [OPTIONAL] Table with dispersion 486s coefficients (Tag = DISP_TAB_arm) - [OPTIONAL] A telluric model 486s catalog (Tag = TELL_MOD_CAT_arm arm=VIS,NIR) - A standard star 486s fluxes catalog (Tag = FLUX_STD_CATALOG_arm Type = FLX) - A table to 486s set response sampling points (Tag = RESP_FIT_POINTS_CAT_arm) - An 486s atmospheric extinction table (Tag = ATMOS_EXT_arm) if provided 486s this is the one used to flux calibrate the spectra Products : 486s Products : - [If STD is in catal] The response ord-by-ord function 486s (Tag = RESPONSE_ORDER1D_SLIT_arm) - [If STD is in catal] The 486s response merged function (Tag = RESPONSE_MERGE1D_SLIT_arm) - 486s PREFIX_ORDER2D_arm extracted spectrum, order-by-order, 2D - 486s PREFIX_ORDER1D_arm extracted spectrum, order-by-order, 1D - 486s PREFIX_MERGE2D_arm merged spectrum, 2D - PREFIX_MERGE1D_arm merged 486s spectrum, 1D - [If STD is in catal] Flux calibrated order-by-order 2D 486s spectrum (Tag = PREFIX_FLUX_ORDER2D_arm) - [If STD is in catal] Flux 486s calibrated order-by-order 1D spectrum (Tag = PREFIX_FLUX_ORDER1D_arm) 486s - [If STD is in catal] Flux calibrated merged 2D spectrum (Tag = 486s PREFIX_FLUX_MERGE2D_arm) - [If STD is in catal] Flux calibrated 486s merged 1D spectrum (Tag = PREFIX_FLUX_MERGE1D_arm) - PREFIX_SKY_arm, 486s 2D sky frame - SKY_SLIT_ORDER2D_arm, 2D sky image (order-by-order) - 486s SKY_SLIT_MERGE2D_arm, 2D sky image (merged) - [If STD is in catal] 486s The efficiency (Tag = EFFICIENCY_arm) - PREFIX_WAVE_MAP_arm, wave map 486s image - PREFIX_SLIT_MAP_arm, slit map image - where PREFIX is SCI, 486s FLUX, TELL if input raw DPR.TYPE contains OBJECT or FLUX or TELLURIC 486s 486s Parameters: 486s keep-temp: If 'no', temporary files are deleted. (str; 486s default: 'no') 486s debug-level: Additional xshooter debug level. One of 486s 'none', 'low', 'medium', 'high' (str; 486s default: 'none') 486s time-stamp: Add timestamp to product file name. (bool; 486s default: False) 486s decode-bp: Integer representation of the bits to be 486s considered bad when decoding the bad pixel 486s mask pixel values. Most frequent codes 486s relevant for the user: 0: good pixel, 486s 8: pick-up noise, 16: cosmic-ray removed, 486s 32: cosmic-ray unremoved, 128: 486s calibration file defect, 256: hot pixel, 486s 512: dark pixel, 4096: A/D converted 486s saturation, 32768: non linear pixel, 486s 1048576: extrapolated flux in NIR, 4194304: 486s Interpolated flux during extraction. (int; 486s default: 2144337919) 486s pre-overscan-corr: pre-overscan correction. 0: no correction 486s 1: mean overscan correction 2: mean prescan 486s correction 3: (mean pre+mean overscan)/2 486s correction (int; default: 1) 486s removecrhsingle-sigmalim: Poisson fluctuation threshold to flag CRHs 486s (see van Dokkum, PASP,113,2001,p1420-27) 486s (float; default: 20.0) 486s removecrhsingle-flim: Minimum contrast between the Laplacian 486s image and the fine structure image that a 486s point must have to be flagged as CRH. (see 486s van Dokkum, PASP,113,2001,p1420-27) (float; 486s default: 2.0) 486s removecrhsingle-niter: Max number of iterations (int; default: 4) 486s rectify-kernel: Name of the Interpolation Kernel Used. 486s Possible values are: tanh, sinc, sinc2, 486s lanczos, hamming, hann. (str; default: 486s 'tanh') 486s rectify-radius: Rectify Interpolation radius [bin units]. 486s (float; default: 2.0) 486s rectify-bin-lambda: Wavelength step in the output spectrum [nm] 486s (float; default: -1.0) 486s rectify-bin-slit: Spatial step along the slit in the output 486s spectrum [arcsec] (float; default: -1.0) 486s localize-method: Localization method (MANUAL, MAXIMUM, 486s GAUSSIAN) used to detect the object 486s centroid and height on the slit (str; 486s default: 'MANUAL') 486s localize-chunk-nb: Number of chunks in the full spectrum to 486s localize the object (int; default: 10) 486s localize-thresh: Threshold relative to the peak intensity 486s below which the edges of the object are 486s detected for MAXIMUM localization (float; 486s default: 0.1) 486s localize-deg-lambda: Degree in lambda in the localization 486s polynomial expression slit=f(lambda), used 486s only for MAXIMUM and GAUSSIAN (int; 486s default: 0) 486s localize-slit-position: Object position on the slit for MANUAL 486s localization [arcsec] (float; default: 0.0) 486s localize-slit-hheight: Object half height on the slit for MANUAL 486s localization [arcsec] (float; default: 2.0) 486s localize-kappa: Kappa value for sigma clipping in the 486s localization polynomial fit (float; 486s default: 3.0) 486s localize-niter: Number of iterations for sigma clipping in 486s the localization polynomial fit (int; 486s default: 3) 486s localize-use-skymask: TRUE if we want to mask sky lines using 486s SKY_LINE_LIST file. (bool; default: False) 486s stdextract-interp-hsize: Half size of mask used to define object 486s cross order profile (int; default: 30) 486s combinenod-method: Combination method for nodded frames 486s (MEDIAN, MEAN) (str; default: 'MEAN') 486s gen-sky: if TRUE a 2D sky frame, a 2D rectified, a 486s 2D merged sky are generated (bool; default: 486s True) 486s correct-tellurics: TRUE if during response computation we 486s apply telluric correction (bool; default: 486s True) 486s Author: D. Bramich, A.Modigliani 486s 486s 486s Recipe xsh_respon_slit_stare: 486s version 3.5.3 486s Parameters: {'keep-temp': 'no', 'debug-level': 'none', 'time-stamp': False, 'decode-bp': 2144337919, 'pre-overscan-corr': 1, 'background-edges-margin': 1, 'background-poly-deg-y': 9, 'background-poly-deg-x': 9, 'background-poly-kappa': 10.0, 'removecrhsingle-sigmalim': 20.0, 'removecrhsingle-flim': 2.0, 'removecrhsingle-niter': 4, 'rectify-kernel': 'tanh', 'rectify-radius': 2.0, 'rectify-bin-lambda': -1.0, 'rectify-bin-slit': -1.0, 'localize-method': 'MANUAL', 'localize-chunk-nb': 10, 'localize-thresh': 0.1, 'localize-deg-lambda': 0, 'localize-slit-position': 0.0, 'localize-slit-hheight': 2.0, 'localize-kappa': 3.0, 'localize-niter': 3, 'localize-use-skymask': False, 'sky-subtract': True, 'sky-bspline-nbkpts-first': 3000, 'sky-bspline-nbkpts-second': 3000, 'sky-bspline-order': 7, 'sky-bspline-niter': 20, 'sky-bspline-kappa': 5.0, 'sky-method': 'MEDIAN', 'bspline-sampling': 'FINE', 'sky-median-hsize': 20, 'sky-slit-edges-mask': 0.5, 'sky-position1': 0.0, 'sky-hheight1': 0.0, 'sky-position2': 0.0, 'sky-hheight2': 0.0, 'stdextract-interp-hsize': 30, 'do-optextract': False, 'optextract-oversample': 5, 'optextract-box-half-size': 10, 'optextract-chunk-size': 50, 'optextract-step-lambda': 0.02, 'optextract-clip-kappa': 3.0, 'optextract-clip-frac': 0.4, 'optextract-clip-niter': 2, 'optextract-niter': 1, 'optextract-method': 'GAUSSIAN', 'correct-tellurics': True} 486s Docstring: Compute the response function in SLIT stare mode 486s 486s This recipe computes the response function for arm Input Frames : - 486s A RAW frame (Tag = STD_FLUX_SLIT_STARE_arm, Type = RAW) - [UVB,VIS] 486s A master bias frame (Tag = MASTER_BIAS_arm, Type = PRE) - A master 486s dark frame (Tag = MASTER_DARK_arm Type = PRE) - A master flat frame 486s (Tag = MASTER_FLAT_SLIT_arm Type = PRE) - An order table frame(Tag = 486s ORDER_TAB_EDGES_arm Type = ORD) - A wave solution frame(Tag = 486s WAVE_TAB_2D_arm, Type = WAV) - [OPTIONAL] Table with dispersion 486s coefficients (Tag = DISP_TAB_arm) - [OPTIONAL] A telluric model 486s catalog (Tag = TELL_MOD_CAT_arm arm=VIS,NIR) - A standard star 486s fluxes catalog (Tag = FLUX_STD_CATALOG_arm Type = FLX) - A table to 486s set response sampling points (Tag = RESP_FIT_POINTS_CAT_arm) - An 486s atmospheric extinction table (Tag = ATMOS_EXT_arm) if provided 486s this is the one used to flux calibrate the spectra - 486s [OPTIONAL,physmod mode] A table listing sky line positions (Tag = 486s SKY_LINE_LIST_arm) this is used to be able to control quality of 486s sky subtraction, for example projecting guess positions on the 486s product SCI_SLIT_STARE_SUB_SKY_arm and is required if sky- 486s method=BSPLINE Products : - [If STD is in catal] The response ord- 486s by-ord function (Tag = PREFIX_RESPONSE_ORDER1D_SLIT_arm) - [If STD 486s is in catal] The response merged function (Tag = 486s PREFIX_RESPONSE_MERGE1D_SLIT_arm) - The extracted 2D specturm (Tag = 486s PREFIX_ORDER2D_arm) - The extracted 1D specturm (Tag = 486s PREFIX_ORDER1D_arm) - The merged 2D specturm (Tag = 486s PREFIX_MERGE2D_arm) - The merged 1D specturm (Tag = 486s PREFIX_MERGE1D_arm) - The merged 2D sky frame (Tag = 486s SLY_SLIT_MERGED2D) - [If STD is in catal] Flux calibrated merged 2D 486s spectrum (Tag = PREFIX_FLUX_ORDER2D_arm) - [If STD is in catal] Flux 486s calibrated merged 1D spectrum (Tag = PREFIX_FLUX_ORDER1D_arm) - [If 486s STD is in catal] Flux calibrated merged 2D spectrum (Tag = 486s PREFIX_FLUX_MERGE2D_arm) - [If STD is in catal] Flux calibrated 486s merged 1D spectrum (Tag = PREFIX_FLUX_MERGE1D_arm) - [If STD is in 486s catal] The efficiency (Tag = EFFICIENCY_SLIT_arm) - where PREFIX is 486s SCI, FLUX, TELL if input raw DPR.TYPE contains OBJECT or FLUX or 486s TELLURIC 486s 486s Parameters: 486s keep-temp: If 'no', temporary files are deleted. 486s (str; default: 'no') 486s debug-level: Additional xshooter debug level. One of 486s 'none', 'low', 'medium', 'high' (str; 486s default: 'none') 486s time-stamp: Add timestamp to product file name. (bool; 486s default: False) 486s decode-bp: Integer representation of the bits to be 486s considered bad when decoding the bad pixel 486s mask pixel values. Most frequent codes 486s relevant for the user: 0: good pixel, 486s 8: pick-up noise, 16: cosmic-ray 486s removed, 32: cosmic-ray unremoved, 486s 128: calibration file defect, 256: hot 486s pixel, 512: dark pixel, 4096: A/D 486s converted saturation, 32768: non linear 486s pixel, 1048576: extrapolated flux in 486s NIR, 4194304: Interpolated flux during 486s extraction. (int; default: 2144337919) 486s pre-overscan-corr: pre-overscan correction. 0: no correction 486s 1: mean overscan correction 2: mean 486s prescan correction 3: (mean pre+mean 486s overscan)/2 correction (int; default: 1) 486s background-edges-margin: X margin to order edge to define 486s background sampling points (int; default: 486s 1) 486s background-poly-deg-y: Poly mode fit deg along Y. (int; default: 486s 9) 486s background-poly-deg-x: Poly mode fit deg along X. (int; default: 486s 9) 486s background-poly-kappa: Poly mode kappa value of kappa-sigma-clip 486s outliers removal. (float; default: 10.0) 486s removecrhsingle-sigmalim: Poisson fluctuation threshold to flag CRHs 486s (see van Dokkum, PASP,113,2001,p1420-27) 486s (float; default: 20.0) 486s removecrhsingle-flim: Minimum contrast between the Laplacian 486s image and the fine structure image that a 486s point must have to be flagged as CRH. (see 486s van Dokkum, PASP,113,2001,p1420-27) 486s (float; default: 2.0) 486s removecrhsingle-niter: Max number of iterations (int; default: 4) 486s rectify-kernel: Name of the Interpolation Kernel Used. 486s Possible values are: tanh, sinc, sinc2, 486s lanczos, hamming, hann. (str; default: 486s 'tanh') 486s rectify-radius: Rectify Interpolation radius [bin units]. 486s (float; default: 2.0) 486s rectify-bin-lambda: Wavelength step in the output spectrum 486s [nm] (float; default: -1.0) 486s rectify-bin-slit: Spatial step along the slit in the output 486s spectrum [arcsec] (float; default: -1.0) 486s localize-method: Localization method (MANUAL, MAXIMUM, 486s GAUSSIAN) used to detect the object 486s centroid and height on the slit (str; 486s default: 'MANUAL') 486s localize-chunk-nb: Number of chunks in the full spectrum to 486s localize the object (int; default: 10) 486s localize-thresh: Threshold relative to the peak intensity 486s below which the edges of the object are 486s detected for MAXIMUM localization (float; 486s default: 0.1) 486s localize-deg-lambda: Degree in lambda in the localization 486s polynomial expression slit=f(lambda), used 486s only for MAXIMUM and GAUSSIAN (int; 486s default: 0) 486s localize-slit-position: Object position on the slit for MANUAL 486s localization [arcsec] (float; default: 486s 0.0) 486s localize-slit-hheight: Object half height on the slit for MANUAL 486s localization [arcsec] (float; default: 486s 2.0) 486s localize-kappa: Kappa value for sigma clipping in the 486s localization polynomial fit (float; 486s default: 3.0) 486s localize-niter: Number of iterations for sigma clipping in 486s the localization polynomial fit (int; 486s default: 3) 486s localize-use-skymask: TRUE if we want to mask sky lines using 486s SKY_LINE_LIST file. (bool; default: False) 486s sky-subtract: TRUE to use subtract sky single. (bool; 486s default: True) 486s sky-bspline-nbkpts-first: Nb of break points for Bezier curve 486s fitting (without localization) (int; 486s default: 3000) 486s sky-bspline-nbkpts-second: Nb of break points for Bezier curve 486s fitting (with localization) (int; default: 486s 3000) 486s sky-bspline-order: Bezier spline order (int; default: 7) 486s sky-bspline-niter: Nb of iterations (int; default: 20) 486s sky-bspline-kappa: Kappa value used to kappa-sigma-clip 486s object (float; default: 5.0) 486s sky-method: Sky subtract Method (BSPLINE, BSPLINE1, 486s BSPLINE2 MEDIAN). BSPLINE is equivalent to 486s BSPLINE1 (str; default: 'MEDIAN') 486s bspline-sampling: BSPLINE sampling. UNIFORM-uses the user 486s defined nbkpts value, corrected for 486s binning, for all orders. FINE: multiplies 486s the user defined nbkpts value, corrected 486s for binning, by a hard coded coefficient 486s optimized on each arm-order) (str; 486s default: 'FINE') 486s sky-median-hsize: Half size of the running median. If sky- 486s method=MEDIAN . (int; default: 20) 486s sky-slit-edges-mask: Size of edges mask in arcsec (float; 486s default: 0.5) 486s sky-position1: Central position of the sky window #1 486s [arcsec] (float; default: 0.0) 486s sky-hheight1: Half size of sky window #1 [arcsec] 486s (float; default: 0.0) 486s sky-position2: Central position of the sky window #2 486s [arcsec] (float; default: 0.0) 486s sky-hheight2: Half size of the sky window #2 [arcsec] 486s (float; default: 0.0) 486s stdextract-interp-hsize: Half size of mask used to define object 486s cross order profile (int; default: 30) 486s do-optextract: TRUE if we do the optimal extraction 486s (bool; default: False) 486s optextract-oversample: Oversample factor for the science image 486s (int; default: 5) 486s optextract-box-half-size: Extraction box [pixel] (int; default: 10) 486s optextract-chunk-size: Chunk size [bin] (int; default: 50) 486s optextract-step-lambda: Lambda step [nm] (float; default: 0.02) 486s optextract-clip-kappa: Kappa for cosmics ray hits rejection 486s (float; default: 3.0) 486s optextract-clip-frac: Maximum bad pixels fraction for cosmics 486s ray hits rejection (float; default: 0.4) 486s optextract-clip-niter: Maximum number of iterations for cosmics 486s ray hits rejection (int; default: 2) 486s optextract-niter: Number of iterations (int; default: 1) 486s optextract-method: Extraction method GAUSSIAN | GENERAL (str; 486s default: 'GAUSSIAN') 486s correct-tellurics: TRUE if during response computation we 486s apply telluric correction (bool; default: 486s True) 486s Author: P.Goldoni, L.Guglielmi, R. Haigron, F. Royer, D. Bramich, A. Modigliani 486s 486s 486s autopkgtest [01:02:59]: test test-recipe.py: -----------------------] 488s test-recipe.py PASS (superficial) 488s autopkgtest [01:03:01]: test test-recipe.py: - - - - - - - - - - results - - - - - - - - - - 488s autopkgtest [01:03:01]: @@@@@@@@@@@@@@@@@@@@ summary 488s test-recipe.py PASS (superficial) 506s Creating nova instance adt-noble-arm64-cpl-plugin-xshoo-20240419-005453-juju-7f2275-prod-proposed-migration-environment-3-95e4021e-987f-4079-9e43-463082119d3e from image adt/ubuntu-noble-arm64-server-20240418.img (UUID 6f8e97a7-9a55-4e99-9797-31213b709dd4)...