- page 1 NHSC – DP workshop – Feb. 2011 – N. Billot PACS PACS Photometer Standard Pipeline Level 0 to Level 1 processing: From raw to calibrated data cubes.

Slides:



Advertisements
Similar presentations
ArcView Documents Francisco Olivera, Ph.D., P.E. Department of Civil Engineering Texas A&M University.
Advertisements

Viewbox 4 Tutorial How to create a Template Please view this tutorial as a Slide Show in PowerPoint, because it contains animations that will not appear.
DEMONSTRATION FOR SIGMA DATA ACQUISITION MODULES Tempatron Ltd Data Measurements Division Darwin Close Reading RG2 0TB UK T : +44 (0) F :
Bruno Altieri September # 1 PACS photometer pipeline overview Bruno Altieri (ESA/HSC)
® IBM Software Group © 2009 IBM Corporation Rational Publishing Engine RQM Multi Level Report Tutorial David Rennie, IBM Rational Services A/NZ
- 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.
© 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice SISP Training Documentation Template.
© 2008 Map of Medicine Ltd. Commercial and in confidence. Training Role Module 6 – Publisher Ver. 19 Jan 2011.
HIFI Tutorial 3: Getting some basic science out A.P.Marston ESAC 27 June 2013.
Marcel Casado NCAR/RAP WEATHER WARNING TOOL NCAR.
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.
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.
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 Workshop August 2013 NASA Herschel Science Center - page 1 PACS David R. Ardila User Support coordinator / NHSC Archive Scientist The Herschel Science.
The New Flagship. New v9.1.2 Free Patch Releasing: May 5, 2014 To be delivered though True Update.
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.
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.
NHSC Workshop August 2013 NASA Herschel Science Center - page 1 PACS David R. Ardila User Support coordinator / NHSC Archive Scientist Recap of Data Access.
- 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.
Page 1 PACS HSC SPIRE Webinar 6 th Mar 2013 Introduction and General HIPE changes that impact SPIRE Bernhard Schulz NHSC/IPAC on behalf of the SPIRE ICC.
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.
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.
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.
Overview, Spectrometer Products and Processing Philosophy Phil Appleton on Behalf of PACS Team PACS IFU Spectrometer.
Data Processing Workshop NHSC, Pasadena, CA 02 – 04 February 2011 Stephan Ott VG #1 PACS Overview and new developments in.
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.
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)
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)
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.
Enlisted Association of the National Guard of the United States Data Extract Instructional Guide.
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.
Markus Nielbock (MPIA) – PACS Point Source AOT Pipeline Herschel Science Demonstration Phase Data Processing Workshop PACS Point Source AOT Pipeline Tutorial.
photometry and spectroscopy with PACS
NHSC/PACS Web Tutorials
NHSC/PACS Web Tutorials Running PACS spectrometer pipelines PACS-302
Adding Assignments and Learning Units to Your TSS Course
HIFI Hands-on Exercises
Overview and new developments in Herschel Data Processing
Presentation transcript:

- 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

- page 2 NHSC – DP workshop – Feb – N. Billot PACS Introduction This presentation is largely inspired by the online tutorial PACS-201. Level 1 products from the archive can in principle be used to build maps. However reprocessing the raw data to Level 1 might be necessary to exploit updated calibration files or pipeline scripts, or to interactively improve the deglitching process to suit the need of your data set. Nevertheless the Level 0 to 1 standard processing is already close to optimum, and one should keep to a minimum modifications to the pipeline. Level 1 products from the archive can in principle be used to build maps. However reprocessing the raw data to Level 1 might be necessary to exploit updated calibration files or pipeline scripts, or to interactively improve the deglitching process to suit the need of your data set. Nevertheless the Level 0 to 1 standard processing is already close to optimum, and one should keep to a minimum modifications to the pipeline. Level 0: Raw data cubes Level 1: Data cubes calibrated in Jy/pixel with associated pointing information and masks

- page 3 NHSC – DP workshop – Feb – N. Billot PACS Level 0 to 1: Overview Step 1 Load the script Step 2 Retrieve the ObservationContext Step 3 Extract the frames and relevant information Step 4 From Level 0 to 0.5 Step 5 From Level 0.5 to 1

