SPACE TELESCOPE SCIENCE INSTITUTE Operated for NASA by AURA COS Pipeline Calibration Goals of CALCOS Association Table Input and Output Files High Level.

Slides:



Advertisements
Similar presentations
Spectral Combination Software Jerry Kriss 5/8/2013.
Advertisements

ALMA Pipeline Heuristics F2F Meeting 2006 in Paris 1 SD Pipeline Heuristics Status Report ALMA Project, NAOJ George KOSUGI.
MIPS Data Processing for SINGS George J. Bendo & Chad Engelbracht (A ''George's Adventures in Learning OpenOffice'' Presentation)
SPACE TELESCOPE SCIENCE INSTITUTE Operated for NASA by AURA COS Science Calibration & Instrument Status TIPS 20 Nov 2003 Last COS TIPS Aug 2003.
Spectroscopy of Saturn
FMOS Observations and Data 14 January 2004 FMOS Science Workshop.
© Janice Regan, CMPT 102, Sept CMPT 102 Introduction to Scientific Computer Programming Examples of loops and nested loops.
Can people meet from 2:40 to 3:30 on Tuesday, September 5?
Memorandam of the discussion on FMOS observations and data kicked off by Ian Lewis Masayuki Akiyama 14 January 2004 FMOS Science Workshop.
SPACE TELESCOPE SCIENCE INSTITUTE Operated for NASA by AURA Cosmic Origins Spectrograph Hubble Mission Status Review Charles D. (Tony) Keyes Last Review:
SPACE TELESCOPE SCIENCE INSTITUTE Operated for NASA by AURA COS Pipeline Language(s) We plan to develop CALCOS using Python and C Another programming language?
File FormatsFile Formats File Name ConventionsFile Name Conventions File ContentsFile Contents Association Contents & RulesAssociation Contents & Rules.
SPACE TELESCOPE SCIENCE INSTITUTE Operated for NASA by AURA TIPS / COS TV Update 21 December 2006 Agenda Agenda Testing Setup and Status Testing Setup.
Round Table Discussion Of Spectroscopic Processing & Products for the Scientific Legacy Nov 16, 2012HST Spec Pipeline & Legacy Products Round Table Kaiser,
SPACE TELESCOPE SCIENCE INSTITUTE Operated for NASA by AURA COS Status FUV Detector “1-bounce design” NUV Detector HST aberration fully-corrected Calibration.
SPACE TELESCOPE SCIENCE INSTITUTE Operated for NASA by AURA COS TAGFLASH System Requirements Review COS Lamp Lifetime Estimates for TAGFLASH Scenarios.
Keyes - 5 Mar 2001 Slide 1 of 16 COS Science Team Meeting – STScI Status  STScI Integrated Scheduling System Development – TIME-TAG (primary science mode)
COS PIPELINE PDR Daryl Swade December 7, 2000OPUS / OTFR Space Telescope Science Institute 1 of 24 Science Data Processing
NIRSpec Operations Concept Michael Regan(STScI), Jeff Valenti (STScI) Wolfram Freduling(ECF), Harald Kuntschner(ECF), Robert Fosbury (ECF)
HST Quarterly Review Page 1 Space Telescope Science Institute 12 February 2004 SI Status: COS STScI Support of COS Thermal-Vacuum Testing COS Thermal-Vacuum.
18 May 2006 Slide 1 of 10 STScI TAGFLASH Ground System Development Current ground system could support immediate COS launch Current ground system could.
SPACE TELESCOPE SCIENCE INSTITUTE Operated for NASA by AURA Hubble Mission Status Review Charles D. (Tony) Keyes Last Review: 10 June August 2003.
TIPS COS Overview - Keyes : 18 May 2000 COS Overview v CDR: April 2000 v FUV delivery: January 2001 v Environmental (Thermal-Vac): spring 2002 v Launch:
The Status of COS Flat Fields Tom Ake TIPS 21 August 2008.
Selection of the New COS/FUV Lifetime Position Cristina Oliveira Jan TIPS Meeting - COS/FUV Lifetime1.
Data products of GuoShouJing telescope(LAMOST) pipeline and current problems LUO LAMOST Workshop.
SPACE TELESCOPE SCIENCE INSTITUTE Operated for NASA by AURA COS Pipeline Calibration Outline of CALCOS Processing Steps and Keywords Reference Files Associations.
1-D Flat Fields for COS G130M and G160M Tom Ake TIPS 17 June 2010.
SPACE TELESCOPE SCIENCE INSTITUTE Operated for NASA by AURA COS Monthly Status Review 15 January 2002.
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.
SNAP Calibration Program Steps to Spectrophotometric Calibration The SNAP (Supernova / Acceleration Probe) mission’s primary science.
28 February 2008 COS Training Series IV 1 COS Training Series IV: COS Post-observation M.E. Kaiser P. E. Hodge 28 February 2008 COS.
SPACE TELESCOPE SCIENCE INSTITUTE Operated for NASA by AURA COS Pipeline PDR File Structure Overview Charles D. (Tony) Keyes 7 December 2000.
TIPS COS Status: SMOV update III STScI/CU COS Team 17 September 2009.
HARPS Data Flow System Christophe Lovis Geneva Observatory HARPS-N PDR, 6-7 December 2007, Cambridge MA.
COS Training Series II. Optimizing Observations --- David Sahnow February mm.
SPACE TELESCOPE SCIENCE INSTITUTE Operated for NASA by AURA Cosmic Origins Spectrograph Status STIC 13 February 2001.
Overall ArchitectureOverall Architecture Use of AssociationsUse of Associations Outline of ProcessingOutline of Processing Reuse of CALACS and CALNIC CodeReuse.
SPACE TELESCOPE SCIENCE INSTITUTE Operated for NASA by AURA SMOV4 Requirements Review Cosmic Origins Spectrograph Scott D. Friedman STScI 30 July 2003.
MOS Data Reduction Michael Balogh University of Durham.
COS PIPELINE CDR Jim Rose July 23, 2001OPUS Science Data Processing Space Telescope Science Institute 1 of 12 Science Data Processing
Overall ArchitectureOverall Architecture Outline of ProcessingOutline of Processing Reuse of CALACS and CALNIC CodeReuse of CALACS and CALNIC Code Processing.
SPACE TELESCOPE SCIENCE INSTITUTE Operated for NASA by AURA COS Monthly Status Review 17 September 2002.
Click to Change Title Here is a text box to present information in paragraph format, instead of bulleted lists. We’ve left space to the right for an image.
SPACE TELESCOPE SCIENCE INSTITUTE Operated for NASA by AURA Cosmic Origins Spectrograph Hubble Mission Status Review Charles D. (Tony) Keyes Last Review:
WFC3 PIPELINE CDR Jim Rose October 16, 2001OPUS Science Data Processing Space Telescope Science Institute 1 of 13 Science Data Processing
RAW DATA BIAS & DARK SUBTRACTION PIXEL-TO-PIXEL DQE CORR. LOCATE EXTR. WINDOW THROUGHPUT CORRECTION (incl. L-flat, blaze function, transmission of optics,
HST Quarterly Review Page 1 Space Telescope Science Institute 15 October 2003 SI Status: COS STScI COS Program Activity SubprojectSTScI Activity Instrument.
COS OPUS/HDA CDR Daryl Swade July 23, 2001Keywords and Associations Space Telescope Science Institute 1 of 14 Keywords and Associations.
SPACE TELESCOPE SCIENCE INSTITUTE Operated for NASA by AURA COS Monthly Status Review 24 October 2007.
SPACE TELESCOPE SCIENCE INSTITUTE Operated for NASA by AURA COS TAGFLASH System Requirements Review CALCOS Requirements Philip E Hodge 14 December 2005.
SPACE TELESCOPE SCIENCE INSTITUTE Operated for NASA by AURA TIPS / COS 17 January 2002.
SPACE TELESCOPE SCIENCE INSTITUTE Operated for NASA by AURA COS Monthly Status Review 15 September 1999.
SPACE TELESCOPE SCIENCE INSTITUTE Operated for NASA by AURA COS Monthly Status Review 22 April 2002.
SPACE TELESCOPE SCIENCE INSTITUTE Operated for NASA by AURA COS Monthly Status Review 22 January 2003.
1 COS SI Testing and Delivery SI formally delivered to HSTP in May  N 2 purge alignment and NUV throughput testing pre- and post-ship  No effective alignment.
SPACE TELESCOPE SCIENCE INSTITUTE Operated for NASA by AURA TIPS Cosmic Origins Spectrograph 20 September 2001.
SPACE TELESCOPE SCIENCE INSTITUTE Operated for NASA by AURA Cosmic Origins Spectrograph HST Quarterly Review – Instrument Status Charles D. (Tony) Keyes.
Cosmic Origins Spectrograph Monthly Status Review 17 April 2001 Charles D.(Tony) Keyes Page 1 of 10 Synopsis Role: STScI supports COS science operations.
SPACE TELESCOPE SCIENCE INSTITUTE Operated for NASA by AURA COS Pipeline and Archives Preliminary Design Review 7 December 2000.
SPACE TELESCOPE SCIENCE INSTITUTE Operated for NASA by AURA TIPS / COS 27 June 2002.
A.Zanichelli, B.Garilli, M.Scodeggio, D.Rizzo
Calibration meeting summary
NAC flat fielding and intensity calibration
JWST Pipeline Overview
NIRSpec pipeline concept Guido De Marchi, Tracy Beck, Torsten Böker
Data Processing Status
COS FUV Flat Fields and Signal-to-Noise Characteristics
Jean Ballet, CEA Saclay GSFC, 31 May 2006 All-sky source search
File Formats File Name Conventions File Contents File Sizes
Presentation transcript:

SPACE TELESCOPE SCIENCE INSTITUTE Operated for NASA by AURA COS Pipeline Calibration Goals of CALCOS Association Table Input and Output Files High Level Outline of CALCOS Outline of Calibration Steps Coding Issues Test Plan Development Schedule

COS PIPELINE CDR P. Hodge July 24, 2001CALCOS Space Telescope Science Institute 2 of 12 Goals of CALCOS If data are in TIME-TAG mode:If data are in TIME-TAG mode: Produce corrected event list table Produce corrected event list table Produce calibrated ACCUM image from corrected event list Produce calibrated ACCUM image from corrected event list If data are in ACCUM mode:If data are in ACCUM mode: Produce calibrated ACCUM image from raw ACCUM image Produce calibrated ACCUM image from raw ACCUM image Produce flux-calibrated 1-D spectrumProduce flux-calibrated 1-D spectrum Combine FP-split or repeatobs spectraCombine FP-split or repeatobs spectra

COS PIPELINE CDR P. Hodge July 24, 2001CALCOS Space Telescope Science Institute 3 of 12 Association Table Column names MEMNAME, MEMTYPE, MEMPRSNTColumn names MEMNAME, MEMTYPE, MEMPRSNT MEMNAME is the rootname for a file or set of filesMEMNAME is the rootname for a file or set of files MEMTYPE distinguishes science from wavecal, and exposure from productMEMTYPE distinguishes science from wavecal, and exposure from product MEMPRSNT = true implies that input files with the specified rootname should existMEMPRSNT = true implies that input files with the specified rootname should exist

COS PIPELINE CDR P. Hodge July 24, 2001CALCOS Space Telescope Science Institute 4 of 12 Input and Output Files There can be several input files, distinguished by suffix:There can be several input files, distinguished by suffix: Science spectrum (A and B segments, if FUV) Science spectrum (A and B segments, if FUV) Pulse-height histogram if FUV ACCUM (A and B) Pulse-height histogram if FUV ACCUM (A and B) Target-acquisition image Target-acquisition image Support file (not used by CALCOS) Support file (not used by CALCOS) There can be several output files from CALCOS:There can be several output files from CALCOS: Corrected event list (if input is TIME-TAG) Corrected event list (if input is TIME-TAG) Corrected ACCUM image Corrected ACCUM image Sum of individual ACCUM images, if repeatobs Sum of individual ACCUM images, if repeatobs 1-D spectrum for each FP-split location or repeatobs exposure 1-D spectrum for each FP-split location or repeatobs exposure Sum of 1-D spectra (this is identified as PRODUCT) Sum of 1-D spectra (this is identified as PRODUCT)

COS PIPELINE CDR P. Hodge July 24, 2001CALCOS Space Telescope Science Institute 5 of 12 High Level Outline of CALCOS User supplies the name of an association tableUser supplies the name of an association table Read and interpret association table:Read and interpret association table: get a list of the input files get a list of the input files open one input file to get header keywords: open one input file to get header keywords: determine which calibration steps are to be done determine which calibration steps are to be done get a list of reference file names get a list of reference file names check that all required files are readable check that all required files are readable Calibrate:Calibrate: partially calibrate each wavecal partially calibrate each wavecal determine offset from calibrated wavecal determine offset from calibrated wavecal calibrate each input science file calibrate each input science file partially calibrate each TA1 file partially calibrate each TA1 file Average the individual FP-split or repeatobsAverage the individual FP-split or repeatobs

COS PIPELINE CDR P. Hodge July 24, 2001CALCOS Space Telescope Science Institute 6 of 12 Outline of Calibration Steps TIME-TAG dataTIME-TAG data Copy input data into output array Copy input data into output array Add pseudo-random number to each X and Y position (FUV only) Add pseudo-random number to each X and Y position (FUV only) Thermal correction (FUV only) Thermal correction (FUV only) Geometric correction (FUV only) Geometric correction (FUV only) Flat field correction Flat field correction Livetime correction Livetime correction Data quality assignment Data quality assignment Filter by pulse height (FUV only) Filter by pulse height (FUV only) Filter by time Filter by time Orbital and heliocentric Doppler corrections Orbital and heliocentric Doppler corrections Create 2-D ACCUM images Create 2-D ACCUM images

COS PIPELINE CDR P. Hodge July 24, 2001CALCOS Space Telescope Science Institute 7 of 12 Outline of Calibration Steps (cont.) ACCUM dataACCUM data Verify good pulse-height distribution (FUV only) Verify good pulse-height distribution (FUV only) Find stim pulses and compute thermal distortion coefficients (FUV only) Find stim pulses and compute thermal distortion coefficients (FUV only) Convert ACCUM to temporary coordinate list (FUV only) Convert ACCUM to temporary coordinate list (FUV only) Add pseudo-random number to each X and Y position (FUV only) Add pseudo-random number to each X and Y position (FUV only) Thermal correction (FUV only) Thermal correction (FUV only) Geometric correction (FUV only) Geometric correction (FUV only) Data quality assignment Data quality assignment Compute orbital and heliocentric Doppler shifts Compute orbital and heliocentric Doppler shifts Create 2-D temporary count rate ACCUM image Create 2-D temporary count rate ACCUM image Convolve flat field with Doppler shift and divide into count rate image Convolve flat field with Doppler shift and divide into count rate image Livetime correction Livetime correction Create 2-D effective count rate image Create 2-D effective count rate image

COS PIPELINE CDR P. Hodge July 24, 2001CALCOS Space Telescope Science Institute 8 of 12 Outline of Calibration Steps (cont.) Steps common to TIME-TAG and ACCUMSteps common to TIME-TAG and ACCUM Extract 1-D spectrum: Extract 1-D spectrum: Compute net count rate Compute net count rate Compute error estimate Compute error estimate Compute maximum and average data quality Compute maximum and average data quality Compute wavelengths Compute wavelengths Compute flux from count rate Compute flux from count rate Combine FP-split or repeatobs Combine FP-split or repeatobs

COS PIPELINE CDR P. Hodge July 24, 2001CALCOS Space Telescope Science Institute 9 of 12 Coding Issues Use a combination of Python and CUse a combination of Python and C Assume all data fit in memoryAssume all data fit in memory Expect to use Python:Expect to use Python: High level control High level control Lists of information, e.g. file names Lists of information, e.g. file names I/O using PyFITS I/O using PyFITS Much of the processing can be done using numarray Much of the processing can be done using numarray Expect to use C when individual event or pixel access is requiredExpect to use C when individual event or pixel access is required Workstation requirementsWorkstation requirements Will simultaneously need to access event list and two output ACCUM images Will simultaneously need to access event list and two output ACCUM images One Gb is likely to be sufficient One Gb is likely to be sufficient

COS PIPELINE CDR P. Hodge July 24, 2001CALCOS Space Telescope Science Institute 10 of 12 Coding Issues (cont.) Functions that will need to be written in C:Functions that will need to be written in C: Bin X,Y coordinates from an event list into a 2-D ACCUM image Bin X,Y coordinates from an event list into a 2-D ACCUM image Sum the events (unweighted) to make count rate image Sum the events (unweighted) to make count rate image Sum the weight of each event to make effective count rate image Sum the weight of each event to make effective count rate image Exclude events flagged by data quality column Exclude events flagged by data quality column Make a pseudo-event list (X & Y coords) from a 2-D ACCUM image Make a pseudo-event list (X & Y coords) from a 2-D ACCUM image Make a 2-D data quality image array from data quality initialization table Make a 2-D data quality image array from data quality initialization table Bitwise OR the DQ column in events table with 2-D DQ image array Bitwise OR the DQ column in events table with 2-D DQ image array Assign weight column in events table from 2-D flat field image Assign weight column in events table from 2-D flat field image Find an interval of time in a time column (returns indices) Find an interval of time in a time column (returns indices)

COS PIPELINE CDR P. Hodge July 24, 2001CALCOS Space Telescope Science Institute 11 of 12 Test Plan Test thermal, geometric, and flat field corrections by calibrating a flat field observation, then compare with baseline reference frame and data quality flags.Test thermal, geometric, and flat field corrections by calibrating a flat field observation, then compare with baseline reference frame and data quality flags. Test 1-D extraction and wavecal processing by calibrating a line lamp observation, then compare with template lamp spectrum.Test 1-D extraction and wavecal processing by calibrating a line lamp observation, then compare with template lamp spectrum. Compare TIME-TAG and ACCUM observations of the same target, e.g. a line lamp, to check for such problems as one-pixel offsets.Compare TIME-TAG and ACCUM observations of the same target, e.g. a line lamp, to check for such problems as one-pixel offsets. Test Doppler correction by calibrating an external target with known radial velocity and well defined lines; use multiple exposures with beginnings of exposures at different locations in the orbit.Test Doppler correction by calibrating an external target with known radial velocity and well defined lines; use multiple exposures with beginnings of exposures at different locations in the orbit. Test flux correction by calibrating an observation of a flux standard.Test flux correction by calibrating an observation of a flux standard. Except for Doppler and flux correction, all these tests can all be done using thermal vac data.Except for Doppler and flux correction, all these tests can all be done using thermal vac data.

COS PIPELINE CDR P. Hodge July 24, 2001CALCOS Space Telescope Science Institute 12 of 12 Development Schedule Finish by Description Oct 2001 Overall design, prototype code Dec 2001 High level control, prototype calibration Mar 2002 Basic calibration, prototype 1-D extraction Jun D extraction, wavecal processing Sep 2002 Combine FP-split or repeatobs