1 Notes about eis_prep Alessandro Gardini University of Oslo Oslo, July 9th, 2009.

Slides:



Advertisements
Similar presentations
Lectures on File Management
Advertisements

Memory Protection: Kernel and User Address Spaces  Background  Address binding  How memory protection is achieved.
Exercise 7.5 (p. 343) Consider the hotel occupancy data in Table 6.4 of Chapter 6 (p. 297)
COMPUTER PROGRAMMING I Essential Standard 5.02 Understand Breakpoint, Watch Window, and Try And Catch to Find Errors.
Digital Image Processing
Computational Biology, Part 23 Biological Imaging II Robert F. Murphy Copyright  1996, 1999, All rights reserved.
Image Processing Tutorial
Image reconstruction and analysis for X-ray computed microtomography Lucia Mancini 1, Francesco Montanari 2, Diego Dreossi 3 1 Elettra - Trieste 2 A.R.P.A.
Basic Principles of X-ray Source Detection Or Who Stole All Our Photons?.....
SOHO/CDS CDS Users’ Meeting, Sep 2005 Dr Peter Young, CCLRC/RAL Tips and Tricks for analysing CDS data Dr Peter Young Dr Peter Young SOHO/CDS Project Scientist.
SJC - 109/29/05IRAC Calibration Workshop Status of IRAC Artifact Corrector Sean Carey.
STScI TIPS 19 January 2006 Removing SAA-Persistent Cosmic Ray Flux from NICMOS Anton Koekemoer (INS) 1 Removing SAA-Persistent Cosmic Ray Flux from NICMOS.
JD10-16 Automatic Removal of Cosmic Rays on Deep Impact CCDs S.I. Ipatov (1), M.F. A'Hearn (1), K.P. Klaasen (2), M. Desnoyer (3), D. Linder (4), and Deep.
6/9/2015Digital Image Processing1. 2 Example Histogram.
A Package For Tracking Validation Chris Meyer UC Santa Cruz July 6, 2007.
CCDs. CCDs—the good (+)  Linear response  photometry is “simple” +High efficiency, compared to other detectors +Sensitive to many wavelengths +2-D arrays.
EPIC Calibration Meeting, Mallorca K. Dennerl, 2006 October 26 Suppression of the low-energy noise Suppression of the low-energy noise: an improved approach.
Object Tracking for Retrieval Application in MPEG-2 Lorenzo Favalli, Alessandro Mecocci, Fulvio Moschetti IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS FOR.
Introduction to Array The fundamental unit of data in any MATLAB program is the array. 1. An array is a collection of data values organized into rows and.
Rachel Klima (on behalf of the MASCS team) JHU/APL MASCS/VIRS Data Users’ Workshop LPSC 2014, The Woodlands, TX March 17,2014 MASCS Instrument & VIRS Calibration.
Circle Drawing algo..
UVP BioImaging Systems Solutions for the Science of Life Digital CCD Cameras 101.
…….CT Physics - Continued V.G.WimalasenaPrincipal School of radiography.
Chapter 12 Spatial Sharpening of Spectral Image Data.
File System. NET+OS 6 File System Architecture Design Goals File System Layer Design Storage Services Layer Design RAM Services Layer Design Flash Services.
CS559-Computer Graphics Copyright Stephen Chenney Image File Formats How big is the image? –All files in some way store width and height How is the image.
1 TIPS 2011 May Persistence in the WFC3 IR detector Knox S. Long.
Super-hot pixels, hot pixels and DSNU on Hawaii-2RG detector
TIPS presentation 19 July 2007Charles Proffitt COS-STIS TeamPage 1 STIS FUV MAMA Dark Current Charles Proffitt COS-STIS Team.
Operator Precedence First the contents of all parentheses are evaluated beginning with the innermost set of parenthesis. Second all multiplications, divisions,
1 Functions 1 Parameter, 1 Return-Value 1. The problem 2. Recall the layout 3. Create the definition 4. "Flow" of data 5. Testing 6. Projects 1 and 2.
Gauge Operation and Software by Scott A. Ager. Computer Recommendations 750 MHz Pentium III 64 Meg SRAM 40 Gig Hard Drive 1024 x 768 graphics CD Writer.
CCD Detectors CCD=“charge coupled device” Readout method:
COMPUTER PROGRAMMING. Control Structures A program is usually not limited to a linear sequence of instructions. During its process it may repeat code.
1. Definition and General Structure 2. Small Example 1 3. Simplified Structure 4. Short Additional Examples 5. Full Example 2 6. Common Error The for loop.
September 23, 2014Computer Vision Lecture 5: Binary Image Processing 1 Binary Images Binary images are grayscale images with only two possible levels of.
September 5, 2013Computer Vision Lecture 2: Digital Images 1 Computer Vision A simple two-stage model of computer vision: Image processing Scene analysis.
10/26/20151 Observational Astrophysics I Astronomical detectors Kitchin pp
ACS Drizzling Overview J. Mack; DA Training 10/5/07 Distortion Dither Strategies MultiDrizzle ‘Fine-tuning’ Data Quality Photometry.
Digital Imaging. Digital image - definition Image = “a two-dimensional function, f(x,y), where x and y are spatial coordinates, and the amplitude of f.
Harry Williams, Cartography1 INTRODUCTION TO GIS A Geographic Information System is a combination of software and hardware that can store, manipulate,
Observational Astrophysics I
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.
Development of a Gamma-Ray Beam Profile Monitor for the High-Intensity Gamma-Ray Source Thomas Regier, Department of Physics and Engineering Physics University.
CONSTANTS Constants are also known as literals in C. Constants are quantities whose values do not change during program execution. There are two types.
Hinode / EIS Hinode Data Analysis Workshop, Paris, Nov 2007 Dr Peter Young, Rutherford Appleton Laboratory What does eis_prep do? Dr Peter Young Dr Peter.
Computational Biology, Part 22 Biological Imaging II Robert F. Murphy Copyright  1996, 1999, All rights reserved.
MOS Data Reduction Michael Balogh University of Durham.
NICMOS Calibration Challenges in the Ultra Deep Field Rodger Thompson Steward Observatory University of Arizona.
By: David Gelbendorf, Hila Ben-Moshe Supervisor : Alon Zvirin
14 January Observational Astronomy SPECTROSCOPIC data reduction Piskunov & Valenti 2002, A&A 385, 1095.
Intelligent Robotics Today: Vision & Time & Space Complexity.
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.
SPACE TELESCOPE SCIENCE INSTITUTE Operated for NASA by AURA COS TAGFLASH System Requirements Review CALCOS Requirements Philip E Hodge 14 December 2005.
CCD Image Processing: Issues & Solutions. CCDs: noise sources dark current –signal from unexposed CCD read noise –uncertainty in counting electrons in.
Observational procedures and data reduction Lecture 4: Data reduction process XVII Canary Islands Winter School of Astrophysics: ‘3D Spectroscopy’ Tenerife,
1 Chapter No. 17 Radiation Detection and Measurements, Glenn T. Knoll, Third edition (2000), John Willey. Measurement of Timing Properties.
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.
Estimating Rainfall in Arizona - A Brief Overview of the WSR-88D Precipitation Processing Subsystem Jonathan J. Gourley National Severe Storms Laboratory.
BIL 104E Introduction to Scientific and Engineering Computing Lecture 4.
Chapter 9: Value-Returning Functions
NHSC/PACS Web Tutorials
NAC flat fielding and intensity calibration
CCD Image Processing …okay, I’ve got a bunch of .fits files, now what?
New static DQ masks for NICMOS
On-Orbit Performance and Calibration of the HMI Instrument J
ENEE 631 Project Video Codec and Shot Segmentation
Morgan Kaufmann Publishers Memory Hierarchy: Cache Basics
Image and Video Processing
Presentation transcript:

