Analysing SPIRE FTS spectra 1 Day 4: SPIRE Rosalind Hopwood.

Slides:



Advertisements
Similar presentations
Richard Young Optronic Laboratories Kathleen Muray INPHORA
Advertisements

Echelle Spectroscopy Dr Ray Stathakis, AAO. What is it? n Echelle spectroscopy is used to observe single objects at high spectral detail. n The spectrum.
Image Analysis Jim Lovell ATNF Synthesis Imaging Workshop May 2003.
RHESSI/GOES Xray Analysis using Multitemeprature plus Power law Spectra. J.McTiernan (SSL/UCB)
Image Analysis Jim Lovell ATNF Synthesis Imaging Workshop September 2001.
RHESSI/GOES Xray Analysis using Multitemeprature plus Power law Spectra. J.McTiernan (SSL/UCB) ABSTRACT: We present spectral fits for RHESSI and GOES solar.
→ Herschel data for absolute beginners Herschel Science Centre (ESAC)
Wideband Imaging and Measurements ASTRONOMY AND SPACE SCIENCE Jamie Stevens | ATCA Senior Systems Scientist / ATCA Lead Scientist 2 October 2014.
Blue: Histogram of normalised deviation from “true” value; Red: Gaussian fit to histogram Presented at ESA Hyperspectral Workshop 2010, March 16-19, Frascati,
HIFI Tutorial 3: Getting some basic science out A.P.Marston ESAC 27 June 2013.
PACS Hitchhiker’s Guide to Herschel Archive Workshop – Pasadena 6 th - 10 th Oct 2014 SPIRE Photometer Data Reprocessing Bernhard Schulz (NHSC/IPAC) on.
PACS NHSC SPIRE Point Source Spectroscopy Webinar 21 March 2012 David Shupe, Bernhard Schulz, Kevin Xu on behalf of the SPIRE ICC Extracting Photometry.
PACS Page 1 NHSC Data Processing Workshop – Pasadena Sept 10-14, 2012 SPIRE Spectrometer Data Reduction: Mapping Observations Nanyao Lu NHSC/IPAC (On behalf.
SPIRE Consortium Meeting La Palma, Oct. 1 – SPIRE FTS Pipeline Trevor Fulton Blue Sky Spectroscopy, Lethbridge, Canada.
PACS NHSC Data Processing Workshop – Pasadena 26 th - 30 th Aug 2013 Photometer Extended Source Photometry Bernhard Schulz NHSC/IPAC on behalf of the SPIRE.
Page 1 PACS NHSC Data Processing Workshop – Pasadena 26 th - 30 th Aug 2013 Overview of SPIRE Photometer Pipeline Kevin Xu NHSC/IPAC on behalf of the SPIRE.
 Last Version: DR3.5  Released June 2012  Pipeline:  Optimised De- glitcher  BriGAdE  Allow Dark Pixel drift removal.
NHSC Workshop August 2013 NASA Herschel Science Center - page 1 PACS David R. Ardila User Support coordinator / NHSC Archive Scientist The Herschel Science.
A multi-colour survey of NGC253 with XMM-Newton Robin Barnard, Lindsey Shaw Greening & Ulrich Kolb The Open University.
PACS Hitchhiker’s Guide to Herschel Archive Workshop – Pasadena 6 th - 10 th Oct 2014 The SPIRE Photometer and its Observing Modes Bernhard Schulz (NHSC/IPAC)
PACS NHSC Data Processing Workshop – Pasadena 10 th - 14 th Sep 2012 SPIRE AOTs, Products and Quick Look Tools Bernhard Schulz NHSC/IPAC on behalf of the.
PACS Spectrometer Spatial Calibration plan in PV phase A.Contursi D. Lutz and U. Klaas.
PACS Hitchhiker’s Guide to Herschel Archive Workshop – Pasadena 6 th - 10 th Oct 2014 Roberta Paladini NHSC/IPAC Photometry Guidelines for PACS data.
PACS Hitchhiker’s Guider to Herschel Archive Workshop – Pasadena 6 th – 10 th Oct 2014 SPIRE Photometer Data Products Kevin Xu NHSC/IPAC on behalf of the.
PACS Hitchhiker’s Guide to Herschel Archive Workshop – Pasadena 6 th - 10 th Oct 2014 The PACS Photometer: Overview and Products Roberta Paladini NHSC/IPAC.
1 NHSC PACS NHSC/PACS Web Tutorials Running PACS photometer pipelines PACS-402 (for Hipe 12.0) Level 1 to Level 2 processing: The JScanam pipeline Prepared.
PACS NHSC Data Processing Workshop – Pasadena 10 th - 14 th Sep 2012 Measuring Photometry from SPIRE Observations Presenter: David Shupe (NHSC/IPAC) on.
Source catalog generation Aim: Build the LAT source catalog (1, 3, 5 years) Jean Ballet, CEA SaclayGSFC, 29 June 2005 Four main functions: Find unknown.
Imaging Molecular Gas in a Nearby Starburst Galaxy NGC 3256, a nearby luminous infrared galaxy, as imaged by the SMA. (Left) Integrated CO(2-1) intensity.
Herschel Open Time Cycle 1 DP workshop ESAC, March page 1 Tour of HIFI data.
PACS NHSC Data Processing Workshop – Pasadena 10 th - 14 th Sep 2012 The SPIRE Destriper Bernhard Schulz NHSC/IPAC on behalf of the SPIRE ICC 1.
Spectroscopy with PACS M82 PACS line imaging from the SHINING team (Contursi et al First Results workshop talk) Phil Appleton and Dario Fadda for.
Herschel Open Time Cycle 1 DP workshop ESAC, March page 1 Spurs in HIFI data Colin Borys.
PACS Page 1 NHSC Workshop on HSA Data Oct 6-10, 2014 SPIRE Spectrometer Data Reduction: Special Cases Nanyao Lu NHSC/IPAC (On behalf of the SPIRE ICC,
PACS Hitchhiker’s Guide to Herschel Archive Workshop – Pasadena 6 th - 10 th Oct 2014 SPIRE Broad-Band Photometry Extraction Bernhard Schulz (NHSC/IPAC)
PACS Hitchhiker’s Guide to Herschel Archive Workshop – Pasadena 6 th - 10 th Oct 2014 The PACS Spectrometer: Overview and Products Roberta Paladini NHSC/IPAC.
Page 1 PACS NHSC Webinar: New SPIRE Features in HIPE th Nov 2012, Pasadena Update on SPIRE Photometer Pipeline Kevin Xu NHSC/IPAC on behalf of the.
- page 1 NHSC – DP workshop – Feb – N. Billot PACS Deglitching PACS Photometer Data Presentation based on tutorial PACS-402.
NHSC SPIRE Data School – Pasadena 28 th - 30 th June 2010 PACS page 1 SPIRE Imaging Fourier Transform Spectrometer (FTS) Pipeline Data Processing Nanyao.
MOS Data Reduction Michael Balogh University of Durham.
Page 1 PACS NHSC Webinar: What’s New in HIPE 13 for SPIRE 19 th May 2015, Pasadena What’s New in HIPE 13 General Topics Bernhard Schulz (NHSC/IPAC) on.
Some thoughts on error handling for FTIR retrievals Prepared by Stephen Wood and Brian Connor, NIWA with input and ideas from others...
NHSC PACS PACS Photometry and Errors Estimate Roberta Paladini (NSHC/Caltech) R. Paladini NHSC Archive Data Processing Workshop – August 26 th – 30 th.
PACS NHSC Data Processing Workshop Aug 26-30, 2013 Page 1 SPIRE Spectrometer Data: Calibration Updates, User Data Reprocessing, and Other Issues Nanyao.
Page 1 PACS NHSC Data Processing Workshop – Pasadena 26 th - 30 th Aug 2013 Issues with Photometer Data & How to Resolve them with HIPE Tools Kevin Xu.
PACS Page 1 NHSC Data Processing Workshop – Pasadena Aug 26-30, 2013 SPIRE Spectrometer Data Reduction: Mapping Observations Nanyao Lu NHSC/IPAC (On behalf.
NHSC Data Processing Workshop Aug 26-30, 2013 PACS Page 1 SPIRE Spectrometer Data Processing (The Pipeline) Nanyao Lu NHSC/IPAC (on behalf of the SPIRE.
HIFI Tutorial 1: Running the HIFI Pipelines and Adaptations A.P.Marston ESAC 27 June 2013.
1 NHSC PACS NHSC/PACS Web Tutorials Running PACS photometer pipelines PACS-402 (for Hipe 13.0) Level 1 to Level 2.5 processing: The JScanam pipeline Prepared.
PACS page 1 NHSC SPIRE Data Processing Webinars 8 th Feb 2012 PACS page 1 Overview of SPIRE Photometer Pipeline C. Kevin Xu (NHSC/IPAC)
Electron Spectrometer: Status July 14 Simon Jolly, Lawrence Deacon 1 st July 2014.
NHSC HIFI DP workshop Caltech, 7-9 February page 1 Spurs in HIFI data.
PACS page 1 NHSC SPIRE Data Processing Webinars 7 th March 2012 PACS page 1 SPIRE Photometer Map Making C. Kevin Xu (NHSC/IPAC)
New SPIRE features in HIPE 9.1 NHSC; Nov 28, 2012 PACS Page 1 What’s New in HIPE 9.1 ( SPIRE FTS) Nanyao Lu NHSC/IPAC (on behalf of the SPIRE ICC)
PACS Page 1 NHSC Workshop on HSA Data Oct 6-10, 2014 SPIRE Spectrometer: Pipeline Calibration Nanyao Lu NHSC/IPAC (on behalf of the SPIRE ICC, HSC & NHSC)
NHSC HIFI DP workshop Caltech, 8-9 March page 1 Pat Morris, NHSC DP Webinar, 9 March 2012 HIFI Spectral Maps in HIPE.
- page 1 PACS Phil Appleton on behalf of the NHSC/HSC and the PACS ICC ; especially Bart Vandenbussche and Pierre Royer (KUL Belgium) Instrument Performance.
In conclusion the intensity level of the CCD is linear up to the saturation limit, but there is a spilling of charges well before the saturation if.
All-sky source search Aim: Look for a fast method to find sources over the whole sky Selection criteria Algorithms Iteration Simulations Energy information.
1 NHSC PACS NHSC/PACS Web Tutorials Running PACS photometer pipelines PACS-403 (for Hipe 13.0) Level 1 to Level 2.5 processing: The Unimap pipeline Prepared.
PACS Hitchhiker’s Guide to Herschel Archive Workshop – Pasadena 6 th – 10 th Oct 2014 Overview of SPIRE Photometer Data Reduction Pipeline Kevin Xu NHSC/IPAC.
NHSC/PACS Web Tutorials
PACS Calibration Status Report
Lecture 15 Deconvolution CLEAN MEM Why does CLEAN work? Parallel CLEAN
SPIRE Spectrometer Data Reduction: Spectral Line Fitting
HIFI Hands-on Exercises
What’s New in HIPE 10.0 (SPIRE FTS)
Imaging Topics Imaging Assumptions Photometry Source Sizes Background
ATLAS full run-2 luminosity combination
X-ray high resolution spectra in the VO: the case of XMM-Newton RGS
Presentation transcript:

Analysing SPIRE FTS spectra 1 Day 4: SPIRE Rosalind Hopwood

Herschel Online Data Processing Workshop 19th June The FTS flyer S-flyer-landscape_v12_A4.pdf

Analysing SPIRE FTS spectra SPIRE DRG: Chapter 7 for the Spectrometer SPIRE Handbook: FTS calibration: Swinyard et al (arXiv: ) FTS calibration program: Hopwood et al (arXiv: ) FTS Mapping: Benielli et al (arXiv: )* Experimental Astronomer, Volume 37, Issue 2, July 2014 Five FTS papers (*including the mapping paper above)  Fulton et al. FTS RSRFs arXiv:  Hopwood et al. Telescope model correction arXiv:  Lu et al. Bright source mode arXiv:  Valtchanov et al. Relative pointing offsets arXiv: SECT: Wu et al (arXiv: ) Beam profile: Makiwa et al (Applied Optics, Vol. 52, Issue 16, p ) Pipeline: Fulton et al (to be updated soon) (SPIE Conference Series, 2010) Herschel Online Data Processing Workshop 19th June Reference material

Documentation is your first port of call Herschel Online Data Processing Workshop 19th June SPIRE Data Reduction Guide (SDRG): Chapter 7 for the Spectrometer Relevant sections for this session are: 7.4 Pointing considerations 7.5 Recipes for faint & medium strength sources 7.6 Recipes for semi-extended sources 7.11 Spectral Analysis SPIRE Handbook (formerly the observer’s manual) Overview of the instrument and flux calibration Calibration of the SPIRE FTS (Swinyard et al. 2014) Characterisation of the SPIRE FTS (Hopwood et al. 2015) Data Analysis Guide (DAG): Chapter 3 Plotting worked examples are helpful for scripting Analysing SPIRE FTS spectra All you need to know about FTS data reduction and identifying potential issues For more technical stuff Up-to-date FTS uncertainties All the HIPE help you should need

Examining FTS data for potential problems Understanding where problems may originate Correcting your data Background subtraction Pointing offset: SECT Partially extended: SECT (Droopy SLWC3) SECT: a closer look Spectral line fitting Noise estimate Comparison with the photometer Herschel Online Data Processing Workshop 19th June Aim for today: identifying, understanding and correcting problem spectra Analysing SPIRE FTS spectra

Examining FTS data for potential problems Understanding where problems may originate Correcting your data Background subtraction Pointing offset: SECT Partially extended: SECT (Droopy SLWC3) SECT: a closer look Spectral line fitting Noise estimate Comparison with the photometer Herschel Online Data Processing Workshop 19th June Aim for today: identifying, understanding and correcting problem spectra Analysing SPIRE FTS spectra HIPE SPIRE Spectrometer useful scripts In HIPE Scripts menu (Array footprint plot)

Herschel Online Data Processing Workshop 19th June A note on the Spectrometer useful scripts Analysing SPIRE FTS spectra Designed to: help facilitate FTS data processing/analysis be easily understood -> if not, let us know be easy to edit to compliment each other e.g.

Herschel Online Data Processing Workshop 19th June HSA L2 data is now HIPE 13 processed no need to rerun the pipeline unless: -You want a closer look at intermediate steps -Get the unaveraged scans -Exclude the vignetted detectors from your maps: just the last bit of the script ‘SPIRE Calibration’ view: See what’s new in the SPIRE calibration Analysing SPIRE FTS spectra: a note on HSA data

Herschel Online Data Processing Workshop 19th June HSA L2 data is now HIPE 13 processed no need to rerun the pipeline unless: -You want a closer look at intermediate steps -Get the unaveraged scans -Exclude the vignetted detectors from your maps: just the last bit of the script ‘SPIRE Calibration’ view: See what’s new in the SPIRE calibration Analysing SPIRE FTS spectra: a note on HSA data

Herschel Online Data Processing Workshop 19th June HSA L2 data is now HIPE 13 processed no need to rerun the pipeline unless: -You want a closer look at intermediate steps -Get the unaveraged scans -Exclude the vignetted detectors from your maps: just the last bit of the script ‘SPIRE Calibration’ view: See what’s new in the SPIRE calibration Analysing SPIRE FTS spectra: a note on HSA data If your data is pre-HIPE 13 processed, download it again now!

Examining FTS data Herschel Online Data Processing Workshop 19th June Downloading an observation straight from the HSA into HIPE: e.g. observation = getObservation( , useHsa=True) Analysing SPIRE FTS spectra Check out the Summary information

Examining FTS data Herschel Online Data Processing Workshop 19th June Downloading an observation straight from the HSA into HIPE: e.g. observation = getObservation( , useHsa=True) Analysing SPIRE FTS spectra Check out the Browse Product image Spectra from the centre detectors

Examining FTS data Herschel Online Data Processing Workshop 19th June Downloading an observation straight from the HSA into HIPE: e.g. observation = getObservation( , useHsa=True) Analysing SPIRE FTS spectra Check out the Browse Product image ANY PROBLEMS? Not for this one! Spectra from the centre detectors

See a problem -> documentation is your first port of call Herschel Online Data Processing Workshop 19th June Analysing SPIRE FTS spectra SPIRE Data Reduction Guide (SDRG): Chapter 7 for the Spectrometer Relevant sections for this session are: 7.4 Pointing considerations 7.5 Recipes for faint and medium strength sources 7.6 Recipes for semi-extended sources 7.11 Spectral Analysis Does my spectrum need correcting?

Herschel Online Data Processing Workshop 19th June Analysing SPIRE FTS spectra All three issues lead to a jump between SLW and SSW: Separating the cause of the jump is necessary This may be difficult and sometimes not possible ①Point-source embedded in extended emission ②Point-source observed with a significant pointing offset ③A source with partially extended morphology

7.6.2 Does my spectrum need correcting? Herschel Online Data Processing Workshop 19th June Analysing SPIRE FTS spectra A fourth issue: now corrected in HIPE 13… for the most part HIPE 12 HIPE 13 The nonlinearity correction has been updated for HIPE 13 It corrects an issue for observations taken at the beginning of each pair of FTS operational days There are a few rare exceptions If you see your HIPE 13 reduced SLWC3 spectrum “drooping” contact the helpdesk This issue was only significant for faint sources

7.6.2 Does my spectrum need correcting? Herschel Online Data Processing Workshop 19th June Analysing SPIRE FTS spectra A fourth issue: now corrected in HIPE 13… for the most part HIPE 12 HIPE 13 The nonlinearity correction has been updated for HIPE 13 It corrects an issue for observations taken at the beginning of each pair of FTS operational days There are a few rare exceptions If you see your HIPE 13 reduced SLWC3 spectrum “drooping” contact the helpdesk This issue was only significant for faint sources

Herschel Online Data Processing Workshop 19th June AFGL4106: post-red supergiant binary; medium source (> 10Jy) observation_1 = getObservation( , useHsa=True) Analysing SPIRE FTS spectra Check out the browse product image ANY PROBLEMS? ① Point-source embedded in extended emission

Herschel Online Data Processing Workshop 19th June Analysing SPIRE FTS spectra ① Point-source embedded in extended emission Poor shape < 750 GHz jump between the bands SLWC3SSWD4 Fringing > 850 GHz for SLW The extended background is point- source calibrated, which leads to a poor continuum shape and extra fringing SLW is more strongly affected due to larger beam size ( ~ 2 ×SSW) Large-scale continuum shape can be corrected AFGL4106: post-red supergiant binary; medium source (> 10Jy) observation_1 = getObservation( , useHsa=True) ANY PROBLEMS?

Herschel Online Data Processing Workshop 19th June Useful script: Spectrometer array footprint plot Hopwood et al Script edited for plotting colours. Analysing SPIRE FTS spectra ① Point-source embedded in extended emission Plots the FTS footprint over a photometer map If no photometer map inputted then photObsids used (if there are any) Photometer map should be FIR/submm Use to identify a background/foreground Use to check for contaminating neighbours

Herschel Online Data Processing Workshop 19th June Useful script: Spectrometer array footprint plot Hopwood et al figure 2. Script edited for plotting colours. Analysing SPIRE FTS spectra ① Point-source embedded in extended emission Point-like Partially extended morphology Point-like sitting in Galactic Cirrus (IRAS 100 µm)

Herschel Online Data Processing Workshop 19th June SLW 1 st ring SSW 2 nd ring Analysing SPIRE FTS spectra MENTION LOST FLUX ① Point-source embedded in extended emission Useful script: Spectrometer background subtraction AFGL4106

Herschel Online Data Processing Workshop 19th June SLW 1 st ring Analysing SPIRE FTS spectra ① Point-source embedded in extended emission SSW 2 nd ring Shape improved < 750 GHz Jump between the bands is corrected Fringing > 850 GHz for SLW still there Useful script: Spectrometer background subtraction AFGL4106

Herschel Online Data Processing Workshop 19th June Analysing SPIRE FTS spectra ① Point-source embedded in extended emission Useful script: Spectrometer background subtraction A word of caution There is real flux in the detector rings See Hopwood et al for more details For a point source (Uranus/Neptune) bang on the centre there is around 1.9% in SLW 1 st ring Only 0.1% in SSW 2 nd ring (1.4% SSW 1 st ring: not used) Point source calibration accounts for this “missing” bit Lots more flux in for semi-extended sources For AFGL4106 the results are worth the loss: fitting is easier Hopwood et al BGS script results SLW 1 st ring SSW 1 st ring SSW 2 nd ring AFGL4106

Herschel Online Data Processing Workshop 19th June AFGL2688: point-like source with FWHM 6.6” afgl2688Obs = getObservation( , useHsa=True) Analysing SPIRE FTS spectra ②Point-source observed with a significant pointing offset See the DRG 7.4. Pointing Considerations

Herschel Online Data Processing Workshop 19th June AFGL2688: point-like source with FWHM 6.6” afgl2688Obs = getObservation( , useHsa=True) Analysing SPIRE FTS spectra ②Point-source observed with a significant pointing offset See the DRG 7.4. Pointing Considerations Jump between the bands In this case the jump must be due to a pointing offset

Herschel Online Data Processing Workshop 19th June AFGL2688: point-like source with FWHM 6.6” afgl2688Obs = getObservation( , useHsa=True) Analysing SPIRE FTS spectra ②Point-source observed with a significant pointing offset raDecOffset and bsmOffset give info on KNOWN pointing offset. The APE is still associated to the pointing. See the DRG 7.4. Pointing Considerations

Herschel Online Data Processing Workshop 19th June Analysing SPIRE FTS spectra ②Point-source observed with a significant pointing offset raDecOffset and bsmOffset give info on KNOWN pointing offset. The APE is still associated to the pointing: See the DRG 7.4. Pointing Considerations raDecOffset “The offset between the commanded position and the actual reconstructed pointing, which includes any systematic BSM offset (bsmOffset), but not the APE.” bsmOffset “BSM offset position (0.0 or 1.72 arcsec), which is corrected for by the point-source calibration. This systematic offset is included in the raDecOffset value.” AFGL2688: point-like source with FWHM 6.6” afgl2688Obs = getObservation( , useHsa=True)

Herschel Online Data Processing Workshop 19th June Analysing SPIRE FTS spectra ②Point-source observed with a significant pointing offset See the DRG 7.4. Pointing Considerations A. Using HIPE to get the pointing info: SECT: correcting for pointing offset B. Using the relative pointing method of Valtchanov et al. 2014: 6.21” ± 0.32” -Needs repeated observations -A reference observation is used to correct the others -BSM offset should not be subtracting for input into SECT: -SECT automatically de-corrects this offset, if necessary See the DRG 7.6. Recipes for semi-extended sources Which gives us: A) 3.37” the “Herschel” offset B) 6.21” the relative offset AFGL2688

Herschel Online Data Processing Workshop 19th June Analysing SPIRE FTS spectra ②Point-source observed with a significant pointing offset Semi Extended Correction Tool SECT: the GUI The semiExtendedCorrector task: Input variables: - Point source calibrated spectrum object (SPSS) - SPIRE calibration context Options: - For plots: doPlots - To optimise source model diameter: optimiseDiameter - Untick applyCorrection to get the correction itself back - gaussRefBeamDiam - couplingThreshold Used to set the reference beam AFGL2688

Herschel Online Data Processing Workshop 19th June Analysing SPIRE FTS spectra ②Point-source observed with a significant pointing offset The semiExtendedCorrector task The reference beam: - Used to normalise the spectrum so the output is equivalent to a spectrum observed with a frequency independent Gaussian beam - Default FWHM is 40” - FWHM can be set to match another telescope - Set FWHM large to remove effect of reference beam (the whole source distribution is within the beam Figure The reference beam. - The final spectrum is normalised to include the emission inside the reference beam. - The source distribution is assumed to be independent of frequency. SECT: the reference beam See the DRG 7.6. Recipes for semi-extended sources

Herschel Online Data Processing Workshop 19th June Analysing SPIRE FTS spectra ②Point-source observed with a significant pointing offset The semiExtendedCorrector task: sourceModel - Gaussian/top hat/Sersic - x and y offsets can be set - The profile is shown under the FTS array footprint in the bottom panel - Errors increase for source models larger than the SSW beam size - A point-source can be inputted as a Gaussian with diameter 0.01” - Greater control of SECT can be achieved with a script SECT: the source distribution model SECT takes into consideration: -SLWC3 is offset to SSWD4 by 2.2” -Observations before OD 1011 were taken with the BSM set to 1.72” -These issues are corrected for by the point source calibration so SECT de-corrects for internally See the DRG 7.6. Recipes for semi-extended sources

Herschel Online Data Processing Workshop 19th June Analysing SPIRE FTS spectra ②Point-source observed with a significant pointing offset Running SECT in a script for the miss-pointed AFGL2688 observation: # Get the SPIRE calibration cal = spireCal(pool=“spire_cal_13_1”) # Get the Level-2 point-source calibrated product (spss) spss = afgl2688Obs.level2.getProduct(“HR_spectrum_point”) # Creating the model image (for a point source): # (SourceModel, diameter, x offset, y offset, eccentricity, rotation angle) shape = SemiExtendedSourceModelShape(“gaussian”, 6.6, offset, 0.0, 0.0, 0.0) # Run the tool - the output is the corrected spectrum correctedSpectrum = semiExtendedCorrector(spectrum=spss, calibration=cal, \ doPlots=1, sourceModel=shape) SECT: correcting for pointing offset See the DRG 7.6. Recipes for semi-extended sources AFGL2688 For more SECT examples and an example script go to the 2014 spectroscopy workshop page:

Herschel Online Data Processing Workshop 19th June Analysing SPIRE FTS spectra ②Point-source observed with a significant pointing offset SECT: correcting for pointing offset Running SECT in a script for the miss-pointed AGL2688 observation: A) metaData offset = 3.37” B) relative offset = 6.21” See the DRG 7.6. Recipes for semi-extended sources Relative offset method gives the better result: but only possible if there are lots of observations of the same source Step between the bands is reduced Step between the bands is removed AFGL2688 RA and Dec requested might not be at the submm peak

Herschel Online Data Processing Workshop 19th June NGC6302: the Butterfly nebula with FWHM 18” ngc6302Obs = getObservation( , useHsa=True) Analysing SPIRE FTS spectra ③A source with partially extended morphology - raDecOffset is minimal (0.25”) - OD is > 1011 so bsmOffset is 0 See the DRG 7.6. Recipes for semi-extended sources

Herschel Online Data Processing Workshop 19th June NGC6302: the Butterfly nebula with FWHM 18” ngc6302Obs = getObservation( , useHsa=True) Analysing SPIRE FTS spectra ③A source with partially extended morphology - raDecOffset is minimal (0.25”) - OD is > 1011 so bsmOffset is 0 See the DRG 7.6. Recipes for semi-extended sources Large jump between the bands!

Herschel Online Data Processing Workshop 19th June Analysing SPIRE FTS spectra ③A source with partially extended morphology FTS calibration Semi-extendedExtendedPoint-like Semi-extended ExtendedPoint-like See the DRG 7.6. Recipes for semi-extended sources

Herschel Online Data Processing Workshop 19th June Analysing SPIRE FTS spectra ③A source with partially extended morphology FTS calibration Semi-extendedExtendedPoint-like Semi-extended ExtendedPoint-like See the DRG 7.6. Recipes for semi-extended sources NGC6302 Point-source calibrated spectra for a semi-extended source

Here we use the default SECT settings with: -a basic elliptical Gaussian -FWHM of 18” -Eccentricity of 0.2 -No x- or y-offset And setting the source model diameter to be optimised (optimiseDiameter=True). Herschel Online Data Processing Workshop 19th June Analysing SPIRE FTS spectra ③A source with partially extended morphology see Wu et al & DRG Section 7.6 SECT: correcting the data for extent The SECT algorithm is based on the forward coupling efficiency to the source distribution: so a good knowledge of the source distribution is key

Herschel Online Data Processing Workshop 19th June Analysing SPIRE FTS spectra ③A source with partially extended morphology see Wu et al & DRG Section 7.6 SECT: the plots if applyCorrection = 0 the correction is outputted (instead of the corrected data) SECT plots the correction applied NGC6302

Herschel Online Data Processing Workshop 19th June Analysing SPIRE FTS spectra ③A source with partially extended morphology see Wu et al & DRG Section 7.6 SECT: the plots NGC6302 SECT plots the diameters tried when it searches for the optimum -> in this case 18.5”

Herschel Online Data Processing Workshop 19th June Analysing SPIRE FTS spectra ③A source with partially extended morphology see Wu et al & DRG Section 7.6 SECT: the plots SECT plots the uncorrected and corrected spectra NGC6302 No more jump The corrected spectra look good, but room for improvement: Needs better knowledge of the source model!

Herschel Online Data Processing Workshop 19th June Fits sinc profiles to each line + polynomial for the continuum fit is performed simultaneously for each detector Analysing SPIRE FTS spectra Line fitting See the DRG Spectral analysis Useful script: Spectrometer Line Fitting

Herschel Online Data Processing Workshop 19th June Analysing SPIRE FTS spectra Line fitting to SECT corrected NGC6302 See the DRG Spectral analysis See the DRG 7.11 and the script itself for full details, but here’s a summary -The continuum is usually well approximated by a polynomial: The script uses a 3 rd order polynomial -The 12 CO lines are included as default Either add more to the list or follow the script to add a new list or read lines in from a text file -The unresolved instrumental line shape is approximately a sinc The script fixes the width using ‘actualResolution’ from the metadata -If lines are partially resolved a sincGauss profile can be used Only necessary for lines with a width > 200 km/s -The script can be run with point-source or extended source calibrated spectra -Redshift can be input where necessary The output will need adjusting to give redshift, but the script tells you how! Useful script: Spectrometer Line Fitting

Herschel Online Data Processing Workshop 19th June Analysing SPIRE FTS spectra See the DRG Spectral analysis A good start, but more lines needed to improve the results Fringing left from point- source calibrating semi- extended emission Missed line might be affecting fit to the nearby CO line Polynomial fits the continuum well 13CO lines Useful script: Spectrometer Line Fitting Line fitting to SECT corrected NGC6302

Herschel Online Data Processing Workshop 19th June Analysing SPIRE FTS spectra See the DRG Spectral analysis Useful script: Spectrometer Line Fitting Line fitting to SECT corrected NGC6302

Herschel Online Data Processing Workshop 19th June Good for checking lines BUT line measurements should be performed on the standard data Analysing SPIRE FTS spectra Apodized data See the DRG Spectral analysis

Herschel Online Data Processing Workshop 19th June Analysing SPIRE FTS spectra Spectral noise See the DRG Check Spectral Noise See the DRG 7.5.3/SPIRE Handbook/public twiki (see link below) for info on FTS noise, but here’s a summary: -There are three main sources of uncertainty 1.Random noise – beats down with integration time 2.Large-to-mid scale systematic noise associated with the instrument 3.Small-scale systematic noise, i.e. fringing and line wings -Measure the spectral noiseto check of your data’s processing the “error” column only represent the random noise Useful script: Estimate Spectral Noise -Noise should be measured after subtracting the lines Useful script: Line Fitting script -For faint sources and line subtracted data the noise should be at least as good as HSpot The Noise Estimate script plots a comparison with HSpot -See the public twiki for the Spectrometer uncertainties 1. Dominates for faint sources 3. Dominates sources with strong lines

Herschel Online Data Processing Workshop 19th June Analysing SPIRE FTS spectra Useful script: Spectrometer Noise Estimate See the DRG Check Spectral Noise Plot adapted from the script Green dashed is noise estimate for the data straight from the archive Lines dominate the noise ③A source with partially extended morphology NGC6302 Estimating the noise

Herschel Online Data Processing Workshop 19th June Analysing SPIRE FTS spectra Useful script: Spectrometer Noise Estimate See the DRG Check Spectral Noise Plot adapted from the script Blue is noise estimate for SECT corrected. Noise goes up as data is corrected up Lines dominate the noise NGC6302 ③A source with partially extended morphology Estimating the noise

Herschel Online Data Processing Workshop 19th June Analysing SPIRE FTS spectra Useful script: Spectrometer Noise Estimate See the DRG Check Spectral Noise Plot adapted from the script Orange is noise estimate for the SECT corrected and 12CO line fitted and subtracted data Still lines in there NGC6302 ③A source with partially extended morphology Estimating the noise

Herschel Online Data Processing Workshop 19th June Analysing SPIRE FTS spectra Useful script: Spectrometer Noise Estimate See the DRG Check Spectral Noise Plot adapted from the script Red is noise estimate for the SECT corrected and line subtracted data Most significant lines are removed The noise is above HSpot due to SECT! Estimating the noise The noise is above HSpot due to SECT! NGC6302 ③A source with partially extended morphology

Analysing SPIRE FTS sparse observations Herschel On-Line Spectroscopy Data Processing Workshop 24 April HIPE task spireSynthPhotometry (used to be specMatchPhot) Pre-background subtraction Table dataset output -Detectors -Synthetic phot -Synthetic phot errors -Photometer phot Background subtracted Comparing with the photometer: AFGL4106 See the DRG 7.10

Summary Herschel Online Data Processing Workshop 19th June If you don’t have HIPE 13 data: update from the HSA The SDRG is the first port of call to look for help + info Background/pointing/extent can all cause a jump between the bands Off-axis subtraction of backgrounds can be effective for point-like source Pointing offsets can be corrected with SECT (new dedicated pointing correction task for HIPE14) Source extent leads to poorly calibrated data: Semi-extended data must be corrected with SECT You need a good understanding of the source Fit all lines (sinc) and continuum simultaneously Useful scripts provide a handy workflow within HIPE The best place to inspect, diagnose, correct and analyse your FTS data is in HIPE! Analysing SPIRE FTS spectra

Herschel Online Data Processing Workshop 19th June Analysing SPIRE FTS spectra Useful script: Spectrometer Noise Estimate See the DRG Check Spectral Noise ① Point-source embedded in extended emission - Background subtraction affects large-scale noise only Plot produced by the script Green dashed is noise estimate for the background corrected data Lines dominate the noise HSpot “error” column Noise for point-source calibrate spectra BGS script results Estimating the noise

Herschel Online Data Processing Workshop 19th June Analysing SPIRE FTS spectra The APE See the DRG 7.4. Pointing Considerations figure 7.37: Comparison of the 2σ APE distribution, shown as a blue cloud, before (left) and after (right) OD 1011.