Data Inspection: The Good, the Bad, and the Ugly€¦ · Data Inspection - Amps Amplitude drops at...

20
1 Data Inspection: The Good, the Bad, and the Ugly

Transcript of Data Inspection: The Good, the Bad, and the Ugly€¦ · Data Inspection - Amps Amplitude drops at...

Page 1: Data Inspection: The Good, the Bad, and the Ugly€¦ · Data Inspection - Amps Amplitude drops at beginning of scans reflect antennas not on source, flag with mode=quack In general,

1

Data Inspection: The Good, the Bad, and the Ugly

Page 2: Data Inspection: The Good, the Bad, and the Ugly€¦ · Data Inspection - Amps Amplitude drops at beginning of scans reflect antennas not on source, flag with mode=quack In general,

2

Getting the Data

cd /lustre/aoc/users/yourusername/cp -r /lustre/aoc/ftp/e2earchive/stage/QM0129/* .importevla(asdm='12B-211.sb12168671.eb13834174.56240.03889960648',vis='L1157.ms', applyflags=True)

Page 3: Data Inspection: The Good, the Bad, and the Ugly€¦ · Data Inspection - Amps Amplitude drops at beginning of scans reflect antennas not on source, flag with mode=quack In general,

3

Data Inspection - Phases

plotms(vis='CB230.ms',xaxis='time',yaxis='phase',field='J2009+7229',correlation='RR',spw='5',iteraxis='baseline',avgchannel='64')

Page 4: Data Inspection: The Good, the Bad, and the Ugly€¦ · Data Inspection - Amps Amplitude drops at beginning of scans reflect antennas not on source, flag with mode=quack In general,

4

Data Inspection - Phases

plotms(vis='CB230.ms',xaxis='time',yaxis='phase',field='J2009+7229',correlation='RR',spw='5',iteraxis='baseline',avgchannel='64')

Page 5: Data Inspection: The Good, the Bad, and the Ugly€¦ · Data Inspection - Amps Amplitude drops at beginning of scans reflect antennas not on source, flag with mode=quack In general,

5

Data Inspection - Phases

● Calibrator data are ok, but source should be flagged between phase jumps

Page 6: Data Inspection: The Good, the Bad, and the Ugly€¦ · Data Inspection - Amps Amplitude drops at beginning of scans reflect antennas not on source, flag with mode=quack In general,

6

Data Inspection - Phases

● Sometimes phase jump is present in the same scans for a particular antenna, EA11 in this case

Page 7: Data Inspection: The Good, the Bad, and the Ugly€¦ · Data Inspection - Amps Amplitude drops at beginning of scans reflect antennas not on source, flag with mode=quack In general,

7

Data Inspection - Phases

● Phase jump for first two scans on EA11 again, but another one in the middle of track

Page 8: Data Inspection: The Good, the Bad, and the Ugly€¦ · Data Inspection - Amps Amplitude drops at beginning of scans reflect antennas not on source, flag with mode=quack In general,

8

Data Inspection - Amps

plotms(vis='CB230.ms',xaxis='time',yaxis='amp',field='J2009+7229',correlation='RR',spw='5',iteraxis='baseline',avgchannel='64')

Page 9: Data Inspection: The Good, the Bad, and the Ugly€¦ · Data Inspection - Amps Amplitude drops at beginning of scans reflect antennas not on source, flag with mode=quack In general,

9

Data Inspection - Amps

● Amplitude drops at beginning of scans reflect antennas not on source, flag with mode=quack● In general, look for amplitudes that are consistently low compared to overall trend

Page 10: Data Inspection: The Good, the Bad, and the Ugly€¦ · Data Inspection - Amps Amplitude drops at beginning of scans reflect antennas not on source, flag with mode=quack In general,

10

Data Inspection - Deformatter

plotms(vis='CB230.ms',xaxis='frequency',yaxis='amp',field='J2009+7229',correlation='RR',spw='0~15',iteraxis='baseline',avgtime='120')

plotms(vis='CB230.ms',xaxis='frequency',yaxis='amp',field='J2009+7229',correlation='LL',spw='0~15',iteraxis='baseline',avgtime='120')

GOOD

Page 11: Data Inspection: The Good, the Bad, and the Ugly€¦ · Data Inspection - Amps Amplitude drops at beginning of scans reflect antennas not on source, flag with mode=quack In general,

11

Data Inspection - Deformatter

plotms(vis='CB230.ms',xaxis='frequency',yaxis='amp',field='J2009+7229',correlation='RR',spw='0~15',iteraxis='baseline',avgtime='120')

plotms(vis='CB230.ms',xaxis='frequency',yaxis='amp',field='J2009+7229',correlation='LL',spw='0~15',iteraxis='baseline',avgtime='120')

BAD

Page 12: Data Inspection: The Good, the Bad, and the Ugly€¦ · Data Inspection - Amps Amplitude drops at beginning of scans reflect antennas not on source, flag with mode=quack In general,

12

Calibration Inspection – Gain Amps

plotcal('L1157.ms.gaincal',yaxis='amp',xaxis='time',iteration='baseline',field='J2006+6424',subplot=321,plotrange=[-1,-1,0,2])● Gain amplitudes should be ~1, values significantly different indicate possible bad data

Page 13: Data Inspection: The Good, the Bad, and the Ugly€¦ · Data Inspection - Amps Amplitude drops at beginning of scans reflect antennas not on source, flag with mode=quack In general,

13

Calibration Inspection – Gain Amps

plotcal('L1157.ms.gaincal',yaxis='amp',xaxis='time',iteration='baseline',field='J2006+6424',subplot=321,plotrange=[-1,-1,0,2])

Page 14: Data Inspection: The Good, the Bad, and the Ugly€¦ · Data Inspection - Amps Amplitude drops at beginning of scans reflect antennas not on source, flag with mode=quack In general,

14

Calibration Inspection – Gain Amps

plotcal('L1157.ms.gaincal',yaxis='amp',xaxis='time',iteration='baseline',field='J2006+6424',subplot=321,plotrange=[-1,-1,0,2])

Page 15: Data Inspection: The Good, the Bad, and the Ugly€¦ · Data Inspection - Amps Amplitude drops at beginning of scans reflect antennas not on source, flag with mode=quack In general,

15

Calibration Inspection – Gain Phases

plotcal('L1157.ms.gaincal',yaxis='phase',xaxis='time',iteration='antenna',field='J2006+6424',subplot=111)● Complex because point for each spw and polarization, should be able to connect dots

Page 16: Data Inspection: The Good, the Bad, and the Ugly€¦ · Data Inspection - Amps Amplitude drops at beginning of scans reflect antennas not on source, flag with mode=quack In general,

16

Post Calibration Inspection

plotms(vis='L1157.ms',xaxis='time',yaxis='phase',field='J2006+6424',correlation='RR',spw='5',iteraxis='baseline',avgchannel='64',ydatacolumn='corrected')● Phase should be distributed around zero, otherwise there was a problem

Page 17: Data Inspection: The Good, the Bad, and the Ugly€¦ · Data Inspection - Amps Amplitude drops at beginning of scans reflect antennas not on source, flag with mode=quack In general,

17

Post Calibration Inspection

plotms(vis='L1157.ms',xaxis='time',yaxis='phase',field='J2006+6424',correlation='RR',spw='5',iteraxis='baseline',avgchannel='64',ydatacolumn='corrected')● Amplitude should be distributed around the flux density derived, otherwise there was a problem

Page 18: Data Inspection: The Good, the Bad, and the Ugly€¦ · Data Inspection - Amps Amplitude drops at beginning of scans reflect antennas not on source, flag with mode=quack In general,

18

Post Calibration Inspection

plotms(vis='L1157.ms',xaxis='uvwave',yaxis='amp',field='J2006+6424',correlation='RR',spw='5',iteraxis='none',avgchannel='64',ydatacolumn='corrected')● Calibrator should have constant amplitude vs. uv distance, deviations due to problems/poor coherence, or resolved calibrator

Page 19: Data Inspection: The Good, the Bad, and the Ugly€¦ · Data Inspection - Amps Amplitude drops at beginning of scans reflect antennas not on source, flag with mode=quack In general,

19

Post Calibration Inspection

plotms(vis='L1157.ms',xaxis='time',yaxis='amp',field='L1157',correlation='RR',spw='5',iteraxis='none',avgchannel='64',ydatacolumn='corrected')● Look for points that are significantly outside the mean distribution

Page 20: Data Inspection: The Good, the Bad, and the Ugly€¦ · Data Inspection - Amps Amplitude drops at beginning of scans reflect antennas not on source, flag with mode=quack In general,

20

C-Band RFI

● Some persistent, some intermittent● Pipeline doesn’t catch persistent RFI

● Must flag affected channels out manually