data analysis in the radio - welcome to scippscipp.ucsc.edu/~tesla/emma_radiodatalec.pdf ·...

36
Data Analysis in the Radio Emma Storm Astr 257: Modern Astronomical Techniques May 28th, 2013 Storm (Astr257) Radio Data Analysis 05/28/13 1 / 36

Upload: others

Post on 22-Mar-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Data Analysis in the Radio - Welcome to SCIPPscipp.ucsc.edu/~tesla/Emma_RadioDataLec.pdf · 2013-05-29 · frequency range: 1-50 GHz in 8 bands (L,S,C,X,Ku,K,Ka,Q) Image courtesy

Data Analysis in the Radio

Emma Storm

Astr 257: Modern Astronomical Techniques

May 28th, 2013

Storm (Astr257) Radio Data Analysis 05/28/13 1 / 36

Page 2: Data Analysis in the Radio - Welcome to SCIPPscipp.ucsc.edu/~tesla/Emma_RadioDataLec.pdf · 2013-05-29 · frequency range: 1-50 GHz in 8 bands (L,S,C,X,Ku,K,Ka,Q) Image courtesy

Radio Data Analysis

interferometers measure antenna gains (voltages)

antenna gains are related to sky brightness via fourier transforms

only have access to raw, uncalibrated data

need to manually calibrate

image processing depends on science goals

Storm (Astr257) Radio Data Analysis 05/28/13 2 / 36

Page 3: Data Analysis in the Radio - Welcome to SCIPPscipp.ucsc.edu/~tesla/Emma_RadioDataLec.pdf · 2013-05-29 · frequency range: 1-50 GHz in 8 bands (L,S,C,X,Ku,K,Ka,Q) Image courtesy

The VLA

VLA → EVLA → JVLA

27 25m-diametertelescopes (351baselines!)

4 configurations(A>B>C>D)

frequency range: 1-50GHz in 8 bands(L,S,C,X,Ku,K,Ka,Q)

Image courtesy of NRAO/AUI

Storm (Astr257) Radio Data Analysis 05/28/13 3 / 36

Page 4: Data Analysis in the Radio - Welcome to SCIPPscipp.ucsc.edu/~tesla/Emma_RadioDataLec.pdf · 2013-05-29 · frequency range: 1-50 GHz in 8 bands (L,S,C,X,Ku,K,Ka,Q) Image courtesy

Interferometry Basics

Interferometers measureVisibility Functions

◮ correlated antennagains for each baseline(antenna pair)

◮ reported as a complexnumber: phase andamplitude at a givenposition in (u,v) space:

◮ u = bxλ, v =

byλ

From ERA online course (see references).

Storm (Astr257) Radio Data Analysis 05/28/13 4 / 36

Page 5: Data Analysis in the Radio - Welcome to SCIPPscipp.ucsc.edu/~tesla/Emma_RadioDataLec.pdf · 2013-05-29 · frequency range: 1-50 GHz in 8 bands (L,S,C,X,Ku,K,Ka,Q) Image courtesy

Interferometry Basics

Astronomers wantBrightnessDistributions

◮ Iν(l,m), where◮ l = sinθx, m = sinθy

From ERA online course (see references).

Storm (Astr257) Radio Data Analysis 05/28/13 5 / 36

Page 6: Data Analysis in the Radio - Welcome to SCIPPscipp.ucsc.edu/~tesla/Emma_RadioDataLec.pdf · 2013-05-29 · frequency range: 1-50 GHz in 8 bands (L,S,C,X,Ku,K,Ka,Q) Image courtesy

Interferometry Basics

How to get from Visibilities to Brightness: Fourier Transform!

(u,v) plane ↔ (l,m) plane

V (u, v) =∫Iν(l,m)e2πi(ul+vm)dldm

Storm (Astr257) Radio Data Analysis 05/28/13 6 / 36

Page 7: Data Analysis in the Radio - Welcome to SCIPPscipp.ucsc.edu/~tesla/Emma_RadioDataLec.pdf · 2013-05-29 · frequency range: 1-50 GHz in 8 bands (L,S,C,X,Ku,K,Ka,Q) Image courtesy

VLA Basics

