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.

Slides:



Advertisements
Similar presentations
Tutorial 3 Refractor assignment, Analysis, Modeling and Statics
Advertisements

Atacama Large Millimeter/submillimeter Array Expanded Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array Whoever North American.
Bruno Altieri September # 1 PACS photometer pipeline overview Bruno Altieri (ESA/HSC)
Neighborhood Operations
PACS SOVT-2 (SIMS) and CAPs development MPIA PACS ICC Meeting #32 1 st – 3 rd April 2009, MPE Garching Markus Nielbock (MPIA)
- page 1 NHSC PACS Web Tutorial PACS-401 NHSC/PACS Web Tutorials Running PACS Photometer pipelines PACS-401.
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 Data Processing Workshop – Pasadena 26 th - 30 th Aug 2013 SPIRE Day team, goals, schedule, logistics Bernhard Schulz NHSC/IPAC.
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 Hitchhiker’s Guide to Herschel Archive Workshop – Pasadena 6 th - 10 th Oct 2014 Introduction to HIPE 12.1 (Part 2) Bernhard Schulz (NHSC/IPAC) on.
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.
NHSC HIFI DP workshop Caltech, 29 August page 1 Sideband Deconvolution.
PACS SOVT-2 and CAPs development MPIA PACS ICC Meeting #31 12 th – 13 th January 2009, Vienna (A) Markus Nielbock (MPIA)
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.
What’s in a sum? Simon Dawes CMHAS. Should you stack frames using Mean, Median or Sum?
- 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.
NHSC PACS How to Use getObservation And saveObservation To Access and Save Herschel Data in HIPE Yi Mei (NHSC/Caltech) Y. Mei NHSC Data Workshop – August.
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.
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.
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 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.
PACS NHSC Data Processing Workshop – Pasadena 10 th - 14 th Sep 2012 HIPE Introduction and Setup for SPIRE David Shupe, NHSC/IPAC on behalf of the SPIRE.
- 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.
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.
By: David Gelbendorf, Hila Ben-Moshe Supervisor : Alon Zvirin
3D Event reconstruction in ArgoNeuT Maddalena Antonello and Ornella Palamara 11 gennaio 20161M.Antonello - INFN, LNGS.
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)
Page 1 PACS GRITS 17 June 2011 Herschel Data Analysis Guerilla Style: Keeping flexibility in a system with long development cycles Bernhard Schulz NASA.
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.
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)
NHSC HIFI DP workshop Caltech, 7-9 February page 1 Spurs in HIFI data.
1 Notes about eis_prep Alessandro Gardini University of Oslo Oslo, July 9th, 2009.
PACS NHSC Data Processing Workshop – Pasadena 26 th - 30 th Aug 2013 Preparing HIPE for SPIRE work David Shupe, NHSC/IPAC on behalf of the SPIRE ICC.
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.
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.
SPIRE Flux Calibration: Implementation
JWST Pipeline Overview
Data Reduction and Analysis Techniques
Data Reduction and Analysis Techniques
Overview and new developments in Herschel Data Processing
What’s New in HIPE 10.0 (SPIRE FTS)
Presentation transcript:

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

PACS NHSC Data Processing Workshop – Pasadena 10 th - 14 th Sep 2012 Introductory Notes This presentation reflects the status of the following configuration: –HIPE 9 (build 3054) with SPIA 1.9 and spire_cal_9_1. The HIPE version is a pre-release, but very close to HIPE 9.1 which will be used for archive re-processing. SPIA 1.9 is released. The calibration tree spire_cal_9_1 is released. 2

PACS NHSC Data Processing Workshop – Pasadena 10 th - 14 th Sep 2012 What does it do and why? Signal Offsets Each SPIRE bolometer is at a different arbitrary offset level Dark sky measurements were used as a reference during signal linearization and flux calibration, but… Thermal drifts of telescope and instrument will still create offsets that vary with time, that are typically larger than astronomical signals, and can not be cast into a static calibration table. A Mathematical Problem The scans of different bolometers across the sky typically overlap in some positions. Each readout in a signal timeline S(t) is associated with a specific position on the sky. Positions in the sky where timelines of different detectors and scan directions cross, constrain the solution for the offsets sufficiently. 3

PACS NHSC Data Processing Workshop – Pasadena 10 th - 14 th Sep 2012 Overlaps Constrain Offsets 4 Scans Overlaps Relative Offsets Removed Raw Map Destriped Map Overall Offset Sky Coordinate 1 Sky Coordinate 2 Flux Sky Coordinate 2 Sky Coordinate 1

PACS NHSC Data Processing Workshop – Pasadena 10 th - 14 th Sep 2012 The Difference Median SubtractedDestriped 5

PACS NHSC Data Processing Workshop – Pasadena 10 th - 14 th Sep 2012 The Difference Image Error Image PSW same cuts horizontally no treatmentmedian subtracted destriped this is a bright image! 6

PACS NHSC Data Processing Workshop – Pasadena 10 th - 14 th Sep 2012 Basic Algorithm Make first map. –Optionally start with median offsets Re-sample readouts within map. Compare each re-sampled signal timeline with the corresponding original timeline. For each timeline: Fit offset function to difference. –simplest case is zero order polynomial, i.e. an offset (default) Subtract fitted offset function from original timeline and make another map. Calculate  2 and continue with re-sampling step while difference between consecutive  2 s is above threshold. These iterations actually converge by themselves. 7

