AIPS-to-CASA Cheat Sheet: Difference between revisions

From CASA Guides
Jump to navigationJump to search
Lchomiuk (talk | contribs)
No edit summary
Lchomiuk (talk | contribs)
No edit summary
Line 12: Line 12:
<tr><td>COMB </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu28.html#x31-300000.1.28 immath] </td><td> Combine images </td></tr>
<tr><td>COMB </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu28.html#x31-300000.1.28 immath] </td><td> Combine images </td></tr>
<tr><td>CPASS </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu3.html#x6-50000.1.3 cpass] </td><td> Calibrate bandpasses by polynomial fitting </td></tr>
<tr><td>CPASS </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu3.html#x6-50000.1.3 cpass] </td><td> Calibrate bandpasses by polynomial fitting </td></tr>
<tr><td>DBCON </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu10.html#x13-120000.1.10 concat] </td><td> Concatenate ''u-v'' datasets </td></tr>
<tr><td>DBCON </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu10.html#x13-120000.1.10 concat] </td><td> Concatenate ''uv'' datasets </td></tr>
<tr><td>DEFAULT  </td><td> default </td><td> Load a task with default parameters </td></tr>
<tr><td>DEFAULT  </td><td> default </td><td> Load a task with default parameters </td></tr>
<tr><td>FILLM </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu33.html#x36-350000.1.33 importvla] </td><td> Import old-format VLA data </td></tr>
<tr><td>FILLM </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu33.html#x36-350000.1.33 importvla] </td><td> Import old-format VLA data </td></tr>
<tr><td>FITLD </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu32.html#x35-340000.1.32 importuvfits] </td><td> Import a ''u-v'' dataset which is in FITS format </td></tr>
<tr><td>FITLD </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu32.html#x35-340000.1.32 importuvfits] </td><td> Import a ''uv'' dataset which is in FITS format </td></tr>
<tr><td>FITLD </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu31.html#x34-330000.1.31 importfits] </td><td> Import an image which is in FITS format </td></tr>
<tr><td>FITLD </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu31.html#x34-330000.1.31 importfits] </td><td> Import an image which is in FITS format </td></tr>
<tr><td>FITTP </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu13.html#x16-150000.1.13 exportuvfits] </td><td> Write a ''u-v'' dataset to FITS format </td></tr>
<tr><td>FITTP </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu13.html#x16-150000.1.13 exportuvfits] </td><td> Write a ''uv'' dataset to FITS format </td></tr>
<tr><td>FITTP </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu12.html#x15-140000.1.12 exportfits] </td><td> Write an image to FITS format </td></tr>
<tr><td>FITTP </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu12.html#x15-140000.1.12 exportfits] </td><td> Write an image to FITS format </td></tr>
<tr><td>FRING </td><td> --- </td><td> Calibrate group delays and phase rates. </td></tr>
<tr><td>FRING </td><td> --- </td><td> Calibrate group delays and phase rates. </td></tr>
Line 24: Line 24:
<tr><td>IMAGR </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu6.html#x9-80000.1.6 clean] </td><td> Image and deconvolve </td></tr>
<tr><td>IMAGR </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu6.html#x9-80000.1.6 clean] </td><td> Image and deconvolve </td></tr>
<tr><td>IMFIT </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu26.html#x29-280000.1.26 imfit] </td><td> Fit gaussian components to an image </td></tr>
<tr><td>IMFIT </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu26.html#x29-280000.1.26 imfit] </td><td> Fit gaussian components to an image </td></tr>
<tr><td>IMHEAD </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu79.html#x82-810000.1.79 vishead] </td><td> View header for ''u-v'' data </td></tr>
<tr><td>IMHEAD </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu79.html#x82-810000.1.79 vishead] </td><td> View header for ''uv'' data </td></tr>
<tr><td>IMHEAD </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu27.html#x30-290000.1.27 imhead] </td><td> View header for an image </td></tr>
<tr><td>IMHEAD </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu27.html#x30-290000.1.27 imhead] </td><td> View header for an image </td></tr>
<tr><td>IMLIN </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu25.html#x28-270000.1.25 imcontsub] </td><td> Subtract continuum in image plane </td></tr>
<tr><td>IMLIN </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu25.html#x28-270000.1.25 imcontsub] </td><td> Subtract continuum in image plane </td></tr>
Line 47: Line 47:
<tr><td>SNPLT </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu48.html#x51-500000.1.48 plotcal] </td><td> Plot gain calibration tables </td></tr>
<tr><td>SNPLT </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu48.html#x51-500000.1.48 plotcal] </td><td> Plot gain calibration tables </td></tr>
<tr><td>SPFLG </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu78.html#x81-800000.1.78 viewer] </td><td> Flag raster image of time v. channel </td></tr>
<tr><td>SPFLG </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu78.html#x81-800000.1.78 viewer] </td><td> Flag raster image of time v. channel </td></tr>
<tr><td>SPLIT </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu72.html#x75-740000.1.72 split] </td><td> Write out ''u-v'' files for individual sources </td></tr>
<tr><td>SPLIT </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu72.html#x75-740000.1.72 split] </td><td> Write out ''uv'' files for individual sources </td></tr>
<tr><td>TASK </td><td> inp </td><td> Load a task with current parameters </td></tr>
<tr><td>TASK </td><td> inp </td><td> Load a task with current parameters </td></tr>
<tr><td>TGET </td><td> tget </td><td> Load a task with parameters last used for that task</td></tr>
<tr><td>TGET </td><td> tget </td><td> Load a task with parameters last used for that task</td></tr>
<tr><td>TVALL </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu78.html#x81-800000.1.78 viewer] </td><td> Display image </td></tr>
<tr><td>TVALL </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu78.html#x81-800000.1.78 viewer] </td><td> Display image </td></tr>
<tr><td>TVFLG </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu78.html#x81-800000.1.78 viewer] </td><td> Flag raster image of time v. baseline </td></tr>
<tr><td>TVFLG </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu78.html#x81-800000.1.78 viewer] </td><td> Flag raster image of time v. baseline </td></tr>
<tr><td>UCAT </td><td> ls </td><td> List ''u-v'' data files </td></tr>
<tr><td>UCAT </td><td> ls </td><td> List ''uv'' data files </td></tr>
<tr><td>UVFLG </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu18.html#x21-200000.1.18 flagdata] </td><td> Flag data </td></tr>
<tr><td>UVFLG </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu18.html#x21-200000.1.18 flagdata] </td><td> Flag data </td></tr>
<tr><td>UVLIN </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu74.html#x77-760000.1.74 uvcontsub] </td><td> Subtract continuum from ''u-v'' data</td></tr>
<tr><td>UVLIN </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu74.html#x77-760000.1.74 uvcontsub] </td><td> Subtract continuum from ''uv'' data</td></tr>
<tr><td>UVLSF </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu74.html#x77-760000.1.74 uvcontsub] </td><td> Subtract continuum from ''u-v'' data</td></tr>
<tr><td>UVLSF </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu74.html#x77-760000.1.74 uvcontsub] </td><td> Subtract continuum from ''uv'' data</td></tr>
<tr><td>UVPLT </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu49.html#x52-510000.1.49 plotms] </td><td> Plot ''u-v'' data </td></tr>
<tr><td>UVPLT </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu49.html#x52-510000.1.49 plotms] </td><td> Plot ''uv'' data </td></tr>
<tr><td>UVSUB </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu76.html#x79-780000.1.76 uvsub] </td><td> Subtracts model ''u-v'' data from corrected ''u-v'' data </td></tr>
<tr><td>UVSUB </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu76.html#x79-780000.1.76 uvsub] </td><td> Subtracts model ''uv'' data from corrected ''uv'' data </td></tr>
<tr><td>WIPER </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu49.html#x52-510000.1.49 plotms] </td><td> Plot and flag ''u-v'' data </td></tr>
<tr><td>WIPER </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu49.html#x52-510000.1.49 plotms] </td><td> Plot and flag ''uv'' data </td></tr>
<tr><td>ZAP </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu52.html#x55-540000.1.52 rmtables] </td><td> Delete data files </td></tr>
<tr><td>ZAP </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu52.html#x55-540000.1.52 rmtables] </td><td> Delete data files </td></tr>
</table>
</table>

