Slide 1

Slide 1 text

Introduc)on to the LRS2 CURE Based Reduc)on Pipeline Briana Indahl

Slide 2

Slide 2 text

Outline 1.  Intro to LRS2 2.  Se6ng up TACC account 3.  Running LRS2 reduc>on 4.  Demo 5.  Understanding the data products 6.  Upda>ng reduc>on script

Slide 3

Slide 3 text

Integral Field Spectrograph Slit Spectrograph IFS

Slide 4

Slide 4 text

LRS2 •  Based on the VIRUS unit design –  2 units - 4 independent channels •  Uses VPH grisms to achieve higher spectral resolu>on (R~1800) •  Each unit covers different wavelength range (370-1050nm) •  Full fill factor with microlens array

Slide 5

Slide 5 text

LRS2 Specs •  12ʹʹ×6ʹʹ FOV per unit Table 2 along with additional tabulated parameters that describe the designs of the grisms. The grisms can be seen schematically in Fig. 8 along with an example ray-trace of the spectrograph. The grisms have a square physical footprint with 150 mm sides. The grating layer clear aperture is circu- lar with an over-sized 138 mm diameter as compared to the 125 mm diameter collimated beam to relax the translational position tolerance of the grism within the instrument. We have performed a detailed Monte Carlo analysis of the grism tolerance for each channel including the expected fabrication error, assembly error, and Table 2. LRS2 VPH Grism Properties UV Arm Orange Arm Red Arm Far Red Arm Units (Comments) min , max 370, 470 460, 700 650, 847 823, 1050 nm Dispersion 0.48 1.16 0.95 1.10 ˚ A px 1 (1 ⇥ 1 binning) Spectral Resolution 2.20 5.09 4.24 4.87 ˚ A (FWHM) Resolving Power R 1910 1140 1760 1920 (R = / ) Fringe Density 1770 776 923 797 lines mm 1 Bragg Wavelength 400 590 750 940 nm Angle of Incidence 12.04 6.57 11.17 12.28 (on VPH Layer) Fringe Tilt 1.31 2.00 2.06 2.09 (see Fig. 8) Assembly Physical Tilt ✓ grism 15.3 14.3 15.3 15.3 (see Fig. 8) Prism Wedge Angle 35.5 3.5 30.8 37.4 (see Fig. 8) DCG Optical Thickness 3.5 6.0 4.9 7.5 µm DCG Index Modulation 0.060 0.048 0.074 0.061 (assumed sinusoidal) LRS2-B-UV (“UV” channel) 370 ≤ λ (nm) ≤ 470 LRS2-B-OR (“Orange” channel) 460 ≤ λ (nm) ≤ 700 LRS2-R-NR (“Near Red” channel) 650 ≤ λ (nm) ≤ 842 LRS2-R-FR (“Far Red” channel) 818 ≤ λ (nm) ≤ 1050

Slide 6

Slide 6 text

Hobby Eberly Telescope LRS2-B LRS2-R 16 VIRUS IFUs HRS2 & HPF

Slide 7

Slide 7 text

LRS2 Fiber Feed Fibers to spectrograp h

Slide 8

Slide 8 text

For more detailed descrip>on of LRS2: (Chonis et. al., 2014, Proc. SPIE, 9147) hdps://arxiv.org/abs/1407.6016

Slide 9

Slide 9 text

How to access and reduce your LRS2 Data

Slide 10

Slide 10 text

Everything you need to know can be found in: LRS2_reduc>on_README.md You can find it here: hdps://github.com/BrianaLane/LRS2_reduc>on

Slide 11

Slide 11 text

Se6ng up your TACC account for LRS2 reduc>on •  Send Karl your username so he can add you to the HETDEX group •  ssh –XY [email protected] Here

Slide 12

Slide 12 text

Se6ng up your account •  Add paths to your ~/.bashrc file >> cd >> vi ~/.bashrc Op>onal

Slide 13

Slide 13 text

Finding Your Data on Maverick •  Info from night logs 1.  Date of observa>on (20170127) 2.  observa>on folder (lrs20000015) 3.  object name (GN2_4200) •  Path on Maverick to data: /work/03946/hetdex/maverick •  Directory Structure: /date_folder/lrs2/observa>on_folder/exp##/lrs2/*.fits (ex. /20170127/lrs2/lrs20000015/exp01/lrs2/*.fits)

Slide 14

Slide 14 text

Understanding Data Names 20160731T071921.5_056RL_flt.fits

Slide 15

Slide 15 text

CURE •  Provides tools for reducing and analyzing VIRUS data >> ls $CURELRS2 >> $CURELRS2/deformer –h

Slide 16

Slide 16 text

LRS2 Reduc>on Sowware •  Can find script at either loca>on: –  hdps://github.com/BrianaLane/LRS2_reduc>on OR –  /home/04195/bindahl/LRS2_reduc>on

Slide 17

Slide 17 text

LRS2 Reduc>on Sowware •  Contains the following elements: •  LRS2_reduc)on_README.md •  reduc)on_wrapper_lrs2.py •  cosmics.py •  lrs2_config.py •  lrs2_config –  Lines_files –  Mapping_files –  Pixel_flats –  LongExpCals Instruc>ons here! Main Script Edit this one!

Slide 18

Slide 18 text

Running LRS2 Reduc>on 1.  Read the LRS2_reduc)on_README.md 2.  Set up ~./bashrc file following instruc>ons in README file 3.  Create a copy of LRS2_reduc>on in your work directory 4.  Edit config file (lrs2_config.py) $ python reduc)on_wrapper_lrs2.py OR $ python reduc)on_wrapper_lrs2.py –config path/lrs2_config.py

Slide 19

Slide 19 text

Reduc>on Steps •  basic - run basic reduc>on (overscan + bias subtract, ccd combine, build mastertrace + masterarc) •  run_deformer - run deformer to map spectral traces and build wavelength solu>on for fiber extrac>on •  subsky - run sky subtrac>on on sci images - Need to have run deformer, only runs on non-extracted spectra •  fiberextract - extract spectra and save into fits file - Need to have run deformer •  makecube - builds data cube out of fiber extracted image - Need to have run fiberextract •  collapseCube - collapse data cube to make an image of a wavelength range of the users choice

Slide 20

Slide 20 text

Understanding the Data Products CuFeRSpses20160731T094822.4_056_sci_R.fits e.CuFeRSpses20160731T094822.4_056_sci_R.fits Data Cube Error Frame for that file

Slide 21

Slide 21 text

LRS2 Data – basic reduc>on – pses

Slide 22

Slide 22 text

Upda>ng LRS2_reduc>on

Slide 23

Slide 23 text

Ø Make TACC account! Ø All data and reduc>on sowware is on Maverick Ø Basic reduc>on to data cubes Ø /home/04195/bindahl/LRS2_reduc)on •  LRS2_reduc)on_README.md •  reduc)on_wrapper_lrs2.py •  cosmics.py •  lrs2_config.py •  lrs2_config $ python reduc)on_wrapper_lrs2.py LRS2 CURE Based Reduc)on Pipeline Instruc>ons here! Main Script Edit this one!