synthesized beam: θsb ∼λ

bmax

◮ 1.5 GHz (L), A config: 1.3”◮ 1.5 GHz (L), D config: 46”

primary beam: θpb ∼λD

◮ 1.5 GHz (L): 1700”

largest angular size: θLAS ∼ λbmin

◮ 1.5 GHz (L), A config: 36”◮ 1.5 GHz (L), D config: 970”

Sensitivity? Exposure Calculator

Storm (Astr257) Radio Data Analysis 05/28/13 7 / 36

Page 8: Data Analysis in the Radio - Welcome to SCIPPscipp.ucsc.edu/~tesla/Emma_RadioDataLec.pdf · 2013-05-29 · frequency range: 1-50 GHz in 8 bands (L,S,C,X,Ku,K,Ka,Q) Image courtesy

VLA Exposure Calculator

theoretical thermal noise:

σth = SEFD

ηc√

npolN(N−1)tint∆ν

◮ ηc: correlator efficiency (>0.92for VLA)

◮ npol: number of polarizations= 2

◮ N: number of antennas◮ tint: total time on source◮ ∆ν: bandwidth in Hz◮ SEFD: system equivalent flux

density = flux density of aradio source that doublessystem temp

◮ See OSS for VLA SEFDs science.nrao.edu/facilities/vla/caltools/exposure

Storm (Astr257) Radio Data Analysis 05/28/13 8 / 36

Page 9: Data Analysis in the Radio - Welcome to SCIPPscipp.ucsc.edu/~tesla/Emma_RadioDataLec.pdf · 2013-05-29 · frequency range: 1-50 GHz in 8 bands (L,S,C,X,Ku,K,Ka,Q) Image courtesy

Getting NRAO telescope data

for VLA, GBT, VLBA, ALMA

JVLA data sets are huge! 10s to100s of GB

Data Analysis Tools:◮ CASA: measurement sets◮ AIPS: fits files

NRAO Archive page:archive.nrao.edu/archive/advquery.jsp

Storm (Astr257) Radio Data Analysis 05/28/13 9 / 36

Page 10: Data Analysis in the Radio - Welcome to SCIPPscipp.ucsc.edu/~tesla/Emma_RadioDataLec.pdf · 2013-05-29 · frequency range: 1-50 GHz in 8 bands (L,S,C,X,Ku,K,Ka,Q) Image courtesy

CASA: Common Astronomy Software Applications

new(ish): for JVLA and ALMA

The Measurement Set: series of binary tables

C++ tools bundled under a python interface:◮ can run interactively via ipython interface◮ can run non-interactively via python scripts

see CASA tutorials and cookbooks via nrao website

Storm (Astr257) Radio Data Analysis 05/28/13 10 / 36

Page 11: Data Analysis in the Radio - Welcome to SCIPPscipp.ucsc.edu/~tesla/Emma_RadioDataLec.pdf · 2013-05-29 · frequency range: 1-50 GHz in 8 bands (L,S,C,X,Ku,K,Ka,Q) Image courtesy

Data Reduction

Look at your data!

Lots of manual flagging, calibration, hand tuning of images

General Steps:1 Initial flagging, smoothing2 A priori calibration3 Initial Calibration4 More flagging5 Calibration Round 26 More flagging and calibration, if needed7 Apply the Calibration8 Imaging: highly iterative9 Self Calibration?10 More imaging (and/or flagging and/or calibrating and/or

imaging...)

New: VLA pipeline (only for HF continuum observations)◮ science.nrao.edu/facilities/vla/data-processing/pipeline

Storm (Astr257) Radio Data Analysis 05/28/13 11 / 36

Page 12: Data Analysis in the Radio - Welcome to SCIPPscipp.ucsc.edu/~tesla/Emma_RadioDataLec.pdf · 2013-05-29 · frequency range: 1-50 GHz in 8 bands (L,S,C,X,Ku,K,Ka,Q) Image courtesy

Calibrators in Observations

Flux Calibrator◮ strong, steady source

with known flux

Bandpass, Phase, GainCalibrators

◮ nearby target, scansinterspersed with thoseof target

◮ LF: ∼ 10 or more minscans

