Flagging: When Good Data Go Bad Scott Schnee & Amy Kimball Nov 9, 2011 Interferometry Discussion Group.

Slides:



Advertisements
Similar presentations
Corruption of Visibilities Editing Calibrators Mark Wieringa - CSIRO.
Advertisements

CSIRO; Swinburne Calibration & Editing Emil Lenc University of Sydney / CAASTRO CASS Radio Astronomy School 2014 Based on lectures given.
Dale E. Gary Professor, Physics, Center for Solar-Terrestrial Research New Jersey Institute of Technology 1 9/25/2012Prototype Review Meeting.
CABB Observations Preparations and Observing Mark Wieringa.
Introduction to CASA Shigehisa Takakuwa (ASIAA). Table of Contents 1.ALMA Observation & Calibration 2.CASA 3.How to use CASA.
Atacama Large Millimeter/submillimeter Array Expanded Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array Whoever North American.
Interferometric Spectral Line Imaging Martin Zwaan (Chapters of synthesis imaging book)
Prospects for High-Frequency Calibration with the SMA Dual-IF/Receiver System Todd R. Hunter, Jun-Hui Zhao (CfA) Sheng-Yuan Liu, Yu-Nung Su, Vivien Chen.
Atacama Large Millimeter/submillimeter Array Expanded Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array.
1 Synthesis Imaging Workshop Error recognition R. D. Ekers Narrabri, 14 May 2003.
Current mm interferometers Sébastien Muller Nordic ARC Onsala Space Observatory Sweden Turku Summer School – June 2009.
Prospects for High-Frequency Calibration with the SMA Dual-IF/Receiver System Todd R. Hunter, Jun-Hui Zhao (CfA) Sheng-Yuan Liu, Yu-Nung Su, Vivien Chen.
Calibration with CASA Masaaki Hiramatsu 平松正顕 (ASIAA/NTHU) ALMA User Workshop, Feb 8-10, 2010.
Atacama Large Millimeter/submillimeter Array Expanded Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array A Crash Course in CASA.
CSIRO; Swinburne Error Recognition Emil Lenc University of Sydney / CAASTRO CASS Radio Astronomy School 2012 Based on lectures given previously.
Frazer Owen NRAO UNM Astrophysics Seminar November 3, Galaxy Evolution and Mechanical Energy Abell 2256 with the EVLA: Data Reduction and Results.
C. ChandlerEVLA Advisory Committee Meeting September 6-7, Scientific Commissioning Plan Claire Chandler.
Basic concepts of radio interferometric (VLBI) observations Hiroshi Imai Department of Physics and Astronomy Graduate School of Science and Engineering.
Rick PerleyNSF Mid-Project Review May , EVLA Technical Performance Rick Perley With much essential help from Barry Clark, Ken Sowinski, Vivek.
Spectral Line VLBI Chris Phillips JIVE The Netherlands Chris Phillips JIVE The Netherlands.
Ninth Synthesis Imaging Summer School Socorro, June 15-22, 2004 VERY LONG BASELINE INTERFEROMETRY Craig Walker.
Twelfth Synthesis Imaging Workshop 2010 June 8-15 Advanced Calibration Techniques Mark Claussen NRAO/Socorro (based on earlier self-calibration lectures)
TelCal Phasing Engine description Draft Robert Lucas
ATCA synthesis workshop - May ATCA – Calibration at mm wavelengths Rick Forster University of California, Berkeley Hat Creek Radio Observatory Berkeley-Illinois-Maryland.
S.T. MyersEVLA Advisory Committee Meeting September 6-7, 2007 EVLA Algorithm Research & Development Steven T. Myers (NRAO) CASA Project Scientist with.
ALMA Pipeline Heuristics - Interferometry - Frederic Boone, LERMA Lindsey Davis, NRAO Heiko Hafok, MPIfR John Lightfoot, UKATC Dirk Muders, MPIfR Christine.
ALMA Pipeline Heuristics Frederic Boone - LERMA Lindsey Davis - NRAO John Lightfoot - UKATC Dirk Muders - MPIfR Christine Wilson - McMaster Friedrich Wyrowski.
Interferometry Discuss Group & Python Tutorial Adam Leroy & Scott Schnee (NRAO) February 28, 2014.
Correlator Growth Path EVLA Advisory Committee Meeting, March 19-20, 2009 Michael P. Rupen Project Scientist for WIDAR.
1 EVLA System Commissioning Results EVLA Advisory Committee Meeting, March 19-20, 2009 Rick Perley EVLA Project Scientist.
Interferometry Basics Andrea Isella Caltech Caltech CASA Radio Analysis Workshop Pasadena, January 19, 2011.
ALMA Integrated Computing Team Coordination & Planning Meeting #1 Santiago, April 2013 ACA plan Manabu Watanabe National Astronomical Observatory.
Dual frequency interferometry and phase transfer at the Submillimeter Array Todd R. Hunter, Jun-Hui Zhao (CfA) Sheng-Yuan Liu, Yu-Nung Su, Vivien Chen.
Introduction to CASA and Basic Data Reduction Overview Crystal Brogan ALMA CASA Subsystem Scientist (NRAO/NAASC) With lots of help from Steve Myers (Project.
Observing Strategies at Millimetre Wavelengths Tony Wong, ATNF Narrabri Synthesis Workshop 13 May 2003.
EVLA L-Band Spectral-Line Science Below 1200 MHz Emmanuel Momjian NRAO-Socorro.
Dale E. Gary Professor, Physics, Center for Solar-Terrestrial Research New Jersey Institute of Technology 1 9/25/2012Prototype Review Meeting.
Observing Modes from a Software viewpoint Robert Lucas and Philippe Salomé (SSR)
Sanjay BhatnagarEVLA Advisory Committee Meeting May 8-9, EVLA Algorithm Research & Development Progress & Plans Sanjay Bhatnagar CASA/EVLA.
Adaptive Filters for RFI Mitigation in Radioastronomy
Atacama Large Millimeter/submillimeter Array Expanded Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array Data Processing Progress.
Observing Strategies at cm wavelengths Making good decisions Jessica Chapman Synthesis Workshop May 2003.
Atacama Large Millimeter/submillimeter Array Expanded Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array The ALMA Observing.
1 Problems and Challenges in the mm/submm. 2 Effect of atmosphere on data: Tsys Mean Refraction Phase fluctuations Correction techniques Other facility.
Atacama Large Millimeter/submillimeter Array Expanded Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array Observing Scripts Basic.
Calibration You never know – it might be important.
Tenth Summer Synthesis Imaging Workshop University of New Mexico, June 13-20, 2006 Very Long Baseline Interferometry Ylva Pihlström (UNM) Craig Walker.
M.P. RupenCorrelator Face-to-Face Meeting 31 Oct 2006 Output Formats Part II Michael P. Rupen.
1 Synthesis Imaging Workshop Sept 24-28, 2001, ATCA Narrabri Calibration & Flagging Mark Wieringa  Theory of calibration  Practice - RFI & malfunctions.
Hands-On Calibration Ron Maddalena July 13, 2007.
Noise Diodes, Calibration, Baselines & Nonlinearities Ron Maddalena NRAO, Green Bank, WV Shelly Hynes Louisiana School for Math, Science and the Arts,
Atacama Large Millimeter/submillimeter Array Karl G. Jansky Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array ALMA Pipeline.
Atacama Large Millimeter/submillimeter Array Expanded Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array Emmanuel Momjian (NRAO)
Astrochemistry with the Upgraded Combined Array for Research in Millimeter-wave Astronomy D. N. Friedel Department of Astronomy University of Illinois.
Introduction to Multichannel Image Reconstruction, Image Analysis and Display (MIRIAD)
ALMA Integrated Computing Team Coordination & Planning Meeting #3 Socorro, June 2014 Observation with ACA correlator for Cycle3 Manabu Watanabe NAOJ.
 History of early Universe; the Epoch of Reionization  Goal: Map the evolution of structure of the early Universe using the Murchison Widefield Array.
Atacama Large Millimeter/submillimeter Array Expanded Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array Using CASA to Simulate.
Imaging issues Full beam, full bandwidth, full Stokes noise limited imaging Algorithmic Requirements: –PB corrections: Rotation, Freq. & Poln. dependence,
A potted outline of the EVN data
What’s New with EOVSA 2017 January What's New with EOVSA 01/10/2017.
Observing Strategies for the Compact Array
Planning Spectral Observations
SAGE Committee Meeting – December 19 & 20, 2008
Data Reduction and Analysis Techniques
Oxford Algorithms Workshop
Some Illustrative Use Cases
Prototype Correlator Testing
Basic theory Some choices Example Closing remarks
Jeff Mangum (NRAO) Robert Lucas (IRAM) Baltasar Vila Vilaro (NAOJ)
Presentation transcript:

Flagging: When Good Data Go Bad Scott Schnee & Amy Kimball Nov 9, 2011 Interferometry Discussion Group

Initial Flagging Shadowing Pointing Errors – Reported – Unreported Observing Log Other obvious problems

Initial Flagging Shadowing – Issue at low elevations – Issue for compact arrays In CASA for an ALMA data set: flagdata(vis=‘vis.ms’, mode=‘shadow’, diameter=12.0) In MIRIAD for a CARMA data set: csflag(vis=‘vis.ms’, carma=true)

Initial Flagging Pointing Errors – Reported (e.g. wind) – Unreported (e.g. pointing model) In MIRIAD for a CARMA data set: uvflag(vis=‘vis.ms’, select=“pointing(5,100000)”, flagval=flag) uvflag(vis=‘vis.ms’, select=“el(85,90)”, flagval=flag)

Initial Flagging Observing Log Many observatories will note problems that affect the system for part or all of a track. This could be weather-related or hardware- related, and often requires that some data be flagged.

Initial Flagging Other obvious problems Source Sys Temps (K) URANUS C C L1451MM L1451MM C C L1451MM L1451MM C

Initial Flagging Other obvious problems Tsys plots from NGC 3256 ALMA CASA Guide

What to look for? Plots of amplitude and phase vs time and channel Iterate over – Antenna – Spectral window – Source Make plots of bandpass and gain calibrators first – Easy to find bad data of a bright point source – Hard to find bad data of a faint extended source

What to look for? Smoothly varying phases and amplitudes can be calibrated Discontinuities can not be calibrated Features in the calibrators that may not be in the target data can cause problems

Amplitude vs Time From TW Hydra ALMA Guide Color: Polarization One spectral window (spw) plotted

Locating the Bad Data in plotms Draw a box around the suspected bad data.

Locating the Bad Data in plotms Click locate and CASA will send information about the data to the logger.

Locating the Bad Data in plotms Bad data can be flagged by pressing this button or using the flagdata tast at the CASA prompt.

Locating the Bad Data in plotms Flagger’s remorse can be corrected by unflagging good data

From TW Hydra CASA Guide Brown and Green show phase calibrators Orange shows TW Hya Amplitude vs Frequency Birdies

Amplitude vs Frequency Edge Channels

Data that should be flagged

Amplitude vs Frequency Spectral Lines in Bandpass Calibrator From TW Hydra Band 7 Guide Spectral line in Titan

Phase vs Time Phase Jumps First batch of data Second batch of data From Antennae ALMA CASA Guide

Possible Flagging Technique 1.Flag obviously bad data 2.Calibrate the data 3.Flag newly found bad data 4.Re-calibrate 5.Iterate (3, 4) or declare victory

After Calibration, Look Again From NGC 3256 ALMA CASA guide Amplitude vs Time, after calibration

Sage Advice From Rick Perley to a much younger Scott Schnee: “When in doubt, throw it out.”

Online flags (from Steve Myers and Josh Marvil) Tbuff (before August 2011) Quacking sometimes necessary

Known RFI at science.nrao.edu

A flagging/calibration recipe EXAMINE bandpass/flux calibrator(s) FLAG bandpass/flux calibrators APPLY bandpass/flux calibration to itself APPLY bandpass/flux cal to phase cal sources EXAMINE phase cal sources FLAG phase cal sources APPLY phase calibration to itself APPLY bandpass/flux/phase cal to targets EXAMINE targets FLAG targets Iterate Repeat as necessary

Flagversion control in CASA Beware of applycal!

Recognizing low-frequency RFI Average all times: RFI visible on the shortest baselines One EVLA user’s recommendation: flag these frequencies on all baselines at all times

Individual timeranges can be bad