An Introduction to CASA and Simulations with Simdata May 25, 2011.

Slides:



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

ALMA Cycle 2 Capability Jongsoo Kim ALMA EA Korea node.
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.
SKADS: Array Configuration Studies Implementation of Figures-of-Merit on Spatial-Dynamic-Range Progress made & Current status Dharam V. Lal & Andrei P.
ALMA: MM Observing Considerations
BDT Radio – 1b – CMV 2009/09/04 Basic Detection Techniques 1b (2009/09/04): Single pixel feeds Theory: Brightness function Beam properties Sensitivity,
Atmospheric phase correction for ALMA Alison Stirling John Richer Richard Hills University of Cambridge Mark Holdaway NRAO Tucson.
Twelfth Synthesis Imaging Workshop 2010 June 8-15 Widefield Imaging II: Mosaicing Juergen Ott (NRAO)
Atacama Large Millimeter/submillimeter Array Expanded Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array.
Current mm interferometers Sébastien Muller Nordic ARC Onsala Space Observatory Sweden Turku Summer School – June 2009.
Calibration with CASA Masaaki Hiramatsu 平松正顕 (ASIAA/NTHU) ALMA User Workshop, Feb 8-10, 2010.
Array Design David Woody Owens Valley Radio Observatory presented at NRAO summer school 2002.
Atacama Large Millimeter/submillimeter Array Expanded Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array A Crash Course in CASA.
Interferometry Basics
ALMA Proposal Preparation and Submission Eelco van Kampen European ALMA Regional Centre (ESO, Garching) Thanks to Liz Humphrys, Andy Biggs and Paola Andreani.
Multiwavelength Continuum Survey of Protostellar Disks in Ophiuchus Left: Submillimeter Array (SMA) aperture synthesis images of 870 μm (350 GHz) continuum.
ALMA Proposal Preparation and Submission Liz Humphreys European ALMA Regional Centre ESO, Garching Thanks to Andy Biggs, Paola Andreani, Eelco van Kampen.
Basic concepts of radio interferometric (VLBI) observations Hiroshi Imai Department of Physics and Astronomy Graduate School of Science and Engineering.
National Radio Astronomy Observatory May 17, 2006 – Legacy Projects Workshop VLA/VLBA Large Projects Jim Ulvestad Assistant Director, NRAO.
Random Media in Radio Astronomy Atmospherepath length ~ 6 Km Ionospherepath length ~100 Km Interstellar Plasma path length ~ pc (3 x Km)
Atacama Large Millimeter/submillimeter Array Expanded Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array The ALMA Observing.
Twelfth Synthesis Imaging Workshop 2010 June 8-15 Advanced Calibration Techniques Mark Claussen NRAO/Socorro (based on earlier self-calibration lectures)
Atacama Large Millimeter/submillimeter Array Expanded Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array Tools for the ALMA.
Molecular Gas and Dust in SMGs in COSMOS Left panel is the COSMOS field with overlays of single-dish mm surveys. Right panel is a 0.3 sq degree map at.
IVC : a simulation and model-fitting tool for optical-IR interferometry Abstract I present a new software tool, called “Interferometry Visibility Computations”
SIMDATA Simulation Shigehisa Takakuwa (ASIAA) ALMA Users Meeting 2011.
An Introduction to Simdata Scott Schnee (NRAO) Victoria Workshop – Jan 18, 2011.
Atacama Large Millimeter/submillimeter Array Expanded Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array Using CASA to Simulate.
F. Levrier (LERMA - ENS) J. Pety (LERMA - IRAM Grenoble) P. Salomé (LERMA - Observatoire de Paris) STAR FORMAT meeting, Heidelberg, 4-5 may 2010 Making.
Interferometry Discuss Group & Python Tutorial Adam Leroy & Scott Schnee (NRAO) February 28, 2014.
Designing Experiments T. Venturi Istituto di Radioastronomia, Bologna, INAF ERIS, Manchester, 9 September 2005.
The ALMA Observation Support Tool Adam Avison UK ALMA Regional Centre Node.
Interferometry Basics Andrea Isella Caltech Caltech CASA Radio Analysis Workshop Pasadena, January 19, 2011.
Fundamental limits of radio interferometers: Source parameter estimation Cathryn Trott Randall Wayth Steven Tingay Curtin University International Centre.
Basic Concepts An interferometer measures coherence in the electric field between pairs of points (baselines). Direction to source Because of the geometric.
The North American ALMA Science Center North America’s ALMA Regional Center The North American ALMA Science Center acts as the gateway to ALMA for North.
1 NHSC PACS NHSC/PACS Web Tutorials Running PACS photometer pipelines PACS-402 (for Hipe 12.0) Level 1 to Level 2 processing: The JScanam pipeline Prepared.
Water Vapor In The Atmosphere: An Examination For CARMA Phase Correction Y.-S. Shiao, L. W. Looney and L. E. Snyder Department of Astronomy University.
Observing Modes from a Software viewpoint Robert Lucas and Philippe Salomé (SSR)
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.
NASSP Masters 5003F - Computational Astronomy Lecture 14 Reprise: dirty beam, dirty image. Sensitivity Wide-band imaging Weighting –Uniform vs Natural.
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.
ALMA and the Call for Early Science The Atacama Large (Sub)Millimeter Array (ALMA) is now under construction on the Chajnantor plain of the Chilean Andes.
Jan URSI1 Fast Switching Phase Compensation for ALMA Mark Holdaway NRAO/Tucson Other Fast Switching Contributors: Frazer Owen Michael Rupen Chris.
Atmospheric phase correction at the Plateau de Bure interferometer IRAM interferometry school 2006 Aris Karastergiou.
SKA: Configurations and Simulations Ramesh Bhat Colin Lonsdale Roger Cappallo Shep Doeleman Divya Oberoi Joanne Attridge MIT Haystack Observatory.
Fourth IRAM Millimeter Interferometry School 2004: Atmospheric phase correction 1 Atmospheric phase correction Jan Martin Winters IRAM, Grenoble.
Introduction to CASA Crystal Brogan ALMA CASA Subsystem Scientist (NRAO/NAASC) With lots of help from Steve Myers (Project Scientist)
Frazer OwenNSF EVLA Mid-Project Review May 11-12, Transition to EVLA
1 NHSC PACS NHSC/PACS Web Tutorials Running PACS photometer pipelines PACS-402 (for Hipe 13.0) Level 1 to Level 2.5 processing: The JScanam pipeline Prepared.
Observations with AMBER  General overview  P2VM  OB preparation with P2PP P2PP / OB / templates Available templates for observation procedure Typical.
THE ALMA ORION BAND 6 SCIENCE VERIFICATION DATA SPECTRAL LINE SURVEY - CONTENT AND DISCOVERY AVAILABLE FOR ALL SCIENCE Anthony J. Remijan ALMA Program.
NHSC HIFI DP workshop Caltech, 8-9 March page 1 Pat Morris, NHSC DP Webinar, 9 March 2012 HIFI Spectral Maps in HIPE.
AstroTortilla Free Plate solving AstroTortilla is a wrapper around common astrophotography tools intended to automate basic tasks such as polar alignment.
ALMA Integrated Computing Team Coordination & Planning Meeting #3 Socorro, June 2014 Observation with ACA correlator for Cycle3 Manabu Watanabe NAOJ.
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.
Imaging issues Full beam, full bandwidth, full Stokes noise limited imaging Algorithmic Requirements: –PB corrections: Rotation, Freq. & Poln. dependence,
Observing Strategies for the Compact Array
Imaging and Calibration Challenges
Observational Astronomy
Observational Astronomy
Image Error Analysis Fourier-domain analysis of errors.
EVLA Advisory Committee Meeting
National Radio Astronomy Observatory
A new deconvolution for radio interferometric images
Presentation transcript:

An Introduction to CASA and Simulations with Simdata May 25, 2011

General Description CASA is the post-processing package for ALMA (and EVLA) both interferometric and single dish The ALMA pipeline is is being built from CASA toolkit Toolkit packaged into most commonly used tasks for users Designed with parallelization in mind CASA in active community use since October 2007 Release available since May – Most recent linux flavors, Mac OSX for Leopard & Snow Leopard – Available to anyone from CASA homepage: May 25, 2011

CASA Documentation and Web Resources Casaguides are fully annotated scripts including screen shots There is also a complete CASA user manual Currently there are millimeter guides for EVLA, CARMA, and SMA that serve as important learning tools for future ALMA data CASAguides for ALMA Science Verification data on near horizon May 25, 2011

Inside CASA > Tasklist Will show an organized list of all currently available tasks Opportunities for full ALMA related CASA tutorials will be available after the proposal call deadline (June 30) May 25, 2011

What is Simdata Good For? Number of antennas Antenna configuration Length of observation Noise * Take a model image and find out how it would look if observed with ALMA Thermal Noise Phase Noise May 25, 2011

Model Image 30Dor Spitzer IRAC 8um image from SAGE May 25, 2011 Field of view at 230 GHz

Model Image Resized and now at 230 GHz Field of view at 230 GHz Now ~15 times more distant! May 25, 2011

Fourier Transforms of Images From May 25, 2011

Scales Measured in Compact Early Science Antenna Placement uv-coverage synthesized beam 2 hour observation in Compact Configuration Point Spread Function bmaj = 2.3 bmin = 2.0 May 25, 2011

Full Science 12m Array - Compact 2 hour observation Antenna Placement uv-coverage synthesized beam bmaj = 1.8 bmin = 1.7 Note lower sidelobes May 25, 2011

Full Science 12m Array - Extended 2 hour observation Antenna Placement uv-coverage synthesized beam bmaj = 0.38 bmin = 0.19 May 25, 2011