◮ HF: ∼ 1 min scans List of observation scans.

Storm (Astr257) Radio Data Analysis 05/28/13 12 / 36

Page 13: Data Analysis in the Radio - Welcome to SCIPPscipp.ucsc.edu/~tesla/Emma_RadioDataLec.pdf · 2013-05-29 · frequency range: 1-50 GHz in 8 bands (L,S,C,X,Ku,K,Ka,Q) Image courtesy

Data Reduction: Visibility PlaneInitial Look and A Priori Calibration

Look to observing log forantenna issues to flagimmediately

Calibration of antenna positions,antenna gain vs elevation,weather (opacity) Antenna Positions.

Storm (Astr257) Radio Data Analysis 05/28/13 13 / 36

Page 14: Data Analysis in the Radio - Welcome to SCIPPscipp.ucsc.edu/~tesla/Emma_RadioDataLec.pdf · 2013-05-29 · frequency range: 1-50 GHz in 8 bands (L,S,C,X,Ku,K,Ka,Q) Image courtesy

Data Reduction: Visibility PlaneLow Frequency Issue: Radio Frequency Interference (RFI)

RFI from humanswipes out largefrequency bandsin LFobservations

dealt with bysmoothing data,autoflagging tools

Badly RFI affected data.

Storm (Astr257) Radio Data Analysis 05/28/13 14 / 36

Page 15: Data Analysis in the Radio - Welcome to SCIPPscipp.ucsc.edu/~tesla/Emma_RadioDataLec.pdf · 2013-05-29 · frequency range: 1-50 GHz in 8 bands (L,S,C,X,Ku,K,Ka,Q) Image courtesy

Data Reduction: Visibility PlaneHigh Frequency Issue: Rapid Phase Variations

atmosphericturbulence causeschanges in phaseover shorttimescales

dealt with byobserving phasecalibrator in shortintervals, carefulphase calibration

Phase variations in HF data. From IRC+10216 tutorial,casaguides.nrao.edu

Storm (Astr257) Radio Data Analysis 05/28/13 15 / 36

Page 16: Data Analysis in the Radio - Welcome to SCIPPscipp.ucsc.edu/~tesla/Emma_RadioDataLec.pdf · 2013-05-29 · frequency range: 1-50 GHz in 8 bands (L,S,C,X,Ku,K,Ka,Q) Image courtesy

Data Reduction: Visibility PlaneBandpass, Gain, Flux Calibration

bandpass shape:amp and phase vsfrequency perantenna

antenna gain:amp and phase vstime per antenna

flux: scale flux oftarget relative toflux calibrator

1300 1320 1340 1360 1380 1400Frequency (MHz)

0.0350.0400.0450.0500.0550.0600.065

Gai

n Am

plitu

de

B table: A2319Cspw0_B1.cal Antenna='ea01'

1300 1320 1340 1360 1380 1400Frequency (MHz)

0.040

0.045

0.050

0.055

0.060

Gai

n Am

plitu

de

B table: A2319Cspw0_B1.cal Antenna='ea02'

1300 1320 1340 1360 1380 1400Frequency (MHz)

0.040

0.045

0.050

0.055

0.060

0.065

Gai

n Am

plitu

de

B table: A2319Cspw0_B1.cal Antenna='ea03'

1300 1320 1340 1360 1380 1400Frequency (MHz)

0.035

0.040

0.045

0.050

0.055

0.060

Gai

n Am

plitu

de

B table: A2319Cspw0_B1.cal Antenna='ea04'

1300 1320 1340 1360 1380 1400Frequency (MHz)

0.040

0.045

0.050

0.055

0.060

0.065

Gai

n Am

plitu

de

B table: A2319Cspw0_B1.cal Antenna='ea05'

0.0 0.2 0.4 0.6 0.8 1.0Frequency (MHz)

0.00.20.40.60.81.0

Gai

n Am

plitu

de

B table: A2319Cspw0_B1.cal Antenna='ea06'

1300 1320 1340 1360 1380 1400Frequency (MHz)

0.025

0.030

0.035

0.040

Gai

n Am

plitu

de

B table: A2319Cspw0_B1.cal Antenna='ea07'

