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