Flat Fields. S. Eikenberry Obs Tech

Similar documents
What an Observational Astronomer needs to know!

CCD reductions techniques

Observing*Checklist:*A3ernoon*

Properties of a Detector

a simple optical imager

VERY LARGE TELESCOPE

Photometry of the variable stars using CCD detectors

WFC3/IR Bad Pixel Table: Update Using Cycle 17 Data

Astronomy 341 Fall 2012 Observational Astronomy Haverford College. CCD Terminology

CCD Image Calibration Using AIP4WIN

WFC3 TV3 Testing: IR Channel Nonlinearity Correction

New Bad Pixel Mask Reference Files for the Post-NCS Era

M67 Cluster Photometry

INTRODUCTION TO CCD IMAGING

WFC3/IR Channel Behavior: Dark Current, Bad Pixels, and Count Non-Linearity

Last class. This class. CCDs Fancy CCDs. Camera specs scmos

Calibrating VISTA Data

Charge Coupled Devices. C. A. Griffith, Class Notes, PTYS 521, 2016 Not for distribution.

Charged-Coupled Devices

Astro-photography. Daguerreotype: on a copper plate

The IRAF Mosaic Data Reduction Package

New Bad Pixel Mask Reference Files for the Post-NCS Era

TIRCAM2 (TIFR Near Infrared Imaging Camera - 3.6m Devasthal Optical Telescope (DOT)

Astronomical Detectors. Lecture 3 Astronomy & Astrophysics Fall 2011

WFC3 Thermal Vacuum Testing: UVIS Broadband Flat Fields

ARRAY CONTROLLER REQUIREMENTS

Photometry. La Palma trip 2014 Lecture 2 Prof. S.C. Trager

Chasing Faint Objects

RHO CCD. imaging and observa3on notes AST aug 2011

NIRSpec Technical Note NTN / ESA-JWST-TN Authors: G. Giardino, S. Birkmann, M. Sirianni Date of Issue: 9 Nov Version: 1.

Struggling with the SNR

Abstract. Preface. Acknowledgments

Summary Report for FIRE Spectrometer HgCdTe Detector Array

Setting GAIN and OFFSET on cold CMOS camera for deep sky astrophotography

COS: NUV and FUV Detector Flat Field Status

This release contains deep Y-band images of the UDS field and the extracted source catalogue.

The Observation Summary of South Galactic Cap U band Sky Survey (SGCUSS)

FLAT FIELD DETERMINATIONS USING AN ISOLATED POINT SOURCE

Determination of the STIS CCD Gain

CCD User s Guide SBIG ST7E CCD camera and Macintosh ibook control computer with Meade flip mirror assembly mounted on LX200

Based on lectures by Bernhard Brandl

Observational Astronomy

PixInsight Workflow. Revision 1.2 March 2017

6. Very low level processing (radiometric calibration)

Observation Data. Optical Images

STScI/IDTL Near-IR Detector Simulations

The DSI for Autostar Suite

CCD Characteristics Lab

Charged Coupled Device (CCD) S.Vidhya

Cross-Talk in the ACS WFC Detectors. II: Using GAIN=2 to Minimize the Effect

The 0.84 m Telescope OAN/SPM - BC, Mexico

WFC3 Post-Flash Calibration

Astrophotography. Playing with your digital SLR camera in the dark

Combining Images for SNR improvement. Richard Crisp 04 February 2014

Lecture 5. Telescopes (part II) and Detectors

OmegaCAM calibrations for KiDS

Shooting Sky Flats in the Daytime. Richard Crisp 12/24/2009

WFC3 UVIS Ground P-flats

WIYN High-Resolution Infrared Camera (WHIRC)

WFC3/IR Cycle 19 Bad Pixel Table Update

A Test of non-standard Gain Settings for the NICMOS Detectors

IMAGE PROCESSING: POINT PROCESSES

Camera Image Processing Pipeline

Interpixel Capacitance in the IR Channel: Measurements Made On Orbit

Photometry. Variable Star Photometry

CHARGE-COUPLED DEVICE (CCD)

Stellar Photometry: I. Measuring. Ast 401/Phy 580 Fall 2014

Technical Notes. Integrating Sphere Measurement Part II: Calibration. Introduction. Calibration

Camera Test Protocol. Introduction TABLE OF CONTENTS. Camera Test Protocol Technical Note Technical Note

Cerro Tololo Inter-American Observatory. CHIRON manual. A. Tokovinin Version 2. May 25, 2011 (manual.pdf)

Control of Noise and Background in Scientific CMOS Technology

The NICMOS CALNICA and CALNICB Pipelines

HOW TO TAKE GREAT IMAGES John Smith February 23, 2005

Guide to Processing Spectra Using the BASS Software

MAOP-702. CCD 47 Characterization

WFC3 SMOV Program 11433: IR Internal Flat Field Observations

Flux Calibration Monitoring: WFC3/IR G102 and G141 Grisms

Hewett 1 Imaged by Amateur

The Noise about Noise

MY ASTROPHOTOGRAPHY WORKFLOW Scott J. Davis June 21, 2012

Improved Correction for Hot Pixels in Digital Imagers

Making a Panoramic Digital Image of the Entire Northern Sky

NIRSPEC Data Reduction Pipeline Data Products Specification

Pixel Response Effects on CCD Camera Gain Calibration

WFC Zeropoints at -80C

WFC3 SMOV Program 11427: UVIS Channel Shutter Shading

MIT Center for Space Research. Chandra X-Ray Center. 1 Hot Pixels and Cosmic-Ray Afterglows. MEMORANDUM June 14, Description. 1.

Scientific Image Processing System Photometry tool

Errata to First Printing 1 2nd Edition of of The Handbook of Astronomical Image Processing

Image Processing Tutorial Basic Concepts

Aperture Photometry with CCD Images using IRAF. Kevin Krisciunas

X-RAY COMPUTED TOMOGRAPHY

FLATS: SBC INTERNAL LAMP P-FLAT

Padova and Asiago Observatories

Dynamic Range. Can I look at bright and faint things at the same time?

Digital Radiography : Flat Panel

Sink Pixels and CTE in the WFC3/UVIS Detector

First Summary of Neptune Beam Measurements

Optical Photometry. The crash course Tomas Dahlen

WEBCAMS UNDER THE SPOTLIGHT

Transcription:

Flat Fields S. Eikenberry Obs Tech 23 Sep 2014

Review median combination Basic algorithm: Read in im1, im2, im3,, im9 Loop over 1 array dimension, index i Loop over 2 nd dimension, index j imf(i,j)=median([im1(i,j), ([i im9(i,j)]) Write imf w/modified header

Now what? Median-combined Sky frames contain all effects except star flux, cosmic rays Subtracting it removes all effects except those that multiply the star flux (and CRs) How do we get rid of the multiplicative factors? 2 parts: relative and absolute calibration Relative calibration Flat fields

What s a flatfield? A flatfield is an image which contains the normalized photon response of the instrument. Huh? Each pixel in a flatfield image has the value of the relative response of that pixel to a uniform source of light includes relative g, QE, etc. Divide by the flatfield flatten the image

How do you make a flatfield? First, get a uniform source of light One possibility sky (sans stars) Another possibility dome lamp and flatfield screen We ll discuss the screen first

Dome flats - I Take multiple exposures of dome screen illuminated by lamp (why multiple?) Take multiple exposures with cold shutter closed (why cold shutter?), same integration time Median combine each lamp and dark frames

Lamp and Dark frames Dark frame Lamp frame

Difference Image Dif = Lamp Dark What info does dif contain? Why is it a flatfield?

Dome Flats - II We now need to normalize the image This simplifies comparison to other images downstream doesn t shift the overall level of the image How? Divide by its median Flat = Dif / median(dif)

Flatfield normalization It s not always so simple Here, only part of the array is illuminated (called vignetting ) Need to select the illuminate portion imf(x1:x2,y1:y2) and calculate its median

Dome flats another approach Another way lamp_ on lamp_ off (versus lamp_on dark_frame) Why? Stray light may contaminate lamp_on but not dark_frame contaminates flatfield Stray light contributes to lamp_off as well subtracts out, and thus removed from flatfield But in K-band, no lamp used (why?)

Sky Flats - Motivation Dome flats are OK, and can do any time but dome screen is not perfectly smooth and not uniformly illuminated not a perfectly flat light source Twilight sky uniform illumination overall; sky is flat But stars there, and need the right light level (daytime saturates, nighttime dim)

Sky Flats How? Point telescope at fixed position in the sky (no tracking) Take exposures as twilight occurs (evening high-to-low flux; morning reverse) Multiple exposures at different light levels subtraction removes all but sky flux (and star flux) Divide each difference image by its own median several flats (and stars) Median-combine these proto-flats removes stars (ala dithering)

Flatfields How much is enough? Flatfielding error contributes to flux measurement error need to control it Equation on board for Poisson difference If we want flat <1% per pixel, need S/N>100 Therefore

Cosmic Rays, Dead Pixels, Hot Pixels (Oh, My!)

Physical Processes: Cosmic Rays: They're everywhere! (illustrate) Ionize semiconductor sites fills wells, saturates amplifier Typically single-pixel or lines; time-variable Hot pixels: High (often variable) ID Due to structural defects Dead pixels: 0% QE Broken electronic connection (often In bump bond)

Cosmic Rays Often (not always) multiple pixels Usually saturated pixels Charge may "bleed" into neighboring pixels (charge transfer in multiplexer)

Pick out CRs and isolated ltdbps by comparison to their neighbors (more later) But, BPs often come in clusters What to do? Bad Pixels

Flagging Dead Pixels Flat field image has pixel gain*qe product Dead pixel has low QE shows up as low value in flat field Flag all pixels with flat<0.1 gets dead pixels j = where(flat le 0.1) flat2=fltarr(1024,1024) flat2(j)=1.0

Flat Versus Dead Pixel Map

Ui Using the Dead dpixel lmap If pixel is isolated, we want to interpolate over it replace with median of its neighbors in a given frame (sky, target, etc.) If pixel is not isolated, hard to extract info flag it as "bad" in future analysis Thus, we generate a "Skip pixel map" Loop over flat2(i,j) If n_elements(where(flat2(i elements(where(flat2(i-1:i+1,j-1:j+1) eq 1.)) gt 1 then skip pixel

Isolated Bad Pixels Including cosmic rays (time-variable badness) Identify by comparison to neighbors Loop over im(i,j) Calculate median, std. dev. of pixel+neighbors & look for points >+5 or <-5 from median (why median instead of average?) If found, replace im(i,j) with median of its ou d, ep ace (,j) w t ed a o ts neighbors

Not-quite-isolated isolated Bad Pixels Example: CR line We want to use these pixels via interpolation Bur, simple scheme gives large std. dev. misses the "lesser evil" [illustrate] Solution: do multiple passes for bad pixels (say 3?) First pass gets big spike; second gets smaller spikes; third does final cleanup

Bad Pixel Removal (Review of Processing Steps)