Mimir NIR Spectroscopy Data Processing Cookbook V2.0 DPC

Similar documents
Mimir Near-Infrared Spectral Analysis Cookbook

Lab 4: Stellar Spectroscopy

Telluric Correction of IRTF Spectra with Atmospheric Models

AstroBITS: Open Cluster Project

Objectives: (a) To understand how to display a spectral image both as an image and graphically.

Open Cluster Research Project

Jasco V-670 absorption spectrometer

ACS CCDs UV and narrowband filters red leak check

Measuring ph with Smart Cuvettes

DAY LABORATORY EXERCISE: SPECTROSCOPY

PACS Spectroscopy performance and calibration PACS Spectroscopy performance and calibration

ASTERICS - H Abell 1656: the Coma Cluster of Galaxies

Become a Microprobe Power User Part 2: Qualitative & Quantitative Analysis

Cover Page. The handle holds various files of this Leiden University dissertation

PACS Spectroscopy performance and calibration PACS Spectroscopy performance and calibration

Analysis of wavelength shifts reported for X-shooter spectra

Department of Physics and Astronomy University of Iowa 29:137 Astronomical Laboratory Fall 2011 Lab 4: Stellar Spectroscopy

CONFIRMATION OF A SUPERNOVA IN THE GALAXY NGC6946

ECNU WORKSHOP LAB ONE 2011/05/25)

Life Cycle of Stars. Photometry of star clusters with SalsaJ. Authors: Daniel Duggan & Sarah Roberts

Note on OSIRIS Wavelength Calibrations D. Le Mignant, Oct. 5, 2007

IN REPORT: Plate Scale and FOV of CCD for Each Telescope using Albireo Stars

Lab 6: Spectroscopy Due Monday, April 10

COS FUV Focus Determination for the G140L Grating

UNIVERSITY COLLEGE LONDON. Measuring a Stellar Spectrum

Compute Redshifts of Quasars Using SPLAT-VO

Polar alignment in 5 steps based on the Sánchez Valente method

Lab 4 Radial Velocity Determination of Membership in Open Clusters

The in-orbit wavelength calibration of the WFC G800L grism

Assignment #0 Using Stellarium

Astro 3 Lab Exercise

Introduction of near-infrared (NIR) spectroscopy. Ken-ichi Tadaki (NAOJ)

Estimating Magnetic Field Strength from the. TLRBSE Solar Spectra Data

Best Pair II User Guide (V1.2)

PACS Wavelength Switching AOT release note

The IRS Flats. Spitzer Science Center

Updated flux calibration and fringe modelling for the ACS/WFC G800L grism

Interacting Galaxies

Background The power radiated by a black body of temperature T, is given by the Stefan-Boltzmann Law

Star Cluster Photometry and the H-R Diagram

Photometry with Iris Photometry with Iris

How Do We Get Light from Matter: The Origin of Emission

Virgo Ego Scientific Forum VESF school 2011 Optical Image Analysis Tutorial by Marica Branchesi

ASTRONOMY 460: PROJECT INTRO - GALACTIC ROTATION CURVE

Extraction of Point Source Spectra from STIS Long Slit Data

Data Reduction - Optical / NIR Imaging. Chian-Chou Chen Ph319

Hubble's Law and the Age of the Universe

OPSIAL Manual. v Xiaofeng Tan. All Rights Reserved

Photometry of Supernovae with Makali i

Python Tutorial on Reading in & Manipulating Fits Images and Creating Image Masks (with brief introduction on DS9)

Understanding Your Spectra Module. Agilent OpenLAB CDS ChemStation Edition

Relative Photometry with data from the Peter van de Kamp Observatory D. Cohen and E. Jensen (v.1.0 October 19, 2014)

2: SIMPLE HARMONIC MOTION

Physics 476LW Advanced Physics Laboratory Atomic Spectroscopy

Asteroid Investigation

Quantification of JEOL XPS Spectra from SpecSurf

Standards-Based Quantification in DTSA-II Part II

Software BioScout-Calibrator June 2013

How to Make Photometric & Colorimetric Measurements of Light Sources using an Ocean Optics Spectrometer and SpectraSuite Software

Simulating Future Climate Change Using A Global Climate Model

Southern African Large Telescope

CHEMISTRY SEMESTER ONE

Zeeman Effect Physics 481

Size Determination of Gold Nanoparticles using Mie Theory and Extinction Spectra

Overlaying GRIB data over NOAA APT weather satellite images using OpenCPN

Login -the operator screen should be in view when you first sit down at the spectrometer console:

The Monte Carlo Method

The TV3 ground calibrations of the WFC3 NIR grisms

Comparing whole genomes

