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