- page 4 NHSC – DP workshop – Feb – N. Billot PACS Step 1 Load the relevant data reduction script

- page 5 NHSC – DP workshop – Feb – N. Billot PACS ipipe scripts: ipipe (interactive pipeline) scripts are part of HIPE. They are delivered and updated with new material with each release of HIPE. They are to be used as templates to reduce your data. You might want to SAVE AS and modify these scripts to suit the specifics of your own set of observations (need for concatenating scan/cross-scan observations, or modify deglitching parameters). Custom scripts: The NHSC provides examples of customized scripts based on ipipe scripts. They can be downloaded from our webpage We encourage you to write your own custom scripts starting from the ipipe scripts and incorporating processing steps specific to your own data set. Load your script following tutorials PACS-102 ipipe scripts: ipipe (interactive pipeline) scripts are part of HIPE. They are delivered and updated with new material with each release of HIPE. They are to be used as templates to reduce your data. You might want to SAVE AS and modify these scripts to suit the specifics of your own set of observations (need for concatenating scan/cross-scan observations, or modify deglitching parameters). Custom scripts: The NHSC provides examples of customized scripts based on ipipe scripts. They can be downloaded from our webpage We encourage you to write your own custom scripts starting from the ipipe scripts and incorporating processing steps specific to your own data set. Load your script following tutorials PACS-102 What script should I use?

- page 6 NHSC – DP workshop – Feb – N. Billot PACS Step 2 Retrieve the ObservationContext

- page 7 NHSC – DP workshop – Feb – N. Billot PACS ObservationContext: HIPE variable holding entire Herschel observations. It contains the raw data cube as well as the data processed with the standard pipeline up to Level 0.5, 1 and 2. It also contains auxiliary information such as the telescope pointing, and all the calibration files necessary to reprocess the data. ObservationContext: HIPE variable holding entire Herschel observations. It contains the raw data cube as well as the data processed with the standard pipeline up to Level 0.5, 1 and 2. It also contains auxiliary information such as the telescope pointing, and all the calibration files necessary to reprocess the data. Definition of Observation Content: Herschel Data Analysis Guide Section Definition of Observation Content: Herschel Data Analysis Guide Section 1.2.3

- page 8 NHSC – DP workshop – Feb – N. Billot PACS HIPE> obsid = # public observation of Delta Draconis HIPE> obs = getObservation(obsid, useHsa = True) The ObservationContext can be loaded in HIPE from the Herschel Science Archive (HSA) HIPE> obs = getObservation(obsid, poolLocation = “/where/you/saved/it/”) … or from a local pool on your hard drive disk assuming it was previously saved to a local store (see the usage of the getPACSdata.py script in tutorial PACS-103) … or from a local pool on your hard drive disk assuming it was previously saved to a local store (see the usage of the getPACSdata.py script in tutorial PACS-103)

- page 9 NHSC – DP workshop – Feb – N. Billot PACS HIPE> print obs metadata Different levels of data processing generated by the pipeline and served by the archive Calibration files are included in the ObservationContext Pointing, House Keeping, etc. Inspect the ObservationContext

- page 10 NHSC – DP workshop – Feb – N. Billot PACS Double click obs in the variables window to open the Observation Viewer in the Editor window (creation of a new tab) Inspect the ObservationContext

- page 11 NHSC – DP workshop – Feb – N. Billot PACS Click Meta Data and scroll to explore some information about your observation Inspect the ObservationContext

- page 12 NHSC – DP workshop – Feb – N. Billot PACS Single Click obs/level2/HPPPMAPB/0/i mage to view the image of the level2 product MAP Blue Inspect the ObservationContext

- page 13 NHSC – DP workshop – Feb – N. Billot PACS Double Click obs/level2/HPPPMAPB/0/ image to open the image with the Image Viewer (creation of a new tab) Double Click obs/level2/HPPPMAPB/0/ image to open the image with the Image Viewer (creation of a new tab) Click the zoom button to fit the image to the screen Inspect the ObservationContext