1. Prepare the MALDI sample plate by spotting an angiotensin standard and the test sample(s).

Moving into the information age: From records to Google Earth

Color-Magnitude Diagram Lab Manual

OCEAN/ESS 410 Lab 4. Earthquake location

A Fast Algorithm for Cosmic Rays Removal from Single Images

The CSC Interface to Sky in Google Earth

NAOYUKI TAMURA Subaru Instrument Astronomer Subaru Telescope, NAOJ

Simulation of Second Order Spectra Using SpinWorks. CHEM/BCMB 8190 Biomolecular NMR UGA, Spring, 2005

Mnova Software for Analyzing Reaction Monitoring NMR Spectra

2: SIMPLE HARMONIC MOTION

Lecture #19 MINEQL: Intro & Tutorial Benjamin; Chapter 6

Comparing Ultraviolet and Infrared Star Formation Tracers

Students will explore Stellarium, an open-source planetarium and astronomical visualization software.

Absolute Flux Calibration for STIS First-Order, Low-Resolution Modes

An Introduction to the Cycle 4 ALMA Observing Tool How to turn that great idea into ALMA data...

AUTOMATIC AND INTERACTIVE ANALYSIS SOFTWARE FOR BETA- GAMMA COINCIDENCE SYSTEMS USED IN CTBT MONITORING

BD1. Reciprocal space and Fourier transforms. IB Mineral Sciences Module B: Reciprocal Space, Symmetry and Crystallography

Observation: NOT OBSERVING Either Not observing, Waiting, On Source, On reference, Scanning etc.

Senior astrophysics Lab 2: Evolution of a 1 M star

Astronomical spectroscopy with the USB 2000 spectrometer

Spectroelectrochemistry Part 2: Experiments and Data evaluation

Electric Fields and Equipotentials

Wikipedia - Stellar classification:

Spectral Analysis of High Resolution X-ray Binary Data

Astronomical Spectroscopy. Michael Cushing

Tutorial 10 - PMP Estimation

FIA0221: Taller de Astronomía II. Lecture 14 Spectral Classification of Stars

PROJECT GLOBULAR CLUSTERS

An Introduction to the Cycle 4 ALMA Observing Tool

LightWork Memo 18: Galactic Spectra Data Overview 1

Instytut Fizyki Doświadczalnej Wydział Matematyki, Fizyki i Informatyki UNIWERSYTET GDAŃSKI

Transcription:

Mimir NIR Spectroscopy Data Processing Cookbook V2.0 DPC - 20111130 1. Fetch and install the software packages needed a. Get the MSP_WCT, MSP_CCS, MSP_SXC packages from the Mimir/Software web site: http://people.bu.edu/clemens/mimir/software.html b. Get the SpeXTool package (from the AS710 web site for BU folks, from IRTF for others) 2. Use Argon lamp observations to wavelength-calibrate science observations a. Identify the image numbers for the relevant Argon lamp observations b. Launch the MSP_WCT (Wavelength Calibration Tool) package c. Click the Step_1 tab d. Select the correct spectroscopy mode (usually this is HK-Spec ) e. Select the correct slit mode (usually this is S1 Tall, Narrow ) f. Click Next, or Step_2 g. Verify that Argon is selected ; click Next or Step_3 h. Next to Input Directory, click Select and use the file-chooser to point to the 12_Science_Images directory and select the night subdirectory i. Next to Output Directory, if this is the first time, click Create Directory and create a new subdirectory parallel to 12_Science_Images and name the new directory 13_Wavelength_Calibrated_Images. If this is not the first time (that is, the directory exists), then click Select and use the file-chooser to select the 13_Wav directory. j. Click the Multiple Images radio button k. Click the Select Images button and use the file-chooser to select the (usually) five ARGON images (NOT the science images) l. When the averaged image is displayed, click Next or Step_4 m. Click Find Slit Offset. If the slit is found to be within 5 pixels of zero, all is well n. Click Refine Dispersion to obtain a better estimate for the average dispersion equation o. Click Next or Step_5 p. Click Start Line Fitting to do the zonal fitting of the dispersion equation in order to develop a 2-D dispersion equation q. When this is done, examine the swoosh plot. If it looks good, then click Next or Step 6 r. The input and output directories should already be set. If not, set the input to the 12_Science_Images directory and correct night subdirectory, and the output to the 13_Wave directory s. Check that the _Ar suffix and 2 oversample factor are set t. Click Select Images and use the file-chooser to select the range of images of the science target for which to apply this argon wavelength calibration. u. Click Start 2-D Wavelength Calibration v. When done, either click More! to go on to the next Argon and Science set, or Exit to quit. 1