1 Notes about eis_prep Alessandro Gardini University of Oslo Oslo, July 9th, 2009

2 What is eis_prep? Eis_prep is the standard tool to convert raw level-0 data of Hinode/EIS into calibrated level-1 data. It is written in IDL and is part of the Solarsoft package. Eis_prep is the standard tool to convert raw level-0 data of Hinode/EIS into calibrated level-1 data. It is written in IDL and is part of the Solarsoft package.

3 Level-0 data. Level-0 data consist of EIS CCD intensities arranged in arrays of 3D windows, called datacubes. Datacubes coordinates are the wavelenght , the CCD’s spatial Y coordinate, and the time. Intensities are expressed in data numbers (DN). Level-0 data consist of EIS CCD intensities arranged in arrays of 3D windows, called datacubes. Datacubes coordinates are the wavelenght , the CCD’s spatial Y coordinate, and the time. Intensities are expressed in data numbers (DN).

4 Level-1 data. Level-1 data consist of datacubes containing the calibrated intensities and datacubes containing the corresponding errors. Both intensities and errors are given (by user’s choice) in: erg/cm2/s/sr/Å (physical units), or DN (data numbers), or photon counts. Bad pixels are marked as “missing” by setting their error value to Level-1 data consist of datacubes containing the calibrated intensities and datacubes containing the corresponding errors. Both intensities and errors are given (by user’s choice) in: erg/cm2/s/sr/Å (physical units), or DN (data numbers), or photon counts. Bad pixels are marked as “missing” by setting their error value to -100.

