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