Alpha Release (October)

Executive summary: NLY (functionality mostly ported; UI/docs evaluatable shortly)

Functionality

ms          29 methods,  6 untested; 3 not implemented, 0 abort, 3 fail
calibrater  16 methods,  1 untested, 3 not implemented, 0 abort, 1 fail
imager      30 methods,  8 untested, 6 not implemented, 1 abort, 0 fail
msplot      25 methods,  0 untested; 0 not implemented, 1 abort, 1 fail
calplot     10 methods,  0 untested; 0 not implemented, 0 abort, 1 fail
tableplot   10 methods,  0 untested; 0 not implemented, 0 abort, 0 fail
autoflag    32 methods
image       79 methods
coordsys    61 methods
tables      66 methods
simulator   30 methods
quanta      55 methods
measures    45 methods
functionals 35 methods 
atmosphere      -- in progress
componentmodels -- in progress
fitting         -- not implemented
tablebrowser    -- GUI
qtviewer        -- GUI stand-alone

Incorporated (augmented or directly imported):
ASAP            -- ATNF Spectral Analysis Package: http://www.atnf.csiro.au/computing/software/asap/
matplotlib      -- Python 2D plotting library
Needed
  • Complete interface tests for all tools
  • Initial task cookbook complete; user ref man updated
  • All regression tests migrated to tool/task scripts
  • Parameter setting shell for tools
  • Distribution mechanisms
Documentation
  • Twiki-ized cookbook (Tool-based) (link on the left)
  • Task in-line help (example at bottom)
  • Parameter Dictionary (link on the left)
  • Task template (link on the left)
  • Cookbook (Task-based)
  • User Ref Man
User Interface
  • Review UIWG report
  • casapy (IPython/Python)
  • tasks with basic parameter checking (type,menu)
    • development of tasks (view)
  • parameter setting shell (for tasks and tools)
    • save,restore of parameters
    • curses form
    • sticky parameter support
Distribution/Install
  • RHE4/Mac OSX 10.4 (load-casapy, load-casapy-mac)
  • AOC: /home/basho/casa/framework
Demo
  • tasks
  • error handling
  • in-line help
  • ngc5921 end-to-end script view (example at bottom)
  • execute and view
  • canned simulator simulation
  • Issues
    • task limitations
    • Cookbook (combined or separate)
Questions to the NAUG
  • Cookbook review
  • Parameter dictionary review
  • Task list review + priorities for next implementation
SSG Schedule
  • October - Alpha release (6 October)
  • October - ALMA simulator release to NAASC
  • November - EVLA TST3 (calibration)
  • December - ALMA TST5 (+single dish)
  • January - ALMA simulator release to external users
Startup
-bash-3.00$ casapy
___________________________________________________________
Available tasks:

   bandpass      clean         contsub       correct 
   feather       flagac        fluxscale     gaincal 
   importarchive importasdm    importfits    invert  
   listhistory   listobs       mosaic        plotants 
   plotxy        setjy         split 
 
Available tools:

   ms (MS)               mp (MS plot)
   cb (calibrater)       cp (cal plot)
   tb (table)            tp (table plot)
   im (imager)           af (autoflag)
   me (measures)         qa (quanta)
   ia (image analysis)
 
   pl (pylab functions)

___________________________________________________________________

Tasks: type 'help('task')', 'pdoc task' or 'task?' for help
Tools: type 'pdoc tool' or 'pdoc tool.function' for help

type 'tasklist' 'taskhelp' or 'toolhelp' for short help

___________________________________________________________________
Activating auto-logging. Current session state plus future input saved.
Filename       : ./ipython.log
Mode           : append
Output logging : False
Timestamping   : False
State          : active


CASA [1]: 
Sample Help
Help on module contsub:

NAME
    contsub

FILE
    /aips++/framework/linux_rhe/python/2.4/contsub.py

FUNCTIONS
    contsub(vis=False, fieldid=False, spwid=[], channels=[], solint=0.0, fitorder=0, fitmode='s
ubtract')
        Continuum fitting and subtraction in the uv plane:
        
        Keyword arguments:
        vis -- Name of input visibility file (MS)
                default: ; example: vis='ngc5921.ms'
        fieldid -- Field index identifier
                default=unset; example: fieldid=1
        spwid -- Spectral window index identifier
                default=0; example: spwid=1
        channels -- Range of channels to fit
                default:; example: channels=range(4,7)+range(50,60)
        solint -- Averaging time (seconds)
                default: 0.0 (scan-based); example: solint=10
        fitorder -- Polynomial order for the fit
                default: 0; example: fitorder=1
        fitmode -- Use of the continuum fit model
                default: 'subtract'; example: fitmode='replace'
                

DATA
    ms = 
    mstool = 
Example Script: NGC 5921 reduction (task based)
importfits('ngc5921.ms','/aips++/data/nrao/VLA/ngc5921.fits')
flagautocorr('ngc5921.ms')
setjy('ngc5921.ms',fieldid=0)
gaincal('ngc5921.ms','ngc5921.gcal',mode='channel',nchan=55,start=2,msselect='FIELD_ID <= 1', 
        tau=0.0001,solint=0.,refant=14)
bandpass('ngc5921.ms','ngc5921.bcal',msselect='FIELD_ID==0',tau=0.0001,gaintable='ngc5921.gcal',refant=14)
fluxscale('ngc5921.ms',caltable='ngc5921.gcal',fluxtable='ngc5921.fluxscale',reference=['1331+30500002'],
        transfer=['1445+09900002'])
correct('ngc5921.ms',msselect='FIELD_ID IN [1,2]',tau=0.0001,gaintable='ngc5921.fluxscale',
        gainselect='FIELD_ID==1',bptable='ngc5921.bcal')
split('ngc5921.ms','ngc5921_cal.split.ms',fieldid=1,spwid=0,nchan=63,start=0,step=1,column='CORRECTED_DATA')
contsub('ngc5921.ms',fieldid=2,spwid=0,channels=range(4,7)+range(50,60),solutionint=0.0,mode='subtract')
split('ngc5921.ms','ngc5921_src.split.ms',fieldid=2,spwid=0,nchan=46,start=5,step=1,column='CORRECTED_DATA')
clean('ngc5921.ms','ngc5921_task','channel','hogbom',niter=6000,gain=0.1,threshold=8.,mask='',nchan=46,
      start=0,step=1,fieldid=0,imsize=[256,256],cell=[15.,15.],weighting='briggs',rmode='norm',robust=0.5)

Please send any comments or questions about CASA or AIPS++ to aips2-requests@nrao.edu

Copyright © 2006 Associated Universities Inc., Washington, D.C.

This code is available under the terms of the GNU General Public Lincense

Modified on Wednesday, 02-Sep-2009 08:40:43 MDT