5 Calling eis_prep on a level-0 file. IDL> eis_prep, filename,/save where filename is the name of the file: eis_l0_YYYYMMDD_HHMMSS.fits The /save keyword tells eis_prep to create eis_l1_YYYYMMDD_HHMMSS.fits eis_er_YYYYMMDD_HHMMSS.fits IDL> eis_prep, filename,/save where filename is the name of the file: eis_l0_YYYYMMDD_HHMMSS.fits The /save keyword tells eis_prep to create eis_l1_YYYYMMDD_HHMMSS.fits eis_er_YYYYMMDD_HHMMSS.fits

6 Calling eis_prep on an eis_data object. IDL> data=obj_new(‘eis_data’, filename) IDL> eis_prep, data Calibrated intensities remain stored in the computer memory in the same input object, while errors are stored in an eis_cal object pointed by it. Level-1 data can be then saved in a file through the eis_data “save” method. IDL> data=obj_new(‘eis_data’, filename) IDL> eis_prep, data Calibrated intensities remain stored in the computer memory in the same input object, while errors are stored in an eis_cal object pointed by it. Level-1 data can be then saved in a file through the eis_data “save” method.

7 What does eis_prep do? 1.Flagging saturated data. 2.Subtracting dark current (/retain). 3.Cosmic ray removal (/nocr). 4.Flagging hot and warm pixels (/nohp, /nowp). 5.Flagging pixels affected by dust (/nodp). 6.Radiometric calibration (/noabs,/photons). This sequence of steps is performed rigidly. To change the steps’ order, execute eis_prep with the proper keywords on the same eis_data object twice or more. 1.Flagging saturated data. 2.Subtracting dark current (/retain). 3.Cosmic ray removal (/nocr). 4.Flagging hot and warm pixels (/nohp, /nowp). 5.Flagging pixels affected by dust (/nodp). 6.Radiometric calibration (/noabs,/photons). This sequence of steps is performed rigidly. To change the steps’ order, execute eis_prep with the proper keywords on the same eis_data object twice or more.

8 Step 1: Flagging saturated data. As EIS CCDs have a 14 bit dynamic range, saturation occours at 16,383 DN. All these pixels are marked as missing. As EIS CCDs have a 14 bit dynamic range, saturation occours at 16,383 DN. All these pixels are marked as missing.

9 Step 2: Dark current subtraction. Dark current is usually modeled as a polynomial, and coefficients are stored in specific calibration files. A particular file can be selected by the dc_file keyword, or the default file can be selected by /default. Otherwise, a window pops up asking to select one. If no file is available the following procedures apply. Dark current is usually modeled as a polynomial, and coefficients are stored in specific calibration files. A particular file can be selected by the dc_file keyword, or the default file can be selected by /default. Otherwise, a window pops up asking to select one. If no file is available the following procedures apply.

