Introduction to Multichannel Image Reconstruction,

Slides:



Advertisements
Similar presentations
A Crash Course in Radio Astronomy and Interferometry: 4
Advertisements

Chapter 3 Loaders and Linkers
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)
Image Analysis Jim Lovell ATNF Synthesis Imaging Workshop May 2003.
Image Analysis Jim Lovell ATNF Synthesis Imaging Workshop September 2001.
BLAH BLAH BLAH nvvbnvbnvbncvncn. Abstract A complete sample of point source emissions in the spiral type galaxies NGC300 and M31 have been catalogued.
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.
BLAH BLAH BLAH nvvbnvbnvbncvncn. Abstract A complete sample of point source emissions in the spiral type galaxies NGC300 and M31 have been catalogued.
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.
Basic concepts of radio interferometric (VLBI) observations Hiroshi Imai Department of Physics and Astronomy Graduate School of Science and Engineering.
HIFI Tutorial 3: Getting some basic science out A.P.Marston ESAC 27 June 2013.
TelCal Phasing Engine description Draft Robert Lucas
IVC : a simulation and model-fitting tool for optical-IR interferometry Abstract I present a new software tool, called “Interferometry Visibility Computations”
Data Handling and Reduction Jamie Stevens May
PACS NHSC SPIRE Point Source Spectroscopy Webinar 21 March 2012 David Shupe, Bernhard Schulz, Kevin Xu on behalf of the SPIRE ICC Extracting Photometry.
Atacama Large Millimeter/submillimeter Array Expanded Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array Using CASA to Simulate.
Software Project Planning Defining the Project Writing the Software Specification Planning the Development Stages Testing the Software.
The ALMA TelCal subsystem Dominique Broguière, Institut de RadioAstronomie Millimétrique (IRAM) TelCal Phasing meeting – Grenoble -10/12/2012.
EOVSA Data and Database System Gordon Hurford and Jim McTiernan EOVSA Prototype Readiness Review 24-Sept-2012.
THE LWA SOFTWARE LIBRARY Jayce Dowell – LWA Users’ Meeting – July 27, 2012.
F. Levrier (LERMA - ENS) J. Pety (LERMA - IRAM Grenoble) P. Salomé (LERMA - Observatoire de Paris) STAR FORMAT meeting, Heidelberg, 4-5 may 2010 Making.
CABB Data Reduction Review Summary of recommendations Dave McConnell June 2011.
EOVSA Data and Database System J. McTiernan EOVSA CoDR 25-April-2011.
Virtual Instrumentation With LabVIEW. Front Panel Controls = Inputs Indicators = Outputs Block Diagram Accompanying “program” for front panel Components.
Observing Strategies at cm wavelengths Making good decisions Jessica Chapman Synthesis Workshop May 2003.
ADMIT: ALMA Data Mining Toolkit  Developed by University of Maryland, University of Illinois, and NRAO (PI: L. Mundy)  Goal: First-view science data.
Pipeline Basics Jared Crossley NRAO NRAO. What is a data pipeline?  One or more programs that perform a task with reduced user interaction.  May be.
Atacama Large Millimeter/submillimeter Array Expanded Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array Observing Scripts Basic.
1 Synthesis Imaging Workshop Sept 24-28, 2001, ATCA Narrabri Calibration & Flagging Mark Wieringa  Theory of calibration  Practice - RFI & malfunctions.
Atmospheric phase correction at the Plateau de Bure interferometer IRAM interferometry school 2006 Aris Karastergiou.
Project Planning Defining the project Software specification Development stages Software testing.
HIFI Tutorial 1: Running the HIFI Pipelines and Adaptations A.P.Marston ESAC 27 June 2013.
WIDE-FIELD IMAGING IN CLASSIC AIPS Eric W. Greisen National Radio Astronomy Observatory Socorro, NM, USA.
EOVSA Data and Database System J. McTiernan EOVSA Technical DesignMeeting 7-Nov-2011.
1 Combining Single Dish and Interferometer Data Naomi McClure-Griffiths ATNF ATNF Astronomical Synthesis Imaging Workshop September 24-28, 2001 or Seeing.
NHSC HIFI DP workshop Caltech, 8-9 March page 1 Pat Morris, NHSC DP Webinar, 9 March 2012 HIFI Spectral Maps in HIPE.
Introduction to Multichannel Image Reconstruction, Image Analysis and Display (MIRIAD)
Atacama Large Millimeter/submillimeter Array Expanded Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array Using CASA to Simulate.
1 NHSC PACS NHSC/PACS Web Tutorials Running PACS photometer pipelines PACS-403 (for Hipe 13.0) Level 1 to Level 2.5 processing: The Unimap pipeline Prepared.
The CORNISH data reduction pipeline. Architecture - Overview AIPS Tasks Obit Tasks ObitTalk / Python Control Scripts MySQL Database Book-keeping Raw Data.
XINFO HORIZONT Scheduler migration support Software for Datacenters
Digital Control CSE 421.
What’s New with EOVSA 2017 January What's New with EOVSA 01/10/2017.
MS Access Forms, Queries, Reports Matt Martin
Lecture 5 Good modeling Chengcheng Fei 2017 Fall
Working in the Forms Developer Environment
Fringe-Fitting: Correcting for delays and rates
NRAO VLA Archive Survey
Getting Started with R.
AAVS1 Calibration Aperture Array Design & Construction Consortium
MECH 373 Instrumentation and Measurements
SECTION 8 OVER-RUNNING PULLEY.
Brian Leonard ブライアン レオナルド
Observing Strategies for the Compact Array
3.01 Apply Controls Associated With Visual Studio Form
Data Reduction and Analysis Techniques
Data Reduction and Analysis Techniques
N. Capp, E. Krome, I. Obeid and J. Picone
Observational Astronomy
Observational Astronomy
Chapter 1 Introduction(1.1)
Basic theory Some choices Example Closing remarks
doc.: n Jeff Gilbert Atheros Communications
doc.: n Jeff Gilbert Atheros Communications
National Radio Astronomy Observatory
SPL – PS1 Introduction to C++.
Presentation transcript:

