A flat fielding primer Pete Kalajian NEAIC 2010.

Slides:



Advertisements
Similar presentations
Toolkit for testing CCD cameras
Advertisements

Welcome to the University of Michigan – Dearborn Observatory Founded 2007.
Video cameras and photometry Dave Herald. Background Occultations are usually step events When video introduced, it overcame issues of Personal Equation,
Advanced CCD Workshop Arne A. Henden
Beginners Guide To Levels, Curves and Layer Masks.
Wide Field Imaging Not really a novice RV lifestyle forced change in 2009 Light weight and portable equipment Ideal for wide field imaging with camera.
PhotoShop for Astronomy Session #1 – Levels & Curves AstroImager’s Special Interest Group April 2007.
By Kevin Saunders.  tml tml.
Kevin Kelly Mentor: Peter Revesz.  Importance of Project: Beam stability is crucial in CHESS, down to micron-level precision  The beam position is measured.
Optical Astronomy Imaging Chain: Telescopes & CCDs.
Spectroscopy of Saturn
Echelle spectra reduction with IRAF*
Image Forgery Detection by Gamma Correction Differences.
Observational Astrophysics II: May-June, Observational Astrophysics II (L2)
Observational Astrophysics II: May-June, Observational Astrophysics II (L2) Getting our NIRF What do want to do? 1.Image a selected.
CCD Image Processing: Issues & Solutions. Correction of Raw Image with Bias, Dark, Flat Images Flat Field Image Bias Image Output Image Dark Frame Raw.
Signal vs Noise: Image Calibration First… some terminology:  Light Frame: The individual pictures you take of your target.  Dark Frame: An image taken.
CCD testing Enver Alagoz 12 April CCD testing goals CCD testing is to learn how to – do dark noise characterization – do gain measurements – determine.
A Primer on Image Acquisition and Data Reduction Using TheSky6, CCDSoft V5 and Microsoft Excel Thomas C. Smith Dark Ridge Observatory (DRO)
Naoyuki Tamura (University of Durham) Expected Performance of FMOS ~ Estimation with Spectrum Simulator ~ Introduction of simulators  Examples of calculations.
NICMOS IntraPixel Sensitivity Chun Xu and Bahram Mobasher Space Telescope Science Institute Abstract We present here the new measurements of the NICMOS.
Photon Transfer Method 1. Using two identical flat field exposures it is possible to measure the read noise of a CCD with the Photon Transfer method. Two.
Topic 8: Calibrating your system Arne Henden Director, AAVSO
Beating Noise Observational Techniques ASTR 3010 Lecture 11 Textbook.
STATUS REPORT OF FPC SPICA Task Force Meeting March 29, 2010 MATSUMOTO, Toshio (SNU)
Dynamic Range And Granularity. Dynamic range is important. It is defined as the difference between light and dark areas of an image. All digital images.
CCD Detectors CCD=“charge coupled device” Readout method:
Sphere Standards and Standard Spheres Dr. Richard Young Optronic Laboratories, Inc.
NIRSpec Operations Concept Michael Regan(STScI), Jeff Valenti (STScI) Wolfram Freduling(ECF), Harald Kuntschner(ECF), Robert Fosbury (ECF)
Radiometric Correction and Image Enhancement Modifying digital numbers.
DECam Daily Flatfield Calibration DECam calibration workshop, TAMU April 20 th, 2009 Jean-Philippe Rheault, Texas A&M University.
AST3-1 photometry from Dome A Bin Ma, Peng Wei, Yi Hu, Zhaohui Shang NAOC AST3
1-D Flat Fields for COS G130M and G160M Tom Ake TIPS 17 June 2010.
MOS Data Reduction Michael Balogh University of Durham.
NICMOS Calibration Challenges in the Ultra Deep Field Rodger Thompson Steward Observatory University of Arizona.
Physics 114: Lecture 8 Measuring Noise in Real Data Dale E. Gary NJIT Physics Department.
14 January Observational Astronomy SPECTROSCOPIC data reduction Piskunov & Valenti 2002, A&A 385, 1095.
11-Jun-04 1 Joseph Hora & the IRAC instrument team Harvard-Smithsonian Center for Astrophysics The Infrared Array Camera (IRAC) on the Spitzer Space Telescope.
Basic Detector Measurements: Photon Transfer Curve, Read Noise, Dark Current, Intrapixel Capacitance, Nonlinearity, Reference Pixels MR – May 19, 2014.
CCD Image Processing: Issues & Solutions. CCDs: noise sources dark current –signal from unexposed CCD read noise –uncertainty in counting electrons in.
Photometry and Astrometry: Bright Point Sources May 16, 2006 Cullen Blake.
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.
Variable Star Photometry with a DSLR Camera Mark Blackford.
Binomial Distribution Possion Distribution Gaussian Distribution Lorentzian Distribution Error Analysis.
Astroschool: Image Calibration February 20 th,
A. Ealet Berkeley, december Spectrograph calibration Determination of specifications Calibration strategy Note in
Single Object Spectroscopy and Time Series Observations with NIRSpec
CCD Calibrations Eliminating noise and other sources of error.
Digital Light Sources First introduced in 2001.
Announcements After a short lecture we will adjourn to the Farm. Tonight is a Dark Sky make-up night. Class will meet Thursday night. If clear: meet at.
NIRSpec Time Series Observations
Eliminating noise and other sources of error
“ Who will I blame my mistakes on. ” Dr
Relative Spectral Response and Flat Fields with Internal Calibration Lamps Luisa M. Lara IAA-CSIC Granada (SPAIN)
NAC flat fielding and intensity calibration
NIRSpec pipeline concept Guido De Marchi, Tracy Beck, Torsten Böker
Charge Transfer Efficiency of Charge Coupled Device
CCD Image Processing …okay, I’ve got a bunch of .fits files, now what?
Objectives: To understand signal To understand noise
Intro to CCD Imaging Joe Roberts
Detective Quantum Efficiency Preliminary Design Review
Photometric Analysis of Asteroids
Announcements HR Diagram lab will be extended for one week. I’ll talk about it today. Homework: Chapter 9 # 1, 2 & 3 Next week is a Dark Sky Night. If.
Karen Meech Institute for Astronomy TOPS 2003
Image calibration Geoff Smith, September 2018.
Modern Observational/Instrumentation Techniques Astronomy 500
Modern Observational/Instrumentation Techniques Astronomy 500
Modern Observational/Instrumentation Techniques Astronomy 500
Deep Sky Imaging with SharpCap
Presentation transcript:

