Observing Scripts Basic Reduction

Preview:

DESCRIPTION

Observing Scripts Basic Reduction. Scott Schnee (NRAO) 25 – April - 2014. b 1. =/ b. phase. The General Idea: Amplitudes and Phases. The visibility is a complex quantity: - amplitude tells “how much” of a certain frequency component - phase tells “where” this component is located. - PowerPoint PPT Presentation

Citation preview

Atacama Large Millimeter/submillimeter ArrayExpanded Very Large Array

Robert C. Byrd Green Bank TelescopeVery Long Baseline Array

Observing ScriptsBasic Reduction

Scott Schnee (NRAO)25 – April - 2014

The General Idea:Amplitudes and Phases

ALMA Data Workshop – Dec 1st, 2011 2

b1

=/b

phase

The visibility is a complex quantity:- amplitude tells “how much” of a certain frequency component- phase tells “where” this component is located

The General Idea:Amplitudes and Phases

ALMA Data Workshop – Dec 1st, 2011 3

• Each pair of antennas will generate a visibility (amplitude and phase)– Every integration: time interval– Every channel: frequency interval

• Goal of calibration is to correct these amplitudes and phases for atmospheric and instrumental effects

• Phase corrections are additive• Amplitude corrections are multiplicative• Measurements are baseline-based, but

corrections are antenna-based (usually)

The General Idea:Corrupted Data

ALMA Data Workshop – Dec 1st, 2011 4

• Variations in the amount of precipitable water vapor (PWV) cause phase fluctuations and result in

– Low coherence (loss of sensitivity)– Radio “seeing”, typically 1² at 1 mm– Anomalous pointing offsets– Anomalous delay offsets

Patches of air with different water vapor content (and hence index of refraction) affect the incoming wave front differently.

The General Idea:Corrupted Data

ALMA Data Workshop – Dec 1st, 2011 5

• The atmosphere can absorb/emit significantly at (sub)millimeter wavelengths, creating phase and amplitude variations that need to be removed from measurement sets

• The antennas and other parts of the array also introduce noise into data sets

The General Idea:Calibration

ALMA Data Workshop – Dec 1st, 2011 6

• Basic calibration involves observing “calibrators” of known brightness and morphology

• Quasars (bright point sources)• Solar system objects (well-characterized, so

easily modeled)• Determine corrections that make the observations

fit the model• Derive the changes to amplitude and phase

(complex gain) vs frequency and time • Apply the corrections from the calibration data to

the science target data• Interpolating the derived calibration solutions

What Goes into ALMA Observations?

ALMA Data Workshop – Dec 1st, 2011 7

Time Source Intent09:29:29.5 - 09:30:26.3 J1107-4449 CALIBRATE_POINTING09:32:26.9 - 09:32:43.3 J1107-4449 CALIBRATE_ATMOSPHERE09:32:51.1 - 09:38:07.5 J1107-4449 CALIBRATE_BANDPASS09:38:48.2 - 09:39:45.6 J1058-8003 CALIBRATE_POINTING09:41:09.9 - 09:41:26.1 Mars CALIBRATE_ATMOSPHERE09:41:34.1 - 09:44:11.9 Mars CALIBRATE_AMPLI09:44:55.7 - 09:45:11.5 J1058-8003 CALIBRATE_ATMOSPHERE09:45:13.0 - 09:45:43.8 J1058-8003 CALIBRATE_PHASE09:47:24.3 - 09:54:16.6 Science Targets09:54:25.9 - 09:54:56.2 J1058-8003 CALIBRATE_PHASERepeat for ~1 hour Quasar – Science loop

How to choose calibrators

ALMA Data Workshop – Dec 1st, 2011 8

• Bandpass calibrator• Corrects amplitude & phase vs. frequency• Choose brightest quasar in the sky• (Sometimes) assume that corrections are constant

in time• Amplitude calibrator

• Sets absolute flux of all other sources in observation• Choose something bright, compact, and very well

known• Phase calibrator

• Corrects amplitude and phase vs. time• Choose quasar that is:

• Bright enough to get reasonable signal to noise in (a few) minutes

• As close as possible to science target

Other Calibration

ALMA Data Workshop – Dec 1st, 2011 9

• Focus observations• Done automatically by ALMA observatory• Data not included in observations delivered to PI

• Baseline observations• Done after antennas are moved• Determine the x,y,z position of each antenna in

the array• Pointing observations

• Done at beginning of observations and after each large (10s of degrees) sky slew

• For CARMA, pointing repeated every 2 – 4 hours• WVR observation

• Removes short timescale phase fluctuations caused by water vapor in the atmosphere

ALMA WVR Correction

10

Data

WVR

Residual

Two different baselines Jan 4, 2010

There are 4 “channels” flanking the peak of the 183 GHz water line• Matching data from opposite sides are averaged• Data taken every second, and are written to the ASDM

(science data file)• The four channels allow flexibility for avoiding saturation• Next challenges are to perfect models for relating the WVR

data to the correction for the data to reduce residual phase noise prior to performing the traditional calibration steps.

ALMA WVR Correction

11

12

First Look at Your Data• In CASA: listobs(vis=‘my_data.ms’)

ALMA Data Workshop – Dec 1st, 2011

Bandpass Phase vs. Frequency (Before)

13

Bandpass Phase vs. Frequency (Model)

14

Bandpass Phase vs. Frequency (Solutions)

15

Bandpass Phase vs. Frequency (After)

16

Phasecal Phase vs. Time (Before)

17

Phasecal Phase vs. Time (Model)

18

Phasecal Phase vs. Time (Solutions)

19

Phasecal Phase vs. Time (After)

20

Ampcal Amplitude vs. uv-distance (Before)

21

22

Ampcal Amplitude vs. uv-distance (Model)

23

Ampcal Amplitude vs. uv-distance (After)

Phasecal Amplitude vs. Time (Before)

24

Phasecal Amplitude vs. Time (Model)

25

Phasecal Amplitude vs. Time (Solutions)

26

Phasecal Amplitude vs. Time (Solutions)

27

Phasecal Amplitude vs. Time (After)

28

29

Task Names

• setjy – Set the model for your calibrator• gaincal – Amplitude and phase vs. time solutions• bandpass – Amplitude and phase vs. frequency

solutions• fluxscale – Overall amplitude scaling• applycal – Apply solutions from gaincal, bandpass,

& fluxscale• plotcal – Plot the amplitude & phase solutions• plotms – Plot the UV data (raw, model, corrected)

Recommended