1300 1320 1340 1360 1380 1400Frequency (MHz)

0.040

0.045

0.050

0.055

0.060

Gai

n Am

plitu

de

B table: A2319Cspw0_B1.cal Antenna='ea08'

1300 1320 1340 1360 1380 1400Frequency (MHz)

0.040

0.045

0.050

0.055

0.060

0.065

0.070

Gai

n Am

plitu

de

B table: A2319Cspw0_B1.cal Antenna='ea09'

Bandpass shape for first 9 antennas.

Storm (Astr257) Radio Data Analysis 05/28/13 16 / 36

Page 17: Data Analysis in the Radio - Welcome to SCIPPscipp.ucsc.edu/~tesla/Emma_RadioDataLec.pdf · 2013-05-29 · frequency range: 1-50 GHz in 8 bands (L,S,C,X,Ku,K,Ka,Q) Image courtesy

Data Reduction: Image PlaneCLEAN Algorithm

FT of visibility = source map convolved with psf (“dirty map”)

Clean task takes care of this, assumes source map is collection ofpoint sources

CLEAN Algorithm:1 deconvolves source map from psf map (leftover: “residual map”)2 finds highest peak in residuals3 subtracts out some percentage of peak4 adds the location and subtracted amplitude to a “model map” +

clean component list5 iterate over hundreds to thousands components...6 add back clean components to residuals, convolve with weighted

“clean” beam

Extended emission? – options to deal with this (e.g. boxes,multiscale cleaning...)

Storm (Astr257) Radio Data Analysis 05/28/13 17 / 36

Page 18: Data Analysis in the Radio - Welcome to SCIPPscipp.ucsc.edu/~tesla/Emma_RadioDataLec.pdf · 2013-05-29 · frequency range: 1-50 GHz in 8 bands (L,S,C,X,Ku,K,Ka,Q) Image courtesy

Data Reduction: Image PlaneDirty Image

No clean components.

Storm (Astr257) Radio Data Analysis 05/28/13 18 / 36

Page 19: Data Analysis in the Radio - Welcome to SCIPPscipp.ucsc.edu/~tesla/Emma_RadioDataLec.pdf · 2013-05-29 · frequency range: 1-50 GHz in 8 bands (L,S,C,X,Ku,K,Ka,Q) Image courtesy

Data Reduction: Image PlaneInteractive Cleaning

Residuals after 1000 clean components.

Storm (Astr257) Radio Data Analysis 05/28/13 19 / 36

Page 20: Data Analysis in the Radio - Welcome to SCIPPscipp.ucsc.edu/~tesla/Emma_RadioDataLec.pdf · 2013-05-29 · frequency range: 1-50 GHz in 8 bands (L,S,C,X,Ku,K,Ka,Q) Image courtesy

Data Reduction: Image PlaneMasking

Residuals with masks on point sources.

Storm (Astr257) Radio Data Analysis 05/28/13 20 / 36

Page 21: Data Analysis in the Radio - Welcome to SCIPPscipp.ucsc.edu/~tesla/Emma_RadioDataLec.pdf · 2013-05-29 · frequency range: 1-50 GHz in 8 bands (L,S,C,X,Ku,K,Ka,Q) Image courtesy

Data Reduction: Image PlaneWhen to Stop

set cleaningthreshold to somemultiple oftheoretical rmsnoise

interactively cleanuntil the imagelooks good! (e.g.,point sourcesappear to becleaned down tobackground noiselevel)

Storm (Astr257) Radio Data Analysis 05/28/13 21 / 36

Page 22: Data Analysis in the Radio - Welcome to SCIPPscipp.ucsc.edu/~tesla/Emma_RadioDataLec.pdf · 2013-05-29 · frequency range: 1-50 GHz in 8 bands (L,S,C,X,Ku,K,Ka,Q) Image courtesy

Data Reduction: Image PlaneImage Quality

flux scale (doyour fluxes matchthose from e.g.,NVSS?)

rms noise nearsources and faraway

dynamic range:maximum fluxover rms noise

◮ JVLA datacapable ofdynamic rangein thethousands

Storm (Astr257) Radio Data Analysis 05/28/13 22 / 36