Introduction to Multichannel Image Reconstruction, Image Analysis and Display (MIRIAD)

MIRIAD is a collection of programs or tasks that use a common interface The tasks can be called either directly from the command line or from inside the command shell Both interfaces have their advantages MIRIAD can be used for both u-v data calibration/analysis and image manipulation/analysis General categories of MIRIAD tasks: General Utility Data Transfer Visual Display Calibration uv Analysis Map Making Deconvolution Plotting Map Manipulation Map Combination Map Analysis Profile Analysis Model Fitting Tools Other

What is a MIRIAD file? 2 types of MIRIAD files: u-v data & images MIRIAD files are directories u-v data “streaming” data data contains visdata actual u-v data and preamble vartable listing of all metadata and data type header history listing of what has been done to the data flags binary flag for every channel in every integration additional files calibration tables (e.g. bandpass, gains, leakage) observing script image data data contains image raw image data header listing of descriptors of the data history mostable listing of mosaic parameters mask flags for individual pixels preamble for each record contains: time stamp (MJD) u,v,(w) baseline lengths in ns baseline number

Documentation Documentation for MIRIAD tasks is generated during compilation You can use doc and mirhelp to access the documentation from command line doc -t $MIRDOC/prog/*.doc lists all tasks by category doc <task> displays the documentation from the given task Additionally there is the MIRIAD manual program: mir.man

Using MIRIAD MIRIAD shell commands: type miriad in command line to start shell use inp <task> or tget <task> to open the given task can type help to get documentation on current task type <keyword>=<input> to set the variables for the given task typing inp at any point will refresh the listing type go to execute the task MIRIAD from the command line just type the task name along with the inputs (e.g. uvlist vis=c0541.mir options=brief)

Most MIRIAD tasks share common keywords vis input visibility file(s) line selection criteria based on channels line=channel|velocity|wide|felocity,<nchan>,<start>,<width>,<step> line=chan,32,1,2,2 will select 32 output channels, averaging every 2 together select selection criteria based on other parameters some criteria are: time, ra, dec, antenna, window, source, auto they can be combined, separated by commas, a – in front denotes exclusion select=window(2),source(ORIONKL),-auto will select all data from window 2, that is from ORIONKL and is not autocorrelated options extra processing options passed to the task in input image file(s) region selection criteria for images criteria are: images, quarter, box, polygon, mask modifiers include: abspixel, relpixel, arcsec region=arcsec,box(-10,-10,10,10) will select all pixels in a box that is 20” x 20” centered on the reference pixel of the map Note that the antenna selection is special ant(1,2) will select all data from antennas 1 & 2 ant(1,2)(3,4) will select all data from baselines 1-3, 1-4, 2-3 & 2-4

Basic data reduction procedure Inspect the data for obvious errors Flagging “bad” data Calibration: Linelength Passband Gain (amplitude and phase) includes both atmospheric corrections and band phase offsets Create maps: Invert Cleaning the map Inspect maps & spectra There are different routes one can take to producing good maps

Inspecting u-v data listobs gives a good general overview of a track

Inspecting u-v data uvindex gives a more specific overview of a track

Inspecting u-v data varlist lists all u-v header variables in the data set varlist vis=c0541.1C_92OrionK.2.miriad

Inspecting u-v data varplt plots u-v header variables against time (or each other) smavarplt vis=c0541.1C_92OrionK.2.miriad yaxis=systemp device=/xs

Inspecting u-v data uvlist lists different parameters of the data uvlist vis=c0541.1C_92OrionK.2.miriad options=spec,brief

Inspecting u-v data uvplt displays u-v data in graphical format (amplitude/phase vs time/uvdistance) uvplt vis=ori axis=time,amp select=win'(1)',-auto,source'(ORIONKL)' device=/xs OK data but some flagging needed Really good data (maser)

Inspecting u-v data uvspec displays the spectra of the u-v data (amp/phase vs channel) uvspec vis=c0541.1C_92OrionK.2.miriad interval=10000 device=/xs \ axis=chan,amp select=source'(0423-013)'

Flagging uvflag is used to flag/unflag visibilities uvflag vis=temp541 select=time'(02:23:23,02:33:48)' flagval=flag

Passband calibration As the astronomical signals transit to the correlator a frequency dependent phase and amplitude shifts are induced on the signal. Most of this is due to the hardware (filters, fiber lengths, etc) However a small fraction is due to the atmosphere. There are several ways to correct for this: Use an astronomical source with no spectral features (e.g. quasar) Use the internal noise source Use the auto-correlations

Passband calibration Example: using the noise source Since the noise source is only in the LSB we must conjugate the data to create the USB signal using uvcal: uvcal vis=noise options=noisecal out=noise.conj mfcal is used to solve for the passband correction mfcal vis=noise.conj interval=99999 line=chan,952,1,1,1 refant=9\ tol=0.001 Use gpcopy to copy the bandpass from the bandpass calibrator to the source and other calibrators gpcopy vis=noise.conj out=source options=nocal

Passband calibration For auto-correlations use uvcal with options=fxcal For astronomical sources the procedure is similar to the noise source Depending on the correlator setup one may need to bootstrap some solutions e.g. use the wide windows to correct for the atmospheric passband for the narrow windows Use uvcat to apply the gains to the data, otherwise future gains will overwrite the most recent ones uvcat vis=c0541.1C_92OrionK.2.miriad out=c0541.lc

Gain calibration There are two quantities solved for in gain calibration: amplitude gain and phase gain To get the flux of your calibrator there are several methods: 1. If a flux calibrator was observed (planets are primary, quasars are secondary) separate out the flux cal and gain cal (using uvcat) selfcal on these source (more on selfcal in a minute) use bootflux to determine the flux bootflux vis=uranus,0423-013 line=chan,1,1,952,952 taver=15 \ primary=uranus 2. If no flux calibrator was observed the selfcal routines can look up the flux for you or you can look up recent values for your calibrator from the CARMA calibrator web page: http://carma.astro.umd.edu/cgi-bin/calfind.cgi

Gain calibration Self calibration – corrects the data for phase and amplitude fluctuations due to the atmosphere mselfcal can be used for this mselfcal vis=c0423-013 interval=5 options=apriori,noscale \ refant=9 flux=5.9 line=chan,1,1,63,63 Then use gpcopy to apply the gains to the source

Other useful tasks uvcat - copies data to a new file useful for separating individual sources, windows, time ranges etc. can apply gains and bandpass to the data as it is written should be done between calibration steps so that gains are not overwritten uvaver – similar to uvcat, however it will average data together in time interval is given by the user will start a new interval if: source changes, pointing position changes, etc

Making maps Once the data are calibrated it is time to make maps: calibrator should be mapped to make sure it is a point source and has correct flux all sources invert is used to make the maps it produces a “dirty map” and the synthesized beam pattern it has many options that affect how the map is produced: pixel size in arcseconds image size in pixels weighting schemes, natural, uniform, and anything in between selection parameters line selection parameters options (systemp, mosaic, double, ...)

Cleaning clean for single pointing maps with objects near the phase center mossdi for mosaics, complex (not near phase center) or unknown source structure Both tasks have similar inputs regions to clean (default is inner quarter) way of controlling how deep to clean (gain, niters, cutoff) restor is used to produce the final cleaned maps

Looking at your maps cgcurs and cgdisp are good for looking at the maps, plane by plane imspec is good for looking at spectra

Non-MIRIAD tasks ds9, kcarma, casaviewer are external programs that can read and display MIRIAD data karma (http://www.atnf.csiro.au/computing/software/karma/index.html) many useful analysis tools & viewers no longer maintained p-v diagram with kpvslice (part of karma)

SAO ds9 (http://hea-www.harvard.edu/RD/ds9/site/Home.html) extensive package of analysis and visualization tools does not directly read miriad files run ds9 and input images with mirds9 <imagename> well maintained and documented

casaviewer (http://casa.nrao.edu/) part of the CASA package still under development aimed at radio astronomy can be very slow

CASA vs MIRIAD CASA has a different data model CASA data sets have a tendency to be larger (~5-15,000+ times) CASA can be a resource and time hog MIRIAD is better for CARMA data, but CASA is better for data with many more antennas CASA viewer has many nice features CASA still under significant development Some features are available in one but not the other (e.g. CASA has multi-scale clean, MIRIAD has maximum entropy deconvolution)

Misc info: All CARMA data will get processed by an automated data reduction package written in python, calling MIRIAD tasks and libraries More info can be found at: http://carma.astro.umd.edu/miriad/ including CARMA cookbook MIRIAD tasks are written in fortran77 with C i/o routines The current MIRIAD distribution contains wrappers for python access to the underlying subroutines Other wrapper types also exist (e.g. Ruby) Source code for programs is in $MIRPROG To recompile an individual task run $MIR/src/sys/bin/mir.prog <task>