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.

Slides:



Advertisements
Similar presentations
Multimedia Data Introduction to Image Processing Dr Mike Spann Electronic, Electrical and Computer.
Advertisements

tomos = slice, graphein = to write
Bruno Altieri September # 1 PACS photometer pipeline overview Bruno Altieri (ESA/HSC)
- page 1 July NHSC Mini-workshop PACS NASA Herschel Science Center PACS Photometer AORs How to Prepare an Observation with HSpot: 2 Science Use.
- page 1 NHSC PACS Web Tutorial PACS-401 NHSC/PACS Web Tutorials Running PACS Photometer pipelines PACS-401.
PACS Instrument Day: Welcome ! PACS Instrument Day: Welcome ! NHSC PACS R. Paladini NHSC Archive Data Processing Workshop – August 26 th – 30 th 2013 PACS.
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.
IVC : a simulation and model-fitting tool for optical-IR interferometry Abstract I present a new software tool, called “Interferometry Visibility Computations”
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.
1 NHSC PACS NHSC/PACS Web Tutorials Running PACS photometer pipelines PACS-202 (for Hipe 9.0) Level 0 to Level 2 processing: From raw data to calibrated.
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.
Multimedia Data Introduction to Image Processing Dr Sandra I. Woolley Electronic, Electrical.
Consortium Meeting La Palma October PV-Phase & Calibration Plans Sarah Leeks 1 SPIRE Consortium Meeting La Palma, Oct. 1 – PV Phase and.
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)
1 NHSC PACS NHSC/PACS Web Tutorials Running PACS photometer pipelines PACS-202 (for Hipe 8.0) Level 0 to Level 2 processing: From raw data to calibrated.
- page 1 NHSC – DP workshop – Feb – N. Billot PACS PACS Photometer Standard Pipeline Level 0 to Level 1 processing: From raw to calibrated data cubes.
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.
- page 1 NHSC – DP workshop – Feb – N. Billot PACS PACS Photometer Standard Pipeline Level 1 to Level 2 processing: How to make a map for point source.
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 Roberta Paladini NHSC/IPAC PACS photometer maps: several flavors.
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.
Herschel Open Time Cycle 1 DP workshop ESAC, March page 1 Pat Morris, NHSC HIFI Mapping Processing in HIPE.
PACS NHSC Data Processing Workshop – Pasadena 10 th - 14 th Sep 2012 Measuring Photometry from SPIRE Observations Presenter: David Shupe (NHSC/IPAC) on.
Counting individual galaxies from deep mid-IR Spitzer surveys Giulia Rodighiero University of Padova Carlo Lari IRA Bologna Francesca Pozzi University.
1 NHSC PACS NHSC/PACS Web Tutorials Running PACS photometer pipelines PACS-201 (for Hipe 12.0) Level 1* to Level 2 processing: The High-Pass Filter pipeline.
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.
Page 1 PACS NHSC Webinar: New SPIRE Features in HIPE 10 6 th March 2013, Pasadena What’s New in SPIRE Photometer Pipeline in HIPE 10 Kevin Xu NHSC/IPAC.
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.
PVPhotFlux PACS Photometer photometric calibration MPIA PACS Commissioning and PV Phase Plan Review 21 st – 22 nd January 2009, MPE Garching Markus Nielbock.
- 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.
NHSC Cycle 1 Open Time Proposal Planning Workshop 3-4 June 2010 NASA Herschel Science Center - page 1 PAC S prepared by Nicolas BILLOT
Overview, Spectrometer Products and Processing Philosophy Phil Appleton on Behalf of PACS Team PACS IFU Spectrometer.
Page 1 NHSC PACS Web Tutorial Babar Ali PACS 401 PACS photometer map-making with MADmap PACS-401 for HIPE 11 user release Version Babar Ali (NHSC)
NHSC PACS PACS Photometry and Errors Estimate Roberta Paladini (NSHC/Caltech) R. Paladini NHSC Archive Data Processing Workshop – August 26 th – 30 th.
PACS Photometer Standard Pipeline Level 0 to Level 1 processing From raw to calibrated data cubes B. Altieri (ESA/HSC), N.Billot (IPAC/NHSC) ESAC March.
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.
Page 1 NHSC PACS Web Tutorial PACS 301 nhsc.ipac.caltech.edu/helpdesk NHSC/PACS Web Tutorials Running the PACS Spectrometer pipeline for CHOP/NOD Mode.
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)
NHSC HIFI DP workshop Caltech, 7-9 February page 1 Spurs in HIFI data.
- page 1 July NHSC Mini-workshop PACS NASA Herschel Science Center PACS Spectrometer AORs Phil Appleton 1Roberta Paladini.
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)
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.
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.
Page 1 PACS NHSC Data Processing Workshop – Pasadena 10 th - 14 th Sep 2012 Reprocessing Scan Maps Kevin Xu NHSC/IPAC on behalf of the SPIRE ICC.
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.
Image Subtraction Mask mode radiography h(x,y) is the mask.
Herschel Calibration Workshop
photometry and spectroscopy with PACS
NHSC/PACS Web Tutorials
PACS / SPIRE cross-calibration on prime fidicial standard stars
PACS ICC Meeting #41 PACS Photometer
What’s New in HIPE 10.0 (SPIRE FTS)
Presentation transcript:

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 by Roberta Paladini (with inputs from Javier Gracia-Carpio & Michael Wetzstein) June 2014 PACS-402