Page 23: Data Analysis in the Radio - Welcome to SCIPPscipp.ucsc.edu/~tesla/Emma_RadioDataLec.pdf · 2013-05-29 · frequency range: 1-50 GHz in 8 bands (L,S,C,X,Ku,K,Ka,Q) Image courtesy

Data Reduction: Image Plane → Visiblity PlaneSelf Calibration

re-calibrate antenna gain using target itself, rather than gaincalibrator

if self-cal increases dynamic range, good!

typically requires many iterations

Storm (Astr257) Radio Data Analysis 05/28/13 23 / 36

Page 24: Data Analysis in the Radio - Welcome to SCIPPscipp.ucsc.edu/~tesla/Emma_RadioDataLec.pdf · 2013-05-29 · frequency range: 1-50 GHz in 8 bands (L,S,C,X,Ku,K,Ka,Q) Image courtesy

Data Reduction: Image PlaneImage Quality: Patterns in the Residuals

residuals shouldbe random!

think in fourierspace

PSF artifacts around point sources, due to imperfect UV coverage.Not much you can do.

Storm (Astr257) Radio Data Analysis 05/28/13 24 / 36

Page 25: Data Analysis in the Radio - Welcome to SCIPPscipp.ucsc.edu/~tesla/Emma_RadioDataLec.pdf · 2013-05-29 · frequency range: 1-50 GHz in 8 bands (L,S,C,X,Ku,K,Ka,Q) Image courtesy

Data Reduction: Image PlaneImage Quality: PSF Shape

PSF for previous image. Lots of structure!

Storm (Astr257) Radio Data Analysis 05/28/13 25 / 36

Page 26: Data Analysis in the Radio - Welcome to SCIPPscipp.ucsc.edu/~tesla/Emma_RadioDataLec.pdf · 2013-05-29 · frequency range: 1-50 GHz in 8 bands (L,S,C,X,Ku,K,Ka,Q) Image courtesy

Data Reduction: Image Plane → Visibility PlaneImage Quality: Patterns in the Residuals

some artifactsrequire going backto visiblity plane

more flagging,etc.

Stripes, due to bad baseline or antenna, or RFI. Can remove this bygoing back to visiblity data.

Storm (Astr257) Radio Data Analysis 05/28/13 26 / 36

Page 27: Data Analysis in the Radio - Welcome to SCIPPscipp.ucsc.edu/~tesla/Emma_RadioDataLec.pdf · 2013-05-29 · frequency range: 1-50 GHz in 8 bands (L,S,C,X,Ku,K,Ka,Q) Image courtesy

Data Reduction: Image PlaneFancier Options: Mosaicing

Multiple pointings put together into one image.

Storm (Astr257) Radio Data Analysis 05/28/13 27 / 36

Page 28: Data Analysis in the Radio - Welcome to SCIPPscipp.ucsc.edu/~tesla/Emma_RadioDataLec.pdf · 2013-05-29 · frequency range: 1-50 GHz in 8 bands (L,S,C,X,Ku,K,Ka,Q) Image courtesy

Data Reduction: Image PlanePrimary Beam Correction

Primary beam corrected. Flux weighted based on primary beam shape.

Storm (Astr257) Radio Data Analysis 05/28/13 28 / 36

Page 29: Data Analysis in the Radio - Welcome to SCIPPscipp.ucsc.edu/~tesla/Emma_RadioDataLec.pdf · 2013-05-29 · frequency range: 1-50 GHz in 8 bands (L,S,C,X,Ku,K,Ka,Q) Image courtesy

Data Reduction: Image PlaneMore Options

Wide Field Clean◮ baselines are not really in 2D plane◮ Wide Field clean takes 3D nature of baselines into account◮ can reduce artifacts far from center of primary beam

Multifrequency Clean◮ simultaneously images and fits for instrinsic source spectrum◮ useful for wide band observations (e.g. >few hundred MHz

bandwidth)

Multiscale Clean◮ for known extended emission◮ no set method, need to play around◮ good starting point: set scales to point source, 2-3x synthesized

beam, 2-3x expected extended emission sizes

Storm (Astr257) Radio Data Analysis 05/28/13 29 / 36