10 Step 2: Dark current subtraction (2). In the raw data, intensities are found to sit on a background of about 500 DN (from bias and DC). For each 3D data window, 2% of the detector pixels are isolated that have the lowest DN values. Their median value is assumed as the background level and subtracted from the DN value of each pixel. In the raw data, intensities are found to sit on a background of about 500 DN (from bias and DC). For each 3D data window, 2% of the detector pixels are isolated that have the lowest DN values. Their median value is assumed as the background level and subtracted from the DN value of each pixel.

11 Step 2: Dark current subtraction (3). Alternatively, for full CCD spectra, regions are identified where no lines are present. Their median value is assumed as the background level and subtracted from the DN value of each pixel. Some pixels end up with negative values: they are set to 0 and marked as missing, unless the /retain keyword is set. In this case, they maintain their own negative value, and the corresponding error is set to the DC error estimate. Alternatively, for full CCD spectra, regions are identified where no lines are present. Their median value is assumed as the background level and subtracted from the DN value of each pixel. Some pixels end up with negative values: they are set to 0 and marked as missing, unless the /retain keyword is set. In this case, they maintain their own negative value, and the corresponding error is set to the DC error estimate.

12 Step 3: Cosmic rays removal. It is performed by eis_despike which wraps new_spike, originally written for SOHO/CDS. The nearest-neighbor removal option is switched off. Removed pixels are marked as missing and their values replaced by the mean value of the valid pixels in the 5x5 square (in and Y) surrounding them. It is performed by eis_despike which wraps new_spike, originally written for SOHO/CDS. The nearest-neighbor removal option is switched off. Removed pixels are marked as missing and their values replaced by the mean value of the valid pixels in the 5x5 square (in and Y) surrounding them.

13 Step 4: Flagging hot and warm pixels. Hot and warm pixels have anomalously high DN values: either above and below 25,000 electrons/pixel/s at room temperature. Separate maps of hot and warm pixel are generated every 2-4 weeks by the EIS team, following inspection of 100s dark exposures. The maps closest in time to observations are used by eis_prep to mark hot and warm pixels as missing. Their values are filled recursively by median values of valid neighbors (now, along Y only). Hot and warm pixels have anomalously high DN values: either above and below 25,000 electrons/pixel/s at room temperature. Separate maps of hot and warm pixel are generated every 2-4 weeks by the EIS team, following inspection of 100s dark exposures. The maps closest in time to observations are used by eis_prep to mark hot and warm pixels as missing. Their values are filled recursively by median values of valid neighbors (now, along Y only).

14 Step 5: Flagging dusty pixels. Several small pieces of dust are found to completely block the CCD signal at their location. They are fixed in position an occupy less than 0.1% of the CCDs, but affect some strong lines. Dusty pixels are marked as missing but not refilled. Several small pieces of dust are found to completely block the CCD signal at their location. They are fixed in position an occupy less than 0.1% of the CCDs, but affect some strong lines. Dusty pixels are marked as missing but not refilled.

15 Step 6: Radiometric calibration. Finally, DN values are converted to intensities in physical units: erg/cm2/s/sr/Å. Errors are computed assuming photon statistics together with an error estimate for the DC: 2.24 to 2.37 DN. The /noabs keyword allows to retain DN data. The /photon keyword allows to get photon counts. Finally, DN values are converted to intensities in physical units: erg/cm2/s/sr/Å. Errors are computed assuming photon statistics together with an error estimate for the DC: 2.24 to 2.37 DN. The /noabs keyword allows to retain DN data. The /photon keyword allows to get photon counts.

16 Additional keywords. The /refill keyword allows eis_prep to refill all the pixels marked as missing according to the prescriptions recommended in the Warm Pixel Study, to better preserve scientific information. The /quiet keyword sets eis_prep to run without popping up information widgets. The /refill keyword allows eis_prep to refill all the pixels marked as missing according to the prescriptions recommended in the Warm Pixel Study, to better preserve scientific information. The /quiet keyword sets eis_prep to run without popping up information widgets.

17 Additional information. Additional information can be found in the header of the eis_prep routine EISWiki Additional information can be found in the header of the eis_prep routine EISWiki