Revision as of 22:32, 23 February 2010

Getting Started

For AIPS users who are learning CASA, it is intuitive to think about equivalent tasks between the two software packages. Below are some AIPS-to-CASA equivalent tasks; note that there is not always a one-to-one transformation between the two packages.

AIPSCASA Purpose
BLCAL blcal Calculate a baseline-based gain calibration solution
BLCHN blcal Calculate a baseline-based bandpass calibration solution
BPASS bandpass Calibrate bandpasses
CALIB gaincal Calibrate gains (amplitudes and phases)
CLCAL applycal Apply calibration to data
COMB immath Combine images
CPASS cpass Calibrate bandpasses by polynomial fitting
DBCON concat Concatenate uv datasets
DEFAULT default Load a task with default parameters
FILLM importvla Import old-format VLA data
FITLD importuvfits Import a uv dataset which is in FITS format
FITLD importfits Import an image which is in FITS format
FITTP exportuvfits Write a uv dataset to FITS format
FITTP exportfits Write an image to FITS format
FRING --- Calibrate group delays and phase rates.
GETJY fluxscale Determine flux densities for other cals
GO go Run a task
IMAGR clean Image and deconvolve
IMFIT imfit Fit gaussian components to an image
IMHEAD vishead View header for uv data
IMHEAD imhead View header for an image
IMLIN imcontsub Subtract continuum in image plane
IMLOD importfits Import a FITS image
IMSTAT imstat Measure statistics on an image
INP inp View task parameters
JMFIT imfit Fit gaussian components to an image
LISTR listobs Print basic data
MCAT ls List image data files
MOMNT immoments Compute moments from an image
OHGEO imregrid Regrids an image onto another image's geometry
PBCOR immath Correct an image for the primary beam
PCAL polcal Calibrate polarization
POSSM plotcal Plot bandpass calibration tables
POSSM plotms Plot spectra
PRTAN listobs Print antenna locations
PRTAN plotants Plot antenna locations
QUACK flagdata Remove first integrations from scans
RENAME mv Rename an image or dataset
SETJY setjy Set flux densities for flux cals
SMOTH imsmooth Smooth an image
SNPLT plotcal Plot gain calibration tables
SPFLG viewer Flag raster image of time v. channel
SPLIT split Write out uv files for individual sources
TASK inp Load a task with current parameters
TGET tget Load a task with parameters last used for that task
TVALL viewer Display image
TVFLG viewer Flag raster image of time v. baseline
UCAT ls List uv data files
UVFLG flagdata Flag data
UVLIN uvcontsub Subtract continuum from uv data
UVLSF uvcontsub Subtract continuum from uv data
UVPLT plotms Plot uv data
UVSUB uvsub Subtracts model uv data from corrected uv data
WIPER plotms Plot and flag uv data
ZAP rmtables Delete data files


CASAguides

--Laura Chomiuk 20:32, 10 February 2010 (UTC)