- page 14 NHSC – DP workshop – Feb – N. Billot PACS Step 3 Extract the frames and related information from the ObservationContext and HIPE

- page 15 NHSC – DP workshop – Feb – N. Billot PACS HIPE> frames = obs.level0.refs["HPPAVGB"].product.refs[0].product HIPE> frames = obs.level0.refs["HPPAVGR"].product.refs[0].product Extract the Level 0 data cube (frames) from the ObservationContext HPPAVGB/R: Herschel PACS Photometer AVGerage Blue/Red This is the signal downlinked from the spacecraft after on-board averaging HPPAVGB/R: Herschel PACS Photometer AVGerage Blue/Red This is the signal downlinked from the spacecraft after on-board averaging Level 0: raw data cube Syntax for Blue/Red array

- page 16 NHSC – DP workshop – Feb – N. Billot PACS HIPE> print frames.class herschel.pacs.signal.Frames HIPE> print frames metadata Actual datasets stored in the frames: Signal, Status and Mask Inspect the frames

- page 17 NHSC – DP workshop – Feb – N. Billot PACS HIPE> print frames.meta HIPE> print frames.meta["mapScanNumLegs"].value 8 Access individual meta data parameter values Number of scan legs Inspect the frames metadata

- page 18 NHSC – DP workshop – Feb – N. Billot PACS HIPE> print frames.signal.class herschel.ia.numeric.Double3d HIPE> print frames.signal.dimensions array([16, 32, 2890], int) frames.signal contains the raw data cube The cube dimensions depends on the channel and the duration of the observation frames.signal contains the raw data cube The cube dimensions depends on the channel and the duration of the observation Inspect the frames signal

- page 19 NHSC – DP workshop – Feb – N. Billot PACS Most sources will not be visible on single frames due to intrinsic offset dispersion. Signal dispersion ~ ADU Most sources will not be visible on single frames due to intrinsic offset dispersion. Signal dispersion ~ ADU Readout sequence 10 Hz − PACS Prime 5 Hz – Pacs PMode 64 (32) pixels 32 (16) pixels

- page 20 NHSC – DP workshop – Feb – N. Billot PACS HIPE> Display(frames.signal, depthAxis=2) Indicates that the third dimension is the readout sequence Scroll to explore the data cube Complete documentation on Data Display: Herschel Data Analysis Guide Chapter 2 Complete documentation on Data Display: Herschel Data Analysis Guide Chapter 2 Inspect the frames signal

- page 21 NHSC – DP workshop – Feb – N. Billot PACS HIPE> PlotXY(frames.signal[8,8,:]) Temporal evolution of pixel (8,8) Complete documentation on Data Plotting: Herschel Data Analysis Guide Chapter 3 Complete documentation on Data Plotting: Herschel Data Analysis Guide Chapter 3 Science Block Calibration Block: prior to any observations, 2 internal sources are observed with the internal chopper for calibration purposes Calibration Block: prior to any observations, 2 internal sources are observed with the internal chopper for calibration purposes Inspect the frames signal

- page 22 NHSC – DP workshop – Feb – N. Billot PACS HIPE> PlotXY(frames.signal[8,8,:]) Temporal evolution of pixel (8,8) Chopping pattern on internal sources 1 & 2 Zoom onto the Calibration Block Complete documentation on Data Plotting: Herschel Data Analysis Guide Chapter 3 Complete documentation on Data Plotting: Herschel Data Analysis Guide Chapter 3 Inspect the frames signal

- page 23 NHSC – DP workshop – Feb – N. Billot PACS HIPE> PlotXY(frames.signal[8,8,:]) Temporal evolution of pixel (8,8) Complete documentation on Data Plotting: Herschel Data Analysis Guide Chapter 3 Complete documentation on Data Plotting: Herschel Data Analysis Guide Chapter 3 The spike is likely a glitch Zoom onto the Science Block Inspect the frames signal