A flat fielding primer Pete Kalajian NEAIC 2010

My interests Cataclysmic Variables Exoplanet transits  Oph Arcturus Spectroscopy Mostly into scientific imaging Almost finished with Masters degree at SAO Partner Alnitak Astrosystems Physics Teacher at Watershed School

Part 1 What does a flat do?

What is a flat field frame? Camera/OTA exposed to a uniform illumination source What are flats

CCD review  Flats take care of the last three! Noise (quantum mechanics) Pixel-to-pixel variation (manufacturing) Vignetting (optics) Dust (environment) Flats take care of the last three!  Why flats?

Next 5 images courtesy Steve Mazlin Here we see some vignetting and a funny sicle like imperfection on the flat field image Next 5 images courtesy Steve Mazlin

Close up of the imperfection

No flat

After flat Magic!

Part 2 The math!

CCD calibration math Very simple equation! raw frame - dark frame Remove dark current noise raw frame - dark frame Final frame = Brightens weak pixels, dims strong pixels ( flat frame - dark frame) Normalized Very simple equation!

Normalization Done automatically in your image processing software! (Flat frame-dark frame) pixel values Assumes that flat light source is even! 100 110 Average value = 100 1 0.9 1.1 pixel value average value Normalized value = 90 100 Done automatically in your image processing software!

Applying the normalized flat to your image frame (Raw frame - dark frame) pixel values 300 302 275 305 331 300 Calibrated frame ÷ By normalized flat 1 0.9 1.1 298 305

Importance of dark subtraction Assume 10 ADU of dark noise in the flat frame Flat frame-dark frame 110 100 90 Average: 100 Raw flat frame Subtract dark Average: 110 110 120 Normalized values too low! 1 0.91 1.09 1 0.9 1.1 100 110 Overcorrected images!

Importance of staying in linear regime If non-linear, pixel values will read less than actual value Normalized flat pixel value too small Flatted image pixel value too large: Overcorrected images! linear ADU values Non-linear # of photons arriving at detector