Page 30: Data Analysis in the Radio - Welcome to SCIPPscipp.ucsc.edu/~tesla/Emma_RadioDataLec.pdf · 2013-05-29 · frequency range: 1-50 GHz in 8 bands (L,S,C,X,Ku,K,Ka,Q) Image courtesy

Data Reduction: Image PlaneFinalizing the Image

lots of image manipulation tools: add, subtract, scale, makecontours, etc

export to fits format for manipulation in e.g., ds9

Storm (Astr257) Radio Data Analysis 05/28/13 30 / 36

Page 31: Data Analysis in the Radio - Welcome to SCIPPscipp.ucsc.edu/~tesla/Emma_RadioDataLec.pdf · 2013-05-29 · frequency range: 1-50 GHz in 8 bands (L,S,C,X,Ku,K,Ka,Q) Image courtesy

Data Reduction: Image PlaneCase Study: Imaging the halo of A2319

Clean point sources.

Storm (Astr257) Radio Data Analysis 05/28/13 31 / 36

Page 32: Data Analysis in the Radio - Welcome to SCIPPscipp.ucsc.edu/~tesla/Emma_RadioDataLec.pdf · 2013-05-29 · frequency range: 1-50 GHz in 8 bands (L,S,C,X,Ku,K,Ka,Q) Image courtesy

Data Reduction: Image → Visibility PlaneCase Study: Imaging the halo of A2319

Subtract point source model from data, to be left with residualsand the halo. This is done in the visibility plane.

Convolve the image down to 2 arcmin, so emission from halo issmoothed out.

Storm (Astr257) Radio Data Analysis 05/28/13 32 / 36

Page 33: Data Analysis in the Radio - Welcome to SCIPPscipp.ucsc.edu/~tesla/Emma_RadioDataLec.pdf · 2013-05-29 · frequency range: 1-50 GHz in 8 bands (L,S,C,X,Ku,K,Ka,Q) Image courtesy

Data Reduction: Image PlaneCase Study: Imaging the halo of A2319

Clean the smoothed residual+halo image. Repeat for other pointing.

Storm (Astr257) Radio Data Analysis 05/28/13 33 / 36

Page 34: Data Analysis in the Radio - Welcome to SCIPPscipp.ucsc.edu/~tesla/Emma_RadioDataLec.pdf · 2013-05-29 · frequency range: 1-50 GHz in 8 bands (L,S,C,X,Ku,K,Ka,Q) Image courtesy

Data Reduction: Image PlaneCase Study: Imaging the halo of A2319

Mosaic the two pointings, including primary beam correction. Note: this was done in AIPS.

Storm (Astr257) Radio Data Analysis 05/28/13 34 / 36

Page 35: Data Analysis in the Radio - Welcome to SCIPPscipp.ucsc.edu/~tesla/Emma_RadioDataLec.pdf · 2013-05-29 · frequency range: 1-50 GHz in 8 bands (L,S,C,X,Ku,K,Ka,Q) Image courtesy

Summary

Measureable of interferometers: visiblity functions (=correlatedantenna gains)

Fourier Transform visibility to get image brightness

manual calibration of visibility data necessary

science goals determine image generation

Storm (Astr257) Radio Data Analysis 05/28/13 35 / 36

Page 36: Data Analysis in the Radio - Welcome to SCIPPscipp.ucsc.edu/~tesla/Emma_RadioDataLec.pdf · 2013-05-29 · frequency range: 1-50 GHz in 8 bands (L,S,C,X,Ku,K,Ka,Q) Image courtesy

References

Essential Radio Astronomy:www.cv.nrao.edu/course/astr534/ERA.shtml

NRAO website: nrao.edu

NRAO synthesis imaging + single dish summer schools:science.nrao.edu/opportunities/courses

VLA Observational Status Summaries:science.nrao.edu/facilities/vla/oss

CASA downloads, user manuals, etc: casa.nrao.edu/

CASA tutorials: casaguides.nrao.edu

AIPS downloads, manuals, etc: www.aips.nrao.edu/index.shtml

Storm (Astr257) Radio Data Analysis 05/28/13 36 / 36