3. For Stellar Spectra (as opposed to extended objects) taken with ABBAdithering, difference, stack, and combine multiple images using the MSP_CCS (Clean and Coadd Spectra) package. a. Download and install the MSP_CCS package b. Compile and launch MSP_CCS c. Click the Launch CCS Tool button d. Use the file-chooser to select a group of WCT-processed spectral images from the 13_Wavelength_Calibrated directory. The group should be the full set of observations for one science target. e. The first plot shows the dither pattern executed by the telescope (from sky positions stored in the FITS headers). Images are classified as belonging to the A or B dither positions. f. The next plot will update with a row plot representing the average power found in each row of the image (that is, all columns in each row are averaged). This will normally reveal the presence of one star, with a bolder overlay showing a gaussian fit to the profile to better located the centroid row for each observation. g. The next plot will show the run of these refined row centroid positions versus spectral image number (referenced to the first). This should show the A-B dither pattern as well as the row drift included as the ddecdp parameter when the observations were conducted. h. When completed, use the file-chooser to save the final cleaned and coadded spectral image. If not yet created, make a new directory named 14_Registered_Coadded_Spectral_Images and name your new file in that directory something like 20111112_765-787.fits to identify the year, month, day and the starting and ending image numbers. Be sure to have a.fits suffix. 4. Extract a Stellar Spectrum from the Coadded Spectral Image a. Download and install the MSP_SXC (Spectral extractor) package b. Compile and start the Step_14_Extract_Stellar_Spectrum.pro program c. Use the file-chooser to select one cleaned, coadded spectral image from the previous step d. Use the next instance of the file-chooser to create or select an output directory, named 15_Extracted_Spectra e. An image showing your spectral image will appear and a cursor will turn on in the image. If this looks like your image, click the mouse with the cursor in the image f. The next plot shows the summed counts (with column) in each row of the image g. In the plot, gaussian-looking features will be numbered G1 for the strongest, G2 the next strongest, etc. Rows identified in each gaussian feature have blue circles surrounding the data points. Baseline regions are identified as the green line, with some red marks showing rejection regions. h. In the IDL response window, identify which gaussian feature to extract from the spectral image, by typing a 1 or 2 and hitting enter i. The next window to pop up will show the spectral image, with two red overlays identifying the set of rows from which the spectrum will be extracted from the 2

image. These should closely parallel the region comprising the spectrum in the image. j. Next, two plots will appear. The top plot shows the extracted spectrum as a function of wavelength, with the uncertainty for each spectral channel plotted below the value for each channel (the uncertainties may be indistinguishable from the zero line for S/N ratios > 200 or so). The bottom plot will show the average sky spectrum away from the star. For these CCS-processed images, the sky spectrum should already be free from OH line emission, so the plot should look like mostly gaussian noise. k. Click in the lower plot ( Sky Spectrum of ) to end this step 5. Use an extracted A0V star spectrum to telluric-correct a science star spectrum a. Download and unpack the SpexTool package b. Compile and launch the xtellcor.pro program from the pro subdirectory c. Click the Help bar at the bottom of the Xtellcor window d. Follow the steps 1 to 5 in the Xtellcor window i. In the 1. Load Spectra window: 1. Click the Path button to use the file-chooser to select the 15_Extracted directory where the spectra are located 2. Click the Std Spectra button to use the file-chooser to select the spectrum for the A0V standard star (Important: this is the A0V star, not the science star). 3. Click the Obj Spectra button to load the spectrum for the science star 4. Fill in the Std Mag (B,V) text windows with the apparent B and V magnitudes for the A0V standard star 5. Click the Load Spectra button ii. In the 2. Construct Convolution Kernel window: 1. Be sure the Deconvolution is selected and Order shows 01 2. Click the Construct Kernel button 3. Put the cursor in the upper plot and click the X button 4. Select the left limit at about 1.60 microns and the right limit as about 1.72 microns 5. Click the Y button and set the lower and upper limits to stretch the white curve to nearly the full vertical range 6. Click the N button to begin marking ranges for normalizing the continuum (non-line) portion 7. Click the mouse button to select the left and right limits of a series of regions not within the Hydrogen Brackett absorption lines (for example, four zones: 1.622-1.630; 1.653-1.660; 1.669-1.671; and 1.6944-1.7068 work well) 8. Set the Fit Degree selector to greater than 10 9. Click the Fit Continuum button 10. If the green line looks like a good model for the continuum through the region of the two absorption line, then click the Normalized 3

