Flagging Bad Data in Imaging

Similar documents
Time Domain Surveys: Proper Motion

Introduction to SDSS -instruments, survey strategy, etc

Introduction to the Sloan Survey

Astronomical image reduction using the Tractor

ROSAT Roentgen Satellite. Chandra X-ray Observatory

SDSS Data Management and Photometric Quality Assessment

Data Release 5. Sky coverage of imaging data in the DR5

The SDSS Data. Processing the Data

Shape Measurement: An introduction to KSB

Lecture 11: SDSS Sources at Other Wavelengths: From X rays to radio. Astr 598: Astronomy with SDSS

Areas on the Sphere and HEALPix

Okay now go back to your pyraf window

Exploring Data. Keck LRIS spectra. Handbook of CCD Astronomy by Steve Howell Chap. 4, parts of 6

Data Reduction - Optical / NIR Imaging. Chian-Chou Chen Ph319

Relative Photometry with data from the Peter van de Kamp Observatory D. Cohen and E. Jensen (v.1.0 October 19, 2014)

Photometry with Iris Photometry with Iris

Yuji Shirasaki. National Astronomical Observatory of Japan. 2010/10/13 Shanghai, China

White Dwarfs in the Galactic Plane

Astronomical Techniques

Studying galaxies with the Sloan Digital Sky Survey

Hostless Supernovae Anna Marlatt Advisor: Dr. David Cinabro

SkyMapper and the Southern Sky Survey

SkyMapper and the Southern Sky Survey

GOODS/VIMOS Spectroscopy: Data Release Version 2.0.1

ROTSE: THE SEARCH FOR SHORT PERIOD VARIABLE STARS

SAA and Moon Proximity Effects on NEOWISE Single-exposure Source Detection Reliability

Data Processing in DES

Quasars and AGN. What are quasars and how do they differ from galaxies? What powers AGN s. Jets and outflows from QSOs and AGNs

Doing astronomy with SDSS from your armchair

JINA Observations, Now and in the Near Future

A SPEctra Clustering Tool for the exploration of large spectroscopic surveys. Philipp Schalldach (HU Berlin & TLS Tautenburg, Germany)

Photometric Studies of GEO Debris

Photometry of Messier 34

Here Be Dragons: Characterization of ACS/WFC Scattered Light Anomalies

Lecture 8. October 25, 2017 Lab 5

You, too, can make useful and beautiful astronomical images at Mees: Lesson 3

Galaxy formation and evolution. Astro 850

Astronomy A BEGINNER S GUIDE TO THE UNIVERSE EIGHTH EDITION

Calibration of ACS Prism Slitless Spectroscopy Modes

7. Telescopes: Portals of Discovery Pearson Education Inc., publishing as Addison Wesley

PHYS/ASTR 2060 Popular Observational Astronomy(3) Syllabus

The PRIsm MUlti-object Survey (PRIMUS)

Make Your Own Radio Image Large Public Venue Edition

D4.2. First release of on-line science-oriented tutorials

The statistical applications on the galaxies and AGNs in SDSS

Pan-Planets. A Search for Transiting Planets Around Cool stars. J. Koppenhoefer, Th. Henning and the Pan-PlanetS Team

CHARACTERIZATION OF AGN VARIABILITY IN THE OPTICAL AND NIR REGIMES

New Northern Hemisphere Variables

Classifying Galaxy Morphology using Machine Learning

ASTRONOMY QUALIFYING EXAM Fall 2018

Cold gas at high redshifts. R. Srianand Inter-University Center for Astronomy & Astrophysics, Pune - India

Life Cycle of Stars. Photometry of star clusters with SalsaJ. Authors: Daniel Duggan & Sarah Roberts

AAG TPoint Mapper (Version 1.40)

Chapter 6: Transforming your data

OPTICAL PHOTOMETRY. Observational Astronomy (2011) 1

Open Cluster Photometry: Part II

Photometry of Supernovae with Makali i

Data Management Plan Extended Baryon Oscillation Spectroscopic Survey

Scattered Light from the Earth Limb Measured with the STIS CCD

1. Give short answers to the following questions. a. What limits the size of a corrected field of view in AO?

2-D Images in Astronomy

Observational Astronomy (PHYS-380) Fall 2008 Course Information

PROBLEM SET #1. Galactic Structure 37 pts total. due Tuesday, 2/19/2019

Star Cluster Photometry and the H-R Diagram

World Book Online: The trusted, student-friendly online reference tool. Name: Date:

Laboratory: Milky Way

Lab 1: Dark Matter in Galaxy Clusters Dynamical Masses, Strong Lensing

Galaxies 626. Lecture 5

Deep fields around bright stars ( Galaxies around Stars )

Astronomy IRAF Tutorial for Exercise II Quick-look Photometry with Imexamine

Photometric Techniques II Data analysis, errors, completeness

Overview: Astronomical Spectroscopy

Real Astronomy from Virtual Observatories

Lab 7: The H-R Diagram of an Open Cluster

Results from the Chandra Deep Field North

The CSC Interface to Sky in Google Earth

Current Status of Chinese Virtual Observatory

Project for Observational Astronomy 2018/2019: Colour-magnitude diagram of an open cluster

Aperture Photometry Tool

CONFIRMATION OF A SUPERNOVA IN THE GALAXY NGC6946

GDR1 photometry. CU5/DPCI team

AstroBITS: Open Cluster Project

Astronomical imagers. ASTR320 Monday February 18, 2019

Large Scale Structure of the Universe Lab

Australia s Optical Data Centre

Reduced data products in the ESO Phase 3 archive (Status: 02 August 2017)

arxiv:astro-ph/ v2 2 Mar 2000

CLEA/VIREO PHOTOMETRY OF THE PLEIADES