- page 24 NHSC – DP workshop – Feb – N. Billot PACS HIPE> PlotXY(frames.signal[8,8,:]) Temporal evolution of pixel (8,8) Complete documentation on Data Plotting: Herschel Data Analysis Guide Chapter 3 Complete documentation on Data Plotting: Herschel Data Analysis Guide Chapter 3 The spike is asymmetric and affects only 2 readouts: It is a glitch The spike is asymmetric and affects only 2 readouts: It is a glitch Zoom onto the spike Inspect the frames signal

- page 25 NHSC – DP workshop – Feb – N. Billot PACS HIPE> print frames.mask HIPE> print frames.status Inspect the frames status & mask

- page 26 NHSC – DP workshop – Feb – N. Billot PACS Extract the auxiliary data from the ObservationContext HIPE> pp = obs.auxiliary.pointing HIPE> photHK = obs.level0.refs["HPPHK"].product.refs[0].product["HPPHKS"] HIPE> oep = obs.auxiliary.orbitEphemeris pp: pointing product photHK: photometer HouseKeeping oep: orbitephemeris product We recommend not to modify these variables, they contain critical information required in subsequent processing modules. pp: pointing product photHK: photometer HouseKeeping oep: orbitephemeris product We recommend not to modify these variables, they contain critical information required in subsequent processing modules.

- page 27 NHSC – DP workshop – Feb – N. Billot PACS Extract the calibration files (calTree) from the ObservationContext HIPE> calTree = getCalTree( time = frames.startDate ) The Calibration Tree calTree contains all the files necessary to process your data Some calibration files changed with time, e.g. the SIAM or pointing calibration file, so it is necessary to provide the date of observation for retrieving the appropriate calFiles Complete documentation on the Calibration Framework: alibration_Framework_-_issue_0.10.pdf Complete documentation on the Calibration Framework: alibration_Framework_-_issue_0.10.pdf

- page 28 NHSC – DP workshop – Feb – N. Billot PACS This is the flatfield in the blue filter Explore the Calibration Tree with the GUI Inspect the calTree

- page 29 NHSC – DP workshop – Feb – N. Billot PACS HIPE> print calTree Flight Model 13 th version of the calTree Product specific calTree Inspect the calTree

- page 30 NHSC – DP workshop – Feb – N. Billot PACS HIPE> print calTree.photometer Photometer specific calibration products Inspect the calTree