2 NHSC PACS Level 1 to Level 2 processing: NOTE: The pipeline is now very stable between Level 0 and Level 1, so there is no need to tweak the processing between the raw-data level (i.e. Level 0) and Level 1.

3 NHSC PACS PACS-402 Outline of this tutorial  Slide 5 to 23: Jscanam philosophy and walk-through the ipipe script  Slide 24: useful notes  Slide 25: documentation

4 PACS Photometer Pipeline: 2 main branches NHSC PACS PACS-402 Source: is it point-like (with respect to the beam) ? Source: is it point-like (with respect to the beam) ? YES NO Extended source: MadMap Extended source: JScanam Extended source: JScanam High-Pass Filter (HPF) Option 1 Option 2 this tutorial

5 NHSC PACS PACS-402  As pointed out in the previous slide, JScanam allows the processing of PACS photometer data when the user wants to preserve extended emission  JScanam is the Java port in HIPE of IDL Scanamorphos (Roussel et al. 2013)  For detailed information on individual steps of the processing, we refer the reader to the Scanamorphos web page: What is JScanam ?

6 NHSC PACS PACS-402 Where is the JScanam ipipe script ?

7 NHSC PACS PACS-402 The JScanam ipipe script in a nutshell 1. turnarounds removal 2. mask long-term glitches 3. baseline subtraction after masking the sources 4.destriping, i.e. removal of the signal drift on time scales longer than a scan leg 5. individual drift removal, i.e. removal of the drift on time scales shorter than a scan leg 6. creation of the final map

8 NHSC PACS PACS a note about: baseline and drifts Flux Calibration Offsets: small voltage variations (i.e. offsets) from bolometer to bolometer. The net effect of these offsets are gradients which can be corrected for by removing 1 st -order polynomials (or baselines) Long-Term Thermal drift: low-frequency noise component (e.g. 1/f) due to small thermal fluctuations of the bolometers cryogenic bath. This component is correlated across the PACS bolometers Short-Term Drift: low-frequency noise component (e.g. 1/f) of non- thermal nature. It is due to detector physics and readout components. It is uncorrelated across bolometers

9 NHSC PACS PACS-402 Let’s take a closer look at the script…. If you want the script to output some diagnostic plots, at the beginning set: debug = True NOTE: make sure that you use the “True” option only for debugging purposes. With this option, the script in fact will generate MANY, MANY plots…

10 NHSC PACS PACS-402 We use the pair of OBSIDs: / This is M16, a Galactic star forming region (  bright, structured background) This is a PACS/SPIRE parallel mode observation The data set consists of a single set of orthogonal scan & cross-scan observations Both scan and cross-scan cover an area in the sky: 30’ X 60’ Test Case: summary Scan map Cross-scan map NOTE: in the following slides, we will only show the results for the scan direction. Very similar results are obtained for the cross-scan.

11 NHSC PACS PACS Turnaround Removal HIPE> scans = scanamorphosRemoveTurnarounds(scans, limit = 50.0, debug = debug) The frames which are taken during the turnaround of the spacecraft are removed. These frames are identified based on the speed scan: frames with speed > or < than TOT % of nominal average speed are removed. Frames with scan speed > or < than 50% of the nominal average speed are removed.

12 NHSC PACS PACS Mask long-term glitches HIPE> scans = scanamorphosMaskLongTermGlitches(scans, stepAfter = 20, galactic = True) NOTE: The task generates a glitch mask (Scanam_LongTermGlitchMask). It is advisable to check this mask. In case some glitches are not detected, one can improve the performance of the task by twiking the stepAfter parameter Scan map after long-term glitch removal

13 NHSC PACS PACS Baseline Subtraction The baseline subtraction is a multi-step process:  subtract a linear baseline from the signal of every pixel and scan leg: the goal is to obtain a first-order map which allows the creation of a source mask (  scanamorphosScanlegBselineFitPerPixel )  create a source mask and attach it to the original scans (  scanamorphosCreateSourceMask)  now remove general offset: 1 st pass (  scanamorphosBaselineSubtraction)  identify and remove calibration block (  scanamorphosBaselinePreprocessing)  now remove real baseline: 2 nd pass (  scanamorphosBaselineSubtraction)