Study of Physical Characteristics of High Apogee Space Debris

Gaia Data Release 1: Datamodel description

AUTOMATIC MORPHOLOGICAL CLASSIFICATION OF GALAXIES. 1. Introduction

LAMOST Sky Survey --Site limitations and survey planning

Observational properties of brown dwarfs (end)

Corotation Resonance of Nonbarred Spiral Galaxies. A Research work By Arjun Karki with Prof. Marc Seigar (Research advisor)

ASTRONOMY 460: PROJECT INTRO - GALACTIC ROTATION CURVE

Feeding the Beast. Chris Impey (University of Arizona)

ESO Phase 3 Data Release Description. Data Collection ATLASGAL Release Number 1 Data Provider

Field Selection Criteria for the ACS Ultra Deep Field

LightWork Memo 18: Galactic Spectra Data Overview 1

Halo Tidal Star Streams with DECAM. Brian Yanny Fermilab. DECam Community Workshop NOAO Tucson Aug

Transcription:

Flagging Bad Data

Flagging Bad Data in Imaging Observations are never perfect, due to observing conditions e.g., bad seeing, moonlight, the solar wind, clouds, airplanes, cosmic rays, telescope malfunctions etc. Further, even good observations can be rendered unusable by astronomical sources e.g., very bright objects can create diffraction spikes, double or ghost images saturated CCD pixels etc.

Flagging Bad Data in Imaging As many as half of the observations in the SDSS may be spurious because of these effects To attempt to allow users to correct for bad imaging data, most surveys have sets of flags that can be employed to discard spurious objects The common way to express flags is as a bitmask Say you have a collection of 4 flags that represent, respectively, a saturated pixel (0), a diffraction spike (1), terrible seeing (2) and a ghost image (3). For an object that contains a saturated pixel and ghosting: flag = (1x2 0 )+(0x2 1 )+(0x2 2 )+(1x2 3 ) = 9

Flagging Bad Data in Imaging In the SDSS sweeps files the flags are recorded in the columns OBJC_FLAGS and OBJC_FLAGS2 A description of the meanings of the flags is in the file /usr/local/itt8/idlutils/data/sdss/sdssmaskbits.par under maskbits OBJECT1 and maskbits OBJECT2 Each flag is also described in the SDSS Schema (see the syllabus link and search for photoflags) note that in the online SDSS catalog archive server, the two sets of flags are combined into one The sweeps files contain flag information both for the imaging combined across all filters (as OBJC_FLAGS and OBJC_FLAGS2) and for the imaging in each individual (ugriz) band (as FLAGS and FLAGS2)

Flagging Bad Data in Imaging To use the flags in the sweeps files, the following sequence of commands will be common: flag = 2**9 w = np.where((objs[ OBJC_FLAGS ] & flag) == 0) objs = objs[w] Where, here, I ve used OBJC_FLAGS but for the second set of flags I d use OBJC_FLAGS2 Here, I ve assumed that we ve read the sweeps file into a structure called objs and that we want to recover the objects that do not have the flag set (== 0) The value of flag would be looked up for the flag of interest (e.g. CR for a cosmic ray would be flag = 2**12 for the column OBJC_FLAGS)

Other useful bitmasks Beyond flags, the SDSS (and other current surveys) use bitmasks to capture a range of information Because the SDSS scans the sky multiple times, objects can be detected multiple times (or can be flagged as spurious due to only appearing in one scan) The best observation of each real object is stored as SURVEY_PRIMARY (2**8) in the RESOLVE_STATUS column of the sweeps. To recover PRIMARY objects, e.g. flag = 2**8 w = np.where((objs[ RESOLVE_STATUS ] & flag)!= 0) obj = objs[w] Often, it takes a great deal of trial-and-error to determine which flags should be applied, but you will almost always want to restrict to SURVEY_PRIMARY

Python tasks 1.Find the closest galaxy in the SDSS sweep files to the point (α,δ) = (336.4388 o,-0.8343 o ) When looking up only a few objects (and not matching to GALEX forced photometry), it will be quicker to use the sdss_sweep_circle.py code in my week 10 directory rather than using sdss_sweep_data_index.py Galaxy-like images can be retrieved by passing (objtype= gal to sdss_sweep_circle.py) 2.Is this galaxy a set of blended images? Does it contain any pixels that are saturated? Is it blended or saturated in every band or just in the overall combined image? Find the image of this galaxy in the SDSS Navigator Tool. Does it look saturated? Is it even a galaxy?

Python tasks 3.Last lecture, you wrote code to separate spectroscopically confirmed quasars and stars using ugriz color cuts. Let s see how well that would work in a real imaging survey retrieve every point source ( objtype=star ) in the SDSS sweeps files imaging that lie within a 3 o radius of the coordinate (α,δ) = (180 o,30 o ). We ll call these objs For a circular area, you can use sdss_sweep_circle to retrieve the objs...but in this case, also send all=true so we can illustrate the use of SURVEY_PRIMARY restrict the objs in magnitude to i < 20 coordinate-match the objs to the qsos-ra180-dec30- rad3.fits file in my week 10 SVN directory, to find which i < 20 objects in SDSS imaging are quasars

Python tasks 4.Apply the color-cut code you wrote last lecture to the objs to determine which of them are likely to be quasars What is the area of the circle of radius 3 o within which we are considering the objs? Given that spectroscopy is the only way to know for sure if an object is a quasar or a star, how many spectra would we have to obtain per sq. deg. to determine the number of quasars per sq. deg. that your code recovers? Find flag cuts on the objs that retain > 90% of known quasars (the quasars from my qsos-ra180-dec30- rad3.fits file) but that reduce the number of spectra per sq. deg. we d have to obtain to confirm new quasars (SURVEY_PRIMARY would be a good place to start...)