Atacama Large Millimeter/submillimeter Array Expanded Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array CASA: Common Astronomy.

Slides:



Advertisements
Similar presentations
National Radio Astronomy Observatory June 13/14, 2005 EVLA Phase II Proposal Review EVLA Phase II Computing Development Bryan Butler (EVLA System Engineer.
Advertisements

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.
An Introduction to CASA and Simulations with Simdata May 25, 2011.
Atacama Large Millimeter/submillimeter Array Expanded Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array.
CSV Plan status Robert Laing ESO Science IPT. 2 Recent changes Complete rewrite to take account of rebaselining and revised delivery schedule Proposal.
Atacama Large Millimeter/submillimeter Array Expanded Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array.
Atacama Large Millimeter/submillimeter Array Expanded Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array.
Atacama Large Millimeter/submillimeter Array Expanded Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array A Crash Course in CASA.
Atacama Large Millimeter/submillimeter Array Expanded Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array.
C. ChandlerEVLA Advisory Committee Meeting September 6-7, Scientific Commissioning Plan Claire Chandler.
Hunt for Molecules, Paris, 2005-Sep-20 Software Development for ALMA Robert LUCAS IRAM Grenoble France.
EVLA Early Science: Shared Risk Observing EVLA Advisory Committee Meeting, March 19-20, 2009 Claire Chandler Deputy AD for Science, NM Ops.
1 ANASAC Meeting – May 20, 2015 ALMA Pipeline Brian Glendenning (for Jeff Kern)
SPACE TELESCOPE SCIENCE INSTITUTE Operated for NASA by AURA COS Pipeline Language(s) We plan to develop CALCOS using Python and C Another programming language?
McMullinEVLA Advisory Committee Meeting December 14-15, 2004 EVLA Data Post-processing: SSG (AIPS++/CASA) Development J. McMullin.
HIFI Tutorial 3: Getting some basic science out A.P.Marston ESAC 27 June 2013.
Atacama Large Millimeter/submillimeter Array Expanded Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array Tools for the ALMA.
Nick Elias 2010 May 14 CASA Developers' Meeting1.
S.T. MyersEVLA Advisory Committee Meeting September 6-7, 2007 EVLA Algorithm Research & Development Steven T. Myers (NRAO) CASA Project Scientist with.
Atacama Large Millimeter/submillimeter Array Karl G. Jansky Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array CASA Progress.
Atacama Large Millimeter/submillimeter Array Expanded Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array Using CASA to Simulate.
CABB Data Reduction Review Summary of recommendations Dave McConnell June 2011.
N. RadziwillEVLA NSF Mid-Project Report May 11-12, 2006 NRAO End to End (e2e) Operations Division Nicole M. Radziwill.
NRAO Users Committee Meeting May 20-21, National Radio Astronomy Observatory NRAO Users Committee Meeting – May 20-21, 2008 ALMA Operations Chris.
EVLA Transition to Science Operations: An Overview EVLA Advisory Committee Meeting, March 19-20, 2009 Bob Dickman AD, NM Operations.
Gustaaf van MoorselEVLA Advisory Committee Meeting May 8-9, 2006 EVLA Computing Software Overview.
EVLA Software Bryan Butler. 2007May22EVLA SAGE Meeting2 Requirements and Goals of EVLA Software Maximize scientific throughput of the instrument At a.
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.
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.
1 National Radio Astronomy Observatory NRAO Users Committee Meeting – May 20-21, 2008 Common Astronomy Software Applications (CASA) Crystal Brogan and.
1 KFPA Critical Design Review – Fri., Jan. 30, 2009 KFPA Data Pipeline Bob Garwood- NRAO-CV.
SAGE meeting Socorro, May 22-23, 2007 EVLA Science Operations: the Array Science Center Claire Chandler NRAO/Socorro.
Atacama Large Millimeter/submillimeter Array Expanded Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array Data Processing Progress.
EVLA Data Processing PDR Scale of processing needs Tim Cornwell, NRAO.
December2002, Garching ALMA Computing IDR ALMA AIPS++ Audit Steven T. Myers (NRAO)
RupenEVLA Advisory Committee Meeting May 8-9, Scientific Oversight and Testing of Software Michael P. Rupen EVLA Project Scientist for Software.
ADMIT: ALMA Data Mining Toolkit  Developed by University of Maryland, University of Illinois, and NRAO (PI: L. Mundy)  Goal: First-view science data.
Atacama Large Millimeter/submillimeter Array Expanded Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array Observing Scripts Basic.
Atacama Large Millimeter/submillimeter Array Expanded Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array Observing with NRAO.
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.
Digital Packaging Processor - Overview Gordon Hurford Nov 7, 2011 EOVSA Technical Design Meeting - NJIT.
Recent progress in EVLA-specific algorithms EVLA Advisory Committee Meeting, March 19-20, 2009 S. Bhatnagar and U. Rau.
ESO, 17 April 2007ESAC meeting1 ALMA offline User Test 5 Silvia Leurini, ESO.
N. RadziwillEVLA Advisory Committee Meeting May 8-9, 2006 NRAO End to End (e2e) Operations Division Nicole M. Radziwill.
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 - ALMA ASAC Charges For Oct 31 ASAC Report to ALMA Board Al Wootten JAO Interim Project Scientist.
Introduction to CASA Crystal Brogan ALMA CASA Subsystem Scientist (NRAO/NAASC) With lots of help from Steve Myers (Project Scientist)
CASA EVLA Advisory Committee Meeting, March 19-20, 2009 B.E. Glendenning CASA Group Leader.
Frazer OwenNSF EVLA Mid-Project Review May 11-12, Transition to EVLA
Atacama Large Millimeter/submillimeter Array Expanded Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array Emmanuel Momjian (NRAO)
THE ALMA ORION BAND 6 SCIENCE VERIFICATION DATA SPECTRAL LINE SURVEY - CONTENT AND DISCOVERY AVAILABLE FOR ALL SCIENCE Anthony J. Remijan ALMA Program.
WIDE-FIELD IMAGING IN CLASSIC AIPS Eric W. Greisen National Radio Astronomy Observatory Socorro, NM, USA.
S.T.MyersEVLA Advisory Committee Meeting December 14-15, 2004 EVLA Data Post-processing Overview Steven T. Myers AIPS++ Project Scientist.
Atacama Large Millimeter/submillimeter Array Karl G. Jansky Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array Short Spacing.
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,
Bryan Butler EVLA Computing Division Head
NRAO VLA Archive Survey
SAGE Committee Meeting – December 19 & 20, 2008
Scientific Oversight and Testing of Software
VLA to EVLA Transition Plan
EVLA Advisory Committee Meeting
Science Commissioning
Gustaaf van Moorsel September 9, 2003
EVLA Advisory Committee Meeting, March 19-20, 2009
EVLA Algorithm Research & Development
Observatory Science Operations
Presentation transcript:

Atacama Large Millimeter/submillimeter Array Expanded Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array CASA: Common Astronomy Software Applications Crystal Brogan (ALMA CASA Subsystem Scientist) May 20-21, 2010 – Charlottesville, Virginia 2010 Users Committee Meeting

What is CASA? 2 CASA is the post-processing package for ALMA and EVLA (interferometric and single dish) The algorithms are written in C++; interface in python/ipython/Qt It is fully scriptable, with in-line help and scientist-written documentation (notably the user manual/cookbook) Extensive interferometric calibration and imaging capabilities implemented via the Hamaker, Bregman, Sault formalism (Measurement Equation) Telescope data (visibility and single-dish) are stored in a MeasurementSet (MS); a filler converts ALMA and EVLA raw data to the MS It contains functionality for manipulating/plotting/… core infrastructure data types (e.g., Images, Tables, Measures, …) It contains image analysis and other mathematical functionality

Diverse Data Reduced and Imaged in CASA… 3 SMA 12 CO (2-1) mosaic toward IRDC G EVLA demo science: Orion Hot Core this spectrum has 24k channels! EVLA Ka-band of HC 3 N in AGB star IRC EVLA 6cm mosaic of SNR: 3C391 CARMA CO(1-0) mosaic of M99 (data courtesy STINGS team)

Import & Calibration 4 Full ALMA/EVLA data import (e.g., complex correlator setups) –Raw data formats designed with CASA in mind –Importuvfits for data from other telescopes Standard gain & bandpass calibration –Discrete and Polynominal/Spline solutions available –Flux density reference scaling –Flexible mapping of calibration from one spectral window to others –Solution normalization –Phase-only, Amp-only options –Auto-interpolation of flagged channels in bandpass Polarization calibration –Linearized instrumental polarization (D-terms) solutions available –Channelized option for frequency-dependent instrumental polarization –Optional solution for source polarization –Polarization position-angle solution support (for circular basis, linear basis under development)

Interactive cleaning and flagging 5 UV-spectrum in plotms, colorized by spectral window

Imaging & Deconvolution 6 Mosaic imaging –Joint deconvolution (Miriad style) and by gridding convolution –Mosaicing with heterogenous arrays (ALMA, CARMA) Multi-frequency Synthesis Imaging Multiscale clean Widefield imaging: W-projection and faceting –W-projection more than 1 order of magnitude faster than faceting –Widefield can be combined with mfs and multiscale Multiple algorithms for single dish and interferometry combination –Feathering –Single Dish as a model for deconvolution –True joint deconvolution using both visibility data and single dish data Requires data with well-calibrated weights between the single dish and interferometry data (ALMA), and testing Full beam Stokes I, V imaging (experimental) MEM & NNLS (toolkit level only so-far)

Single Dish Based on ATNF ASAP package Calibration and flagging – Calibration of position–switching, frequency-switching spectral data – Calculate quotient spectra – Calibration of total power raster scan data – Opacity correction (based on input opacity value) – Flagging by channel or row Imaging – Imaging of total power and spectral line raster scan data, including solar-system objects: Uses interferometric Imager Data analysis – Baseline fitting and subtraction – Plotting and profile fitting – Basic vector arithmetic – Removal of scanning noise by “Press-out” and FFT filtering

ALMA Pipeline test based on CASA Single Dish Package November 17-21, Santiago8ALMA Computing Review

CASA Simulator: “simdata” 9  Simulate continuum, simple cubes  Create coordinate system for model images  Automatically calculate mosaic pointings or manually  Optionally interleave a calibrator  Simulate total power observations  Add thermal noise and linear cross-polarization  Re-image the data, interferometric + total power  Analyze the difference in output and input images o 1-stop task to simulate ALMA, EVLA, SMA, CARMA, ATCA, SKA

CASA Staff 10 – Group leader: Nick Elias (Oct. 2009) – Development team Currently ~12.5 FTEs with mix of scientific developers and programmers Distribution of people: NRAO: 7.3, NAOJ: 2.7, ESO: 2.5 Two vacancies: Application (gui) developer (offer made), High performance computing specialist (search underway) – Overall Project management: Brian Glendenning (ALMA), Brian Butler (EVLA) – NRAO CASA Science Steering Committee (CSSC) Juergen Ott (Project Scientist) Crystal Brogan (ALMA subsystem scientist) Steve Myers (EVLA subsystem scientist) Ed Fomalont (E2E Scientist) – External Input: ALMA/EVLA Commissioning teams, RSRO scientists, ARC scientists, and various scientific advisory committees

Release Status and Usage 11 Have had Beta (patch) releases every ~3-6 months since October 2007 –Pretty much any recent linux flavor, Mac OSX leopard, snow leopard –Available to anyone after registration at –> 400 have downloaded so far Used every day in Chile for ALMA commissioning Being used heavily for EVLA science verification, RSRO visitors, and by outside users for start of early science since March 1, 2010 Dec. 18, 2009 was first non-beta release (3.0.0), patch was released in April, the next patch (3.0.2) will be June 15. The next major release will 15.

CASA Tutorials Around the World 12 Tutorials this past year: –Garching, Germany (May), Hamilton, Canada (June), Bonn, Germany (Oct.), Taiwan (Feb), NAOJ (April), Santiago, Chile (April) Coming up: –May 24, Miami AAS special session with talks/demos –June 8-15, NRAO Synthesis Imaging Workshop (~150 students) – all tutorials in CASA (except VLBA) –July 19-20, Oxford, UK preceding the “Molecules in Galaxies” conference –Jan. 2011, Seattle AAS, demo/tutorials –Soon after ALMA early science decision (late fall) planning for NAASC workshops

CASAguides 13 Uses mediawiki to enable fully annotated scripts Additional “guides” continue to be added NRAO Synthesis Imaging summer school tutorials will be delivered this way

CASAguides: an example 14 Uses mediawiki to enable fully annotated scripts Additional “guides” continue to be added NRAO Synthesis Imaging summer school tutorials will be delivered this way

New CASA Helpdesk 15 In mid-Feb. NRAO launched Kayako helpdesk at Kayako combines the utilities of managing tickets/user support with a knowledge base – Herschel and Spitzer Science Centers – top candidate for the ALMA Helpdesk

CASA Performance 16 CASA currently has similar speed to other packages for ~ 10 GB datasets except for a few high nails being aggressively pursued (flagging, plotting) For any package the most time hogging steps are: Flagging, Gain Calibrations Self-calibrations (gain, bandpass, pointing), and Imaging Channelization of data makes the problem “embarrassingly parallelizable” However, particularly for imaging, the problem is I/O and not CPU limited making the problem trickier CASA’s architecture has been written with parallelization in mind The release of multi-core CASA functionality will be staged. Simple imaging (single field or simple mosaic cube) well progressed, expected for October release Multi-core flagging and more imaging cases (multi-frequency synthesis continuum) expected June 2011 Successful hiring of HPC position critical

Performance in Practice 17 A test cluster with 16 nodes (128 cores) was purchased last year (joint EVLA/ALMA) to provide a test-bed for CASA parallelization Recent imaging tests on a 0.1 TB dataset to make a 3600x3600x1024 cube on just one node (8 cores, 16 GB RAM) took ~17 hours 8 hours peak ALMA data rate (64 MB/s) = 1.6 TB, so on 16 nodes, imaging takes ~ 17 hours on the test cluster. But the devil is in the details, and this is only imaging For comparison, the test cluster was 70k, NA ALMA has 250k to purchase its operations cluster and EVLA has ~400k. Thus the “real” pipeline clusters will be 5-10 x more powerful than the test cluster (more speed, memory, #nodes)  The problem is within our means Size matters: currently CASA data is ~6 times larger than miriad and ~3 times larger than AIPS Double precision 8 byte (Re,Im) floats (same as AIPS and twice miriad) – essential for high dynamic range. CASA could use 4 byte instead for low dynamic range. Three data scratch columns for intermediate calculations (AIPS: temporary scratch columns on disk, miriad: mostly memory). CASA has high priority need to eliminate permanent scratch columns, reducing disk footprint by a factor of 3

Support of ALMA and EVLA commissioning needs Parallelization and cluster fine-tuning for imaging and flagging Improvements needed for polarization calibration of linear feeds Improvements to calibration table plotting (incorporate into plotms) Planet models for use as resolved calibrators Splatalogue search capabilities and overplotting Viewer improvements (especially for spectral line plotting and analysis) Improvements to image analysis tasks Improvements to “TV” based flagging in the Viewer (on-the-fly spectral and time averaging) A CARMA miriad filler (through partnership with Peter Teuben at U. Maryland) Expanded and more modularized simulation capabilities, incorporate single dish simulation Planned for the coming year… 18