Model: Early Science Compact Configuration Model ImageConvolved Model “Observed” Image 2 hour observation May 25, 2011

Model: Full Science Main Array - Compact Model ImageConvolved Model “Observed” Image 2 hour observation Large scale emission: Observe with ACA and possibly TPA May 25, 2011

Model: Full Science Main Array - Extended Model ImageConvolved Model “Observed” Image 2 hour observation May 25, 2011

Model: Early Science Compact & Extended Model Image Compact Array Extended Array 2 hour observation May 25, 2011

Basic Simdata Workflow Start CASA Input image file into Simdata Predict what ALMA would see using Simdata Add noise (optional) Compare ALMA image with input image May 25, 2011

CASA Basics  To start > casapy  To look at task inputs > inp clean  Grey: expandable parameters  Red: invalid value  Blue: accepted value but not the default  To see full help > help clean  Reset defaults > default clean Or use script mode - only need to set non-default values: > clean(vis=‘visname’,field=‘2’,mode=‘channel’)  To run > go May 25, 2011

Basic Simdata Inputs Image of target Observing time Antenna configuration Optional noise parameters May 25, 2011

Basic Simdata Inputs Parameters that can be changed Current values of parameters Explanation of what the parameters are May 25, 2011

Basic Simdata Inputs May 25, 2011

Model Input FITS File Header must include: Coordinates Brightness units Observing frequency Pixel Scale (angular and spectral) Polarization (if needed) OR: Modify FITS image within Simdata May 25, 2011

Change your input file: modifymodel modifymodel = True skymodel = “30dor.fits” inbright = ”0.06mJy/pixel” indirection = "J h00m00 -40d00m00” incell = "0.15arcsec” incenter = "230GHz” inwidth = '2GHz' May 25, 2011

setpointings integration = '600s’ Time average for each data point May 25, 2011

predict Total time for the observation (must be ≥ integration times the number of pointings) May 25, 2011 To use the Early Science Configurations repodir = os.getenv("CASAPATH").split(' ')[0] antennalist = repodir+"/data/alma/simmos/alma.cycle0.compact.cfg” antennalist = repodir+"/data/alma/simmos/alma.cycle0.extended.cfg”

predict To use the most compact Full Science Configuration repodir = os.getenv("CASAPATH").split(' ')[0] antennalist = repodir+"/data/alma/simmos/alma.out01.cfg” May 25, 2011

Simdata Output analyze = True showarray = True showconvolved = True showdifference = False showfidelity = False May 25, 2011

Simdata Output – ES Compact Array May 25, 2011

Simdata Output Note that there are six pointings, and we previously set integration time to 600 seconds, so this product is less than the 7200 seconds set in totaltime May 25, 2011

Simdata Output – Viewer May 25, 2011

Other Simdata Options Thermal Noise thermalnoise = ‘tsys-atm’ vis=‘$project.noisy.ms’ May 25, 2011

Other Simdata Options Thermal Noise Sky ModelThermal NoiseNo Thermal Noise May 25, 2011

Atmospheric phase fluctuations 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. May 25, 2011

Other Simdata Options Phase Noise Sky ModelNo Phase NoisePhase Noise May 25, 2011

Other Simdata Options Phase Noise Start with the visibilities (measurement set) created by simdata Use the “toolkit” to add phase noise – – – sm.openfromms("simPN.ms") – sm.settrop(mode='screen',pwv=1.0,deltapwv=0.15) – sm.corrupt() – sm.done() Use clean (in CASA) to make the image May 25, 2011

Your Turn Find a fits file of an object you want to image Use simdata to see how it would look if observed with ALMA – Rescale image if necessary – Try different antenna configurations – Add noise if interested Don’t be afraid to ask for help! May 25, 2011

Your Turn Sample images can be found at: – Simdata walk-throughs available at: – Simulating observations in CASA 3.2 May 25, 2011

Extra Slides May 25, 2011

Simdata output images Most important images are: – $project.image – output simulated cube/plane – $project.image.flat – moment 0 of simulated cube/plane – $project.skymodel – input cube/plane – $project.psf – synthesized beam (point spread function) – $project.residual – residuals after cleaning May 25, 2011

Simdata hands-on quickstart Start CASA and look at simdata – casapy, inp simdata, help simdata Go through simdata tutorial – Get image for your own simulation – May 25, 2011

Simdata FAQ Find the antenna configuration files – repodir = os.getenv("CASAPATH").split(' ')[0] – antennalist = repodir+"/data/alma/simmos/alma.cycle0.compact.cfg” Problems with FITS file? – modifymodel = True – Set all parameters manually “image detached” error message? – image = True – analyze = True May 25, 2011

Simdata FAQ Simulation running too long? – Increase value of “integration” – Decrease number of required pointings – Clean for fewer iterations Can’t see effect of added thermal noise? – thermalnoise = ‘tsys-atm’ – vis = ‘$project.noisy.ms’ – Check brightness of input image vs expected noise May 25, 2011