14 NHSC PACS PACS-402 Source Masking Before correcting the data for the baseline, we need to mask both extended and compact sources. This prevents the offsets estimate and removal to be minimally affected by the presence of sources. HIPE> sourceImage, scans = scanamorphosCreateSourceMask(scans, nSigma = 4.0, createMask = False, galactic = True, calTree = calTree, debug = debug) nSigma controls which emission should be masked. NOTE: the mask should cover only < 30% of the map nSigma controls which emission should be masked. NOTE: the mask should cover only < 30% of the map Source mask createMask is set to True when the mask is applied to the frames

15 NHSC PACS PACS-402 Baseline Removal: 1 st pass Using only the unmasked values, the signal median value in every pixel array and every scan (galactic = True) or scan leg (galactic = False) is computed and subtracted from the frames. HIPE> scans = scanamorphosBaselineSubtraction(scans, galactic = True, debug = debug) Scans map after baseline subtraction: 1 st pass

16 NHSC PACS PACS-402 Calibration Block Removal A calibration block is scheduled at the beginning of each PACS photometer observation. It is known to cause a strong signal drift which affects the first ~1000 frames. These are identified and masked. HIPE> scans = scanamorphosBaselinePreprocessing(scans, galactic = True, debug = debug) Frames affected by calibration block Scans map after removal of calibration block

17 NHSC PACS PACS-402 Baseline removal: 2 nd pass After the removal of the calibration block, repeat the baseline subtraction. Scans map after baseline subtraction: 2 nd pass HIPE> scans = scanamorphosBaselineSubtraction(scans, galactic = True, debug = debug)

18 NHSC PACS PACS Destriping: concept The basic idea is to remove the remaining offsets and long-term drift by comparing the value of a scan-pixel timeline with the value of the cross-scan timeline at that same position of the sky, i.e. where the scan and cross-scan timeline cross.

19 NHSC PACS PACS-402 How destriping works  create a map of the cross-scans and back-project it to the scan direction of the scans  subtract the back-projected timelines from the scans timelines  fit a line to the timeline difference and subtract it from the scan lines  repeat all previous steps on the cross-scans, using a back-projection of the scans  repeat until convergence is reached, i.e. when the fit of the difference is smaller than the fit residuals HIPE> scan, cscans = scanamorphosDestriping( scans, cscans, iterations = 6, calTree= calTree, debug = debug) This is a multi-step process: (all the steps are performed by the same task in this case) NOTE: Because we are dealing with 1/f, the longer the time scale (i.e. the frequency f), the more the drift. Therefore, the destriping is performed by the task on different time scales, that is: 1) the whole scan duration; 2) four scan legs; 3) one scan leg.

20 NHSC PACS PACS-402 Destriping: final results Ex: one iteration Scan map before destriping Scan map after destriping Reference scan map: back-project it to cross-scan direction. Mask the sources to avoid affecting long- term drift correction Subtract scan back- projected timelines from the cross-scan timelines. Fit the difference and subtract it from the cross-scan timelines

21 NHSC PACS PACS Individual drift removal HIPE> mergedScans = scanamorphosIndividualDrifts(mergedScans, calTree = calTree, debug = debug) Individual drift map Scan and cross-scan map after individual drift correction NOTE: that scan and cross-scans are merged before applying this task

22 NHSC PACS PACS Final map HIPE> finalMap, mi = photProject(mergedScans, outpixelsize = outputpixelsize, pixfrac = pixfrac, caltree = calTree, useMasterMaskForWcs = False) Default Values: The photProject task performs a simple co-addition of the images using the drizzle method (Fruchter and Hook, 2002, PASP, 114, 144). The key parameters are the output pixel size and the drop size (pixfrac). A small pixfrac value can help to reduce the correlated noise due to the projection.  pixfrac = 0.1  parallel observation or red band: outputPixelSize = 3.2”  blue band in PACS scan mode: outputPixelSize = 1.6” NOTE: photProject is the same task used by the High- Pass Filter pipeline to generate the final map

23 NHSC PACS PACS-402 …..and here it is

24 NHSC PACS PACS-402 Useful Notes  Jscanam accepts Level 1 data directly from the Herschel Science Archive (HSA). No conversion is needed, such as in IDL Scanamorphos  The Jscanam ipipe script requires virtually no parameter tweaking and can be run as is for the vast majority of science cases. In particular, the galactic parameter called by many tasks can be left set to True (default) even when processing extra- galactic data sets  The current Jscanam ipipe script (HIPE 12) can process only 1 pair of OBSIDs at a time. Multiple pairs can be process by joining the scans as described in the script itself (  see warning message). In HIPE 13, a new JScanam ipipe script will become available which will allow the processing of multiple pairs starting from Level 1  Jscanam does not allow processing of turnaround scans. If these scans are needed, we recommend using other mappers (i.e. MADmap or Unimap)

25 NHSC PACS PACS-402 Documentation For more information on Jscanam, check:  Section of the PACS Data Reduction Guide:

26 NHSC PACS PACS-402 Thank you !