PACS NHSC Data Processing Workshop – Pasadena 10 th - 14 th Sep 2012 Re-Sampling and Offset-Function 8 Sky bins of naïve map Readouts Det 1 Det 2 Det 3 Det 4 Det 1 Det 2 Det 3 Det 4 Original S(t) Re-sampled M(t) Offset function (fit to difference) F(t) Signal Time polynomial degree 0 polynomial degree n Scans projected on skyScans as signal timeline Sky bins

PACS NHSC Data Processing Workshop – Pasadena 10 th - 14 th Sep 2012 Preliminary Map time Flux S l,d (t) RA DEC time Flux RA DEC F l,d (t) 1.One for each detector (d) 2.One for each building block (l) or one for all building blocks (user choice). In the latter case the index (l) disappears. Initial offset function F l,d (t) is polynomial with a0 set to median of S l,d (t) all other parameters are zero. time Flux S l,d (t) RA DEC S l,d (t) – F l,d (t,a i ) F l,d (t) time Flux RA DEC M l,d (t) Interpolate S_map from preliminary map for all positions of the timeline. Determine  2 d,l,o = sqrt( sum t ( M l,d,o (t) – S l,d,o (t) + F l,d,o (t,a i ) ) 2 ) for each scan and detector. Mark scan converged if   new -   previous < threshold time Flux M l,d (t) RA DEC S l,d (t) – F l,d (t,a i ) time Flux RA DEC (M l,d,o (t) – S l,d,o (t) + F l,d,o (t,a i )) 2 Determine new set of a 0, a 1, a 2, … by fitting a new offset function F l,d (t,a i ) to the difference S l,d (t) – M l,d (t). Fit Function (user choice is grade n of polynomial, i=0..n ): F l,d (t,a i ) = a0+a1*t+a2*t 2 +… Iterative Baseline Remover (“Destriper”) Take all difference timelines S l,d (t) – F l,d (t) and make map U p. Exclude iteratively all readouts S l,d (t) with ABS( M l,d (t) – S l,d (t) + F l,d (t)) >  *  where  is the standard deviation of all readouts within the respective sky bin 2 nd Level Deglitcher ? End Yes No UpUp M l,d (t) All scans converged? 9 (t) index for time (d) index for detector (l) index for each building block (o) index for observation if level 1 products belong to more than one

PACS NHSC Data Processing Workshop – Pasadena 10 th - 14 th Sep 2012 Destriper Features Input Polynomial offset function selection Iteration limit by number and c2 threshold Choice between per-scan and full- observation timelines Option to start with median offsets (default) Level 2 deglitcher with repeat control Bright source exclusion (default) Sky bin size control Weighted fitting (under development) TOD output control Start parameter feedback from diagnostic product Temporary pool control Thread Control Level 2 deglitcher two threshold algorithm Level 2 deglitcher: Iteration control within one destriper step Output Offset subtracted Level 1 Reconstructed map Diagnostic product TOD Difference timelines 10

PACS NHSC Data Processing Workshop – Pasadena 10 th - 14 th Sep 2012 Destriper Default GUI (HIPE 9) 11 Level 1 context * Array to work on * Pixel size TOD input (optional) Offset function size Polynomial degree Start parameters Median start parameters Weight fitting switch Destriper max. repeat  2 threshold L2 deglitcher threshold L2 deglitcher algorithm L2 deglitcher iterate max. how often to iterate in one deglitcher run L2 deglitcher repeat After how many destriper iterations to run deglitcher Number of threads Provide TOD switch Bright source switch Temporary store switch * mandatory parameters Output is 5 element array Mapping method Noise calibration file Mask flags to ignore Modify mask selection Minimum scan velocity Maximum scan velocity

PACS NHSC Data Processing Workshop – Pasadena 10 th - 14 th Sep 2012 General Remarks The destriper is a complex tool to use. The destriper is still under active development. More improvements will be added. We tried to make the current (HIPE 9) version more accessible through integration into SPIA. Generally the destriper will already perform very well without touching any of the parameters. Many parameters are there just to help calibration scientists improve the tool. Parameters to play with: –Map Quality: pixelSize, brightSource, withMedianCorrected, minVel, maxVel, startParameters, offsetFunction, polyDegree –Performance: nThreads, useSink, tod/storeTod 12

PACS NHSC Data Processing Workshop – Pasadena 10 th - 14 th Sep 2012 Destriper in SPIA 1.9 (HIPE 9) By default active and using the last destriper map as final map. Optionally other map makers can be used after destriping. Baseline remover is off by default but can be run before the destriper. All three arrays will run sequentially. Pixel sizes can be set independently for destriper. Destriper attaches diagnostic products to Level2 context. DestStartParameters is active by default and will use diagnostic products if available in previous Level 2. In this case the parameters and flags are used as new start parameters and for scan selection. 13

PACS NHSC Data Processing Workshop – Pasadena 10 th - 14 th Sep

PACS NHSC Data Processing Workshop – Pasadena 10 th - 14 th Sep 2012 Further Reading Destriper Homepage – pDestriperhttps://nhscsci.ipac.caltech.edu/sc/index.php/Spire/PhotScanMa pDestriper SPIRE Data Reduction Guide – 9.0/load/spire_drg/html/spire_drg.htmlhttp://herschel.esac.esa.int/hcss-doc- 9.0/load/spire_drg/html/spire_drg.html SPIRE instrument and calibration web pages – Web?template=viewprinthttp://herschel.esac.esa.int/twiki/bin/view/Public/SpireCalibration Web?template=viewprint SPIA Homepage – 15