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 22: Line 22:
<tr><td>GETJY </td><td> [[fluxscale]] </td><td> Determine flux densities for other cals </td></tr>
<tr><td>GETJY </td><td> [[fluxscale]] </td><td> Determine flux densities for other cals </td></tr>
<tr><td>GO  </td><td> go </td><td> Run a task </td></tr>
<tr><td>GO  </td><td> go </td><td> Run a task </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>IMAGR </td><td> [[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> [[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> [[vishead]] </td><td> View header for ''u-v'' 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> [[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>
<tr><td>IMLOD </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu31.html#x34-330000.1.31 importfits] </td><td> Import a FITS image </td></tr>
<tr><td>IMLOD </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu31.html#x34-330000.1.31 importfits] </td><td> Import a FITS image </td></tr>
<tr><td>IMSTAT </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu36.html#x39-380000.1.36 imstat] </td><td> Measure statistics on an image </td></tr>
<tr><td>IMSTAT </td><td> [[imstat]] </td><td> Measure statistics on an image </td></tr>
<tr><td>INP </td><td> inp </td><td> View task parameters </td></tr>
<tr><td>INP </td><td> inp </td><td> View task parameters </td></tr>
<tr><td>JMFIT </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>JMFIT </td><td> [[imfit]] </td><td> Fit gaussian components to an image </td></tr>
<tr><td>LISTR </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu41.html#x44-430000.1.41 listobs] </td><td> Print basic data </td></tr>
<tr><td>LISTR </td><td> [[listobs]] </td><td> Print basic data </td></tr>
<tr><td>MCAT </td><td> ls </td><td> List image data files </td></tr>
<tr><td>MCAT </td><td> ls </td><td> List image data files </td></tr>
<tr><td>MOMNT </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu29.html#x32-310000.1.29 immoments] </td><td> Compute moments from an image </td></tr>
<tr><td>MOMNT </td><td> [[immoments]] </td><td> Compute moments from an image </td></tr>
<tr><td>OHGEO </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu34.html#x37-360000.1.34 imregrid] </td><td>Regrids an image onto another image's geometry </td></tr>
<tr><td>OHGEO </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu34.html#x37-360000.1.34 imregrid] </td><td>Regrids an image onto another image's geometry </td></tr>
<tr><td>PBCOR </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu28.html#x31-300000.1.28 immath] </td><td> Correct an image for the primary beam </td></tr>
<tr><td>PBCOR </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu28.html#x31-300000.1.28 immath] </td><td> Correct an image for the primary beam </td></tr>
<tr><td>PCAL </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu51.html#x54-530000.1.51 polcal] </td><td> Calibrate polarization </td></tr>
<tr><td>PCAL </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu51.html#x54-530000.1.51 polcal] </td><td> Calibrate polarization </td></tr>
<tr><td>POSSM </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu48.html#x51-500000.1.48 plotcal] </td><td> Plot bandpass calibration tables </td></tr>
<tr><td>POSSM </td><td> [[plotcal]] </td><td> Plot bandpass calibration tables </td></tr>
<tr><td>POSSM </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu49.html#x52-510000.1.49 plotms] </td><td> Plot spectra </td></tr>
<tr><td>POSSM </td><td> [[plotms]] </td><td> Plot spectra </td></tr>
<tr><td>PRTAN </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu41.html#x44-430000.1.41 listobs] </td><td> Print antenna locations </td></tr>
<tr><td>PRTAN </td><td> [[listobs]] </td><td> Print antenna locations </td></tr>
<tr><td>PRTAN </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu47.html#x50-490000.1.47 plotants] </td><td> Plot antenna locations </td></tr>
<tr><td>PRTAN </td><td> [[plotants]] </td><td> Plot antenna locations </td></tr>
<tr><td>QUACK </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu18.html#x21-200000.1.18 flagdata] </td><td> Remove first integrations from scans </td></tr>
<tr><td>QUACK </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu18.html#x21-200000.1.18 flagdata] </td><td> Remove first integrations from scans </td></tr>
<tr><td>RENAME </td><td> mv </td><td> Rename an image or dataset </td></tr>
<tr><td>RENAME </td><td> mv </td><td> Rename an image or dataset </td></tr>

Revision as of 17:07, 24 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 u-v datasets
DEFAULT default Load a task with default parameters
FILLM importvla Import old-format VLA data
FITLD importuvfits Import a u-v dataset which is in FITS format
FITLD importfits Import an image which is in FITS format
FITTP exportuvfits Write a u-v 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 u-v 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 u-v 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 u-v data files
UVFLG flagdata Flag data
UVLIN uvcontsub Subtract continuum from u-v data
UVLSF uvcontsub Subtract continuum from u-v data
UVPLT plotms Plot u-v data
UVSUB uvsub Subtracts model u-v data from corrected u-v data
WIPER plotms Plot and flag u-v data
ZAP rmtables Delete data files


CASAguides

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