- page 31 NHSC – DP workshop – Feb – N. Billot PACS HIPE> trans = calTree.photometer.filterTransmission.blue["transmission"].data HIPE> wav = calTree.photometer.filterTransmission.blue["wavelength"].data HIPE> PlotXY(wav, trans, xtitle = "Wavelength [micron]", ytitle=“Transmission") Zoom on the feature Inspect the calTree

- page 32 NHSC – DP workshop – Feb – N. Billot PACS Step 4 From Level-0 to Level-0.5

- page 33 NHSC – DP workshop – Feb – N. Billot PACS HIPE> frames = findBlocks(frames, calTree=calTree) HIPE> frames = detectCalibrationBlock(frames) HIPE> frames = removeCalBlocks(frames) Identify Blocks in the observation and remove the Calibration Blocks Before After The chopping pattern from the Calibration Block is gone.

- page 34 NHSC – DP workshop – Feb – N. Billot PACS Flag Bad Pixels and populate frames.mask HIPE> frames = photFlagBadPixels(frames, calTree=calTree) Flag saturated pixels and populate frames.mask HIPE> frames = photFlagSaturation(frames, calTree=calTree, hkdata=photHK) CL and ADC saturation checking Provide the photometer HouseKeeping to derive soft saturation limits that depend on the bolometer bias setting More on saturation in Friday talk Photometer: Calibration and other science aspect (9.30 am) More on saturation in Friday talk Photometer: Calibration and other science aspect (9.30 am)

- page 35 NHSC – DP workshop – Feb – N. Billot PACS HIPE> print frames.mask BADPIXELS and SATURATION masks were created in frames.mask

- page 36 NHSC – DP workshop – Feb – N. Billot PACS Convert the signal from digital units (ADU) into physical units (Volts) HIPE> frames = photConvDigit2Volts(frames, calTree=calTree) Convert the chopper angle from digital units (ADU) into physical units (degrees) HIPE> frames = convertChopper2Angle(frames, calTree=calTree)

- page 37 NHSC – DP workshop – Feb – N. Billot PACS Add an initial estimate of the bolometers noise level to the frames HIPE> frames = photAddNoisePerPixel(frames, method = "median", calTree=calTree) The NOISE dataset is created in the frames object The noise estimate is used later in the deglitching process The NOISE dataset is created in the frames object The noise estimate is used later in the deglitching process

- page 38 NHSC – DP workshop – Feb – N. Billot PACS Step 5 From Level-0.5 to Level-1

- page 39 NHSC – DP workshop – Feb – N. Billot PACS Deglitch the data and create a glitch mask in frames.mask HIPE> frames = photMMTDeglitching(frames, incr_fact=2, mmt_mode='multiply', scales=3, nsigma=5, imagenoisearray = frames.noise[:,:,0]) The standard pipeline uses a time-domain deglitching algorithm: Multi-resolution Median Transform of individual pixel timelines (Stark et al. 1998) The standard pipeline uses a time-domain deglitching algorithm: Multi-resolution Median Transform of individual pixel timelines (Stark et al. 1998) The set of parameters given here works well with most observations Bright sources might however be flagged as glitches by this module The set of parameters given here works well with most observations Bright sources might however be flagged as glitches by this module See the next talk, and tutorial PACS-202, for guidance on disabling the GlitchMask on-source. See also the Deglitching talk later today at 4.40 pm.

- page 40 NHSC – DP workshop – Feb – N. Billot PACS Add the pointing information to the frames HIPE> frames = photAddInstantPointing(frames, pp, calTree=calTree, orbitEphem=oep) Provide the telescope pointing product and the orbit ephemeris that were extracted from the ObservationContext This module adds the spacecraft pointing to the frames.status as coordinates and additional pointing information

- page 41 NHSC – DP workshop – Feb – N. Billot PACS HIPE> print frames.status photAddInstantPointing has created all these variables in frames.status

- page 42 NHSC – DP workshop – Feb – N. Billot PACS HIPE> execfile("/path/to/the/script/plotscanpath.py") HIPE> plotscanpath(frames) plotscanpath.py exploits the pointing information added by the module photAddInstantPointing, namely RaArray and DecArray, to plot the trajectory of the center of the focal plane. This command allows to compile a function at the command line or within a script

- page 43 NHSC – DP workshop – Feb – N. Billot PACS Add the pointing information to the frames HIPE> frames = photAssignRaDec(frames, calTree=calTree) This modules assigns coordinates to individual pixels using distortion information from the calTree

- page 44 NHSC – DP workshop – Feb – N. Billot PACS Apply the flat-field correction and convert the signal from Volt/pixel into Jy/pixel HIPE> frames = photRespFlatfieldCorrection(frames, calTree = calTree) You have reach Level 1 The frames are now calibrated and ready for the map-making process (see tutorial PACS-202 & 401) You have reach Level 1 The frames are now calibrated and ready for the map-making process (see tutorial PACS-202 & 401)

- page 45 NHSC – DP workshop – Feb – N. Billot PACS Save the frames before further processing HIPE> save("/my/directory/my_frames.save","frames") The frames are saved in the “save” format of HIPE The saved file can only be read back into HIPE The frames are saved in the “save” format of HIPE The saved file can only be read back into HIPE HIPE> restore("/my/directory/my_frames.save”)

- page 46 NHSC – DP workshop – Feb – N. Billot PACS HIPE> FitsArchive().save("/my/directory/my_frames.fits", frames) HIPE> frames = FitsArchive().load("/my/directory/my_frames.fits”) The frames are saved in standard fits format The saved file can be read back into HIPE or IDL The frames are saved in standard fits format The saved file can be read back into HIPE or IDL This is the extension of the fits file Save the frames before further processing

- page 47 NHSC – DP workshop – Feb – N. Billot PACS Most relevant documentation for this tutorial: PACS Data Reduction Guide PACS User’s Reference Manual HCSS User’s Reference Manual General documentation necessary to manipulate the data: HIPE Owner’s Guide Herschel Data Analysis Guide Scripting and Data Mining Documentation