Characterizing linearity Aim at 6-9th mag star near the zenith Expose series of images with increasing exposure length Measure flux inside aperture Divide flux by exposure time to get flux/sec Will be similar at each exposure length in the linear regime

Figure 3. Detector linearity test Figure 3. Detector linearity test. The normalized flux rate is linear to  1% up to maximum pixel values of around 23 kADU.

Noise considerations Make master bias/dark (s/n improves as the square root of the # of frames combined) Dark OR bias correct flats Million photon flats 106/avg ADU = # of frames = 40 frames! No matter what, flats add some noise to final calibrated image

Part 3 How to get good flats

Acquisition methods All sky flats Light box Twilight flats Dome flat Electroluminescent panel

What makes a good flat? Evenness of illumination ADU values at upper range of linear regime of CCD detector Longer than 2 seconds to eliminate shutter effect Many dark subtracted sub frames Repeatable filter wheel positioning

The rotation method for evaluating flats Expose / rotate 90˚/ expose Dark subtract and use second set as flats - “flatted flat” Look at histogram Analyze standard deviation ()

Basic statistics Poisson distribution of ADU values centered on a mean value Width of distribution measured by standard deviation,  99.7% of all values lie within 3 of the mean 3

Statistics II For a given light source, range of values is constant regardless of mean value! 10000 30000 100 100/30000 0.3% uniformity Histogram of flat (mean 30k ADU) 100/10000 1% uniformity 3 x better! 100 Histogram of flat (mean 10k ADU) Standard deviation is a measure of evenness of illumination!

How many ADU is enough? Maximum value of any pixel must be in the linear regime of the chip. Anti-blooming chips go non-linear somewhere mid-range Non-linear pixels in flat will result in incorrect normalization Funny artifacts in flatted images Good Statistics Non-linear pixels

All sky flats Sum lots of images dithered to get enough ADU’s for good stats. Can be important for photometry or back illuminated chips because spectral response matches raw images Star artifacts difficult to remove completely Tough with wide field images/big non-linear stretches

Light boxes Needs proper baffling and reflective illumination Careful attention to corner shadows Bulky and difficult to use robotically

Twilight flats Racing against the clock Neutral point in sky is not fixed Virtually guaranteed to have gradients in wide field images Possible star artifacts Can you get all filters covered in one twilight? Quality is not repeatable!

Twilight flat case study April 2 2010 Average transparency (clear sky clock) No visual signs of cirrus 12.5” RCOS with ST2000 (identical setup) Moon below horizon

Twilight flatted flat at Galaxy Quest Standard deviation = 171 ADU

Dome flats Painted section of dome illuminated by light source Difficult to eliminate gradients Requires careful set up and testing

Dome flatted flat at SSRO Standard deviation = 187 ADU Data courtesy Jacob Gerritsen, SSRO

Electroluminescent panels Proper design ensures excellent flatness Easy to diffuse Compact Not all panels are broad spectrum Variation in manufacturing Stability of power supply Alnitak Astrosystems!

Flat-Man XL case study

A dark subtracted sigma combined master flat

“Flatted flat” Standard deviation = 9.5 ADU!

Flat-Man XL Statistics For our test case: mean= 24271 ADU Range of values 2 x 3 = 57 ADU 57/24271 x 100% = 0.23% variation in brightness!

Flat quality comparison Flat illumination source Standard deviation Twilight flat 171 ADU Dome flat 187 ADU Flat-Man XL 9.5 ADU !!! Repeatable!

Spectrum of AA el panels

Ha Flats Courtesy Doug Baum (Flip-Flat owner) at Nightvision Astronomy

DOs DON’Ts Use even illumination Master dark/bias subtract individual flat frames Sigma combine lots of calibrated flat frames Check your flat quality with the rotation method Overexpose into non-linear regime Apply noise reduction or smoothing Stretch histogram

$100 off on XL’s today and tomorrow Flat -Man XL I hope I’ve convinced you of the quality and repeatability of electroluminescent panels. Ours are broad spectrum, fully adjustable, and very even! $100 off on XL’s today and tomorrow

Flip-Flat $50 off today and tomorrow

Flat-Man L 13” diameter EL panel Wall or manually mounted USB controlled For 8 - 12.5” telescopes Shipping by May 1 $50 off today and tomorrow