Current Status of Single-Dish
Data Analysis Software for ALMA
Takeshi Nakazato1, Kanako Sugimoto1,Wataru Kawasaki1, George Kosugi1and Takahiro Tsutsumi2
1National Astronomical Observatory of Japan
2National Radio Astronomy Observatory

OutlineOverview of Whole Software System
Single-Dish Data Reduction Parts
Organization
Software Configurations and Features
ExamplesNew Features of Next ReleaseSummary
2009/10/4-8

ADASS 2009 Sapporo2

CASA(Common Astronomical Software Applications) Software for radio astronomical data reductionand analysis
 For the next generation telescope such as ALMA Interferometric and single-dish data Interactive data reduction
 Pipeline reduction using Python script Configuration
 CASA and CASACORE C++ libraries and Python interface
 CLI (IPython) and GUI (Qt, matplotlib)
 Software for single-dish data (ASAP)
2009/10/4-8

ADASS 2009 Sapporo

3

Architectural View of CASAuserPython

GUIQt
aatm (ATM library)

CLI (IPython)GUI
matplotlib

TasksTools

ASAP(python,C++)CASA C++ library
CASACORE C++ libraryTools are direct interface to C++ Classes
Tasks are more user friendly commands
2009/10/4-8

ADASS 2009 Sapporo

4

Single-Dish Software Development
 Development Based on ASAP but independent (CASA ASAP is anextension of original ASAP)
 We have own subversion repository for development

 Member Management: George Kosugi, Nick Elias (entire CASA)
 Support: Takahiro Tsutsumi
 Development: Kanako Sugimoto, Wataru Kawasaki,
Takeshi Nakazato
2009/10/4-8

ADASS 2009 Sapporo

5Single-Dish Data Reduction andAnalysis
 ASAP (ATNF Spectral Analysis Package) Software for single-dish data reduction and analysis
 ASAP is imported as ‘sd’ tool (tool for single-dish datareduction) from CASA ASAP depends on both CASA and CASACORE C++libraries

 Single-dish tasks (SD tasks)
 Defined as part of CASA tasks (not included in ASAP)
 SD tasks are constructed using sd tool (ASAP)
 SD tasks are defined for each data reduction stage
2009/10/4-8

ADASS 2009 Sapporo

6

Software Configuration of ASAP
C++Classes
LoggerLoggerScantable
Data structure(CASA Table)

STSelector
Data selector• IF• Scan No.
• Polarization• Beam• etc.

STFiller
Data filler (reader)• Scantable• SDFITS• MS (ASDM)• NRO dataSTwriter
Data writer• Scantable• SDFITS• MS

B o o st. P y thonInterface
to Python

Log

Scantable

selector

stfiller

stwriter
GUI Classes

ASAP
PythonClassesandModules

asaplotbase
asaplog

scantable

selectorreaderasaplot
interactivemask

asaplotgui

asapplotter

Software Configuration of ASAP
C++Classes

STMathMath utilities• Calibration• Averaging• etc.

STLineFinderLine finder• Automatic
Spectral line
detection

FitterFitting functions• Baseline fit(polynomial)• Line fit(Gaussian)

STFitEntry
Fit parameters• Function• Parameters• Components• Frame infoLineCatalog
SpectralLine catalog

B o o st. P y thonInterface
to Python
ASAPPython
ClassesandModules

stmathlinefinder

fitterfitentry

linecatalog

asapmath
Math utilities

asaplinefindLine finder

fitterasapfitlinecatalog

Single-Dish Tasks
Procedure
Data Flagging
Intensity Calibration

Averaging
SmoothingBaseline Fitting

Task Namesdflagsdcal

Line Fitting
Imaging

sdfit
sdtpimaging

Statistics

sdstat2009/10/4-8

ADASS 2009 Sapporo

channel based
flag only
GBT data only

sdaverage
sdsmoothsdbaseline

Remarks

interactivemask
total power
data only9Example: Interactive Baseline Fitting

The user can select a region
that is used for baseline
fitting interactively
2009/10/4-8

Fitting is performed exceptfor masked region

ADASS 2009 Sapporo

10

Example: Total Power Imaging

Raster scan image of theMoon @103GHz (ATF data)
2009/10/4-8

Measurement of sidelobe(raster scan of the Sun)ADASS 2009 Sapporo

11

3.0 Release (Dec. 2009)First Public Release Improved calibration capability
 Intensity calibration (Chopper-Wheel, APEX, ALMA) Support On-The-Fly observation data Imaging task for spectral line data (sdimaging) More flexible data flagging
 GUI processing Interactive masking for line fitting and line statistics
 GUI based task processing

 Task to remove scanning effect “Pressed-Out” method (Sofe & Reich 1979)
 “Basket-Weaving” (Emerson & Gräve 1988)
2009/10/4-8

ADASS 2009 Sapporo

12

SummaryWe have described a current status of singledish analysis capability of CASA The development is continuing based on ASAP
 Basic data reduction tasks are available There are several issues and limitations that shouldbe improved or fixed We are now working toward the next release thatis scheduled at the end of 20092009/10/4-8

ADASS 2009 Sapporo

13