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