Spectrum radio button. If not, change the fit degree and refit the continuum. 11. In the normalized spectrum plot that appears, click S to select the line to use for model fitting. Try to select from the left limit where the line hits the continuum, to the similar right limit where it does the same. For example, 1.632 microns (left) and 1.654 microns (right). 12. Click the Construct Kernel button between the two plots 13. In that new plot, red shows the unconvolved Vega spectrum, green shows Vega convolved with the Mimir instrument response function you just selected, and white shows the Mimir data. The blue histogram shows the difference between the convolved Vega spectrum and the Mimir spectrum. In the lower left are listed the maximum deviation and the RMS deviation. If the RMS is under 1.5%, the model is a good one. If it is significantly larger, try selecting the other absorption line and repeating the kernel construction or try changing the left and right line limits. 14. When a suitable model is found, click the Accept bar at the bottom iii. In the 3. Construct Telluric Spectra window: 1. Click the Scale Lines button 2. The new lower plot shows the Mimir spectrum in white and an atmospheric model spectrum in yellow. Look for the presence of any remaining Mimir absorptions in the green dotted line regions for the Brackett lines that are NOT dominated by absorption features in the atmosphere (usually, there are no remaining absorptions to worry about). Brackett absorptions can be removed by mouse-grabbing the relevant green asterisk in the upper plot upwards. This will add a bit more model absorption for that particular spectral line, so as to smooth out the corrected Mimir spectrum a bit more. 3. When done, or if happy from the start, click the Accept bar at the bottom 4. Click the Construct Telluric Spectra button iv. In the 4. Determine Shift window: 1. Click the Get Shift button 2. In the new upper window, press S to select a spectral zone for shift-matching the corrected Mimir A0V spectrum (in green) to the Mimir science spectrum (in white). Select left and right window limits. Try to stay away from the deep absorption between the H and K windows. For example, a suitable region would include some atmospheric absorptions around 2.0 microns, say from 1.95 to 2.04 microns. Avoid real absorption or emission lines, also. 3. After selecting the region limits, (blue dashed lines should appear), click the Auto Find button 4

4. The resulting shift should be under 1 pixel. If not, change selection region and retry. 5. When happy, click the Accept bar at bottom v. In the 5. Write File window: 1. Be sure the FITS box is checked 2. Type a reasonable file name into the Object File field (you do not need to include the.fits suffix, as this is added automatically). 3. Click the Write File button vi. Either begin again, with a new A0V+Science image pair, or click the Done bar at top vii. This leaves the final spectrum (or spectra) in the original directory. Move them to a new directory ( 16_Corrected_Spectra ) 6. For Extended Objects, Extract Spectra From A Row Zone in Each Spectral Image a. Unlike stellar spectra, this must be done on each constituent image before combining b. Open the MSP_SXC package, compile and launch Step_14_Extract_Zonal_Spectrum.pro c. Use the file-chooser to select one extended object spectral image d. Use the next pop-up file-chooser to select a directory and output file name. It is wise to put these extracted spectra in the 15_Extracted_Spectra directory, but even wiser to create a subdirectory in that directory, called Extended_Objects_Spectra and store the output there. Safest is to keep the same image name, but add an internal suffix like _zone to the filename. (e.g., a file name might become 20111112.001_LDFC_zone.fits e. An image appears and the user is asked to operate the cursor and mouse to mark first the Upper-Left row zone boundary, then the Lower-Right row zone boundary. (since only the row boundaries are used, the column information is ignored) f. After selection, two red lines are overlaid on the image to show the region to be extracted into the object spectrum. [Note that at this time, spatially-resolved spectral extractions are not supported.] The lines are tilted to account for the known JHK grism tilt. If this enclosed zone looks correct, type Y in the IDL response text region. g. 7. Spectra may be examined using the xvspec.pro program in the SpexTool/pro directory 8. To better isolate the spectral lines, it is necessary to fit and remove the stellar continuum (baseline) a. Reload the MSP_SXC package b. Compile and launch the Step_16_Baseline_Spectrum.pro program c. Zoom in on one band (say, H-band), remove its baseline, and save the result to a new directory ( 17_Baselined_Spectra ) d. Run again on another band (K-band) and save the result in that same directory, under a different filename. 5

9. Stitch the baselined band-based spectra back into a single spectrum a. Compile and launch the Step_17_Reassemble_JHK_Spectra.pro program b. You will likely not have J-band spectra, that is fine. c. Select 0.0 offsets for H and K d. Save the resulting spectrum to the 17_Baselined_Spectra directory 10. Plot the final spectrum a. Compile and launch the Step_18_Plot_JHK_Spectrum.pro program b. Select your full spectrum c. Identify whether to plot to the screen (initially, until you get to a good final result), or to a postscript file d. Identify which line overlay set is most appropriate for your spectrum e. When the best set are found, rerun with output going to a postscript file, in a new directory ( 18_Spectral_Plots ) 6