AIPS-to-CASA Cheat Sheet: Difference between revisions

From CASA Guides
Jump to navigationJump to search
Jott (talk | contribs)
No edit summary
Jott (talk | contribs)
No edit summary
Line 9: Line 9:
<tr><td>APROPOS </td><td> {{taskhelp}} </td><td> List tasks with a short description of their purposes </td></tr>
<tr><td>APROPOS </td><td> {{taskhelp}} </td><td> List tasks with a short description of their purposes </td></tr>
<tr><td>BLCAL </td><td> {{blcal}} </td><td> Calculate a baseline-based gain calibration solution </td></tr>
<tr><td>BLCAL </td><td> {{blcal}} </td><td> Calculate a baseline-based gain calibration solution </td></tr>
<tr><td>BLCHN </td><td> [[blcal]] </td><td> Calculate a baseline-based bandpass calibration solution </td></tr>
<tr><td>BLCHN </td><td> {{blcal}} </td><td> Calculate a baseline-based bandpass calibration solution </td></tr>
<tr><td>BPASS </td><td> [[bandpass]] </td><td> Calibrate bandpasses </td></tr>
<tr><td>BPASS </td><td> {{bandpass}} </td><td> Calibrate bandpasses </td></tr>
<tr><td>CALIB </td><td> [[gaincal]] </td><td> Calibrate gains (amplitudes and phases) </td></tr>
<tr><td>CALIB </td><td> {{gaincal}} </td><td> Calibrate gains (amplitudes and phases) </td></tr>
<tr><td>CLCAL </td><td> [[applycal]] </td><td> Apply calibration to data</td></tr>
<tr><td>CLCAL </td><td> {{applycal}} </td><td> Apply calibration to data</td></tr>
<tr><td>COMB </td><td> [[immath]] </td><td> Combine images </td></tr>
<tr><td>COMB </td><td> {{immath}} </td><td> Combine images </td></tr>
<tr><td>CPASS </td><td> [bandpass]] </td><td> Calibrate bandpasses by polynomial fitting </td></tr>
<tr><td>CPASS </td><td> {{bandpass}} </td><td> Calibrate bandpasses by polynomial fitting </td></tr>
<tr><td>DBCON </td><td> [[concat]] </td><td> Concatenate ''u-v'' datasets </td></tr>
<tr><td>DBCON </td><td> {{concat}} </td><td> Concatenate ''u-v'' 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> [[importvla]] </td><td> Import old-format VLA data </td></tr>
<tr><td>FILLM </td><td> {{importvla}} </td><td> Import old-format VLA data </td></tr>
<tr><td>FITLD </td><td> [[importuvfits]] </td><td> Import a ''u-v'' dataset which is in FITS format </td></tr>
<tr><td>FITLD </td><td> {{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/TaskRefsu31.html#x34-330000.1.31 importfits] </td><td> Import an image which is in FITS format </td></tr>
<tr><td>FITLD </td><td> {{importfits}} </td><td> Import an image which is in FITS format </td></tr>
<tr><td>FITTP </td><td> [[exportuvfits]] </td><td> Write a ''u-v'' dataset to FITS format </td></tr>
<tr><td>FITTP </td><td> {{exportuvfits}} </td><td> Write a ''u-v'' dataset to FITS format </td></tr>
<tr><td>FITTP </td><td> [[exportfits]] </td><td> Write an image to FITS format </td></tr>
<tr><td>FITTP </td><td> {{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>
<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>HELP  </td><td> help </td><td> Display the help page for a task </td></tr>
<tr><td>HELP  </td><td> help </td><td> Display the help page for a task </td></tr>
<tr><td>IMAGR </td><td> [[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> [[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> [[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> [[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> [[imcontsub]] </td><td> Subtract continuum in image plane </td></tr>
<tr><td>IMLIN </td><td> {{imcontsub}} </td><td> Subtract continuum in image plane </td></tr>
<tr><td>IMLOD </td><td> [[importfits]] </td><td> Import a FITS image </td></tr>
<tr><td>IMLOD </td><td> {{importfits}} </td><td> Import a FITS image </td></tr>
<tr><td>IMSTAT </td><td> [[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> [[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> [[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> [[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> {{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> {{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> {{polcal}} </td><td> Calibrate polarization </td></tr>
<tr><td>POSSM </td><td> [[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> [[plotms]] </td><td> Plot spectra </td></tr>
<tr><td>POSSM </td><td> {{plotms}} </td><td> Plot spectra </td></tr>
<tr><td>PRTAN </td><td> [[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> [[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> [[flagdata]] </td><td> Remove first integrations from scans </td></tr>
<tr><td>QUACK </td><td> {{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>
<tr><td>SETJY </td><td> [[setjy]] </td><td> Set flux densities for flux cals </td></tr>
<tr><td>SETJY </td><td> {{setjy}} </td><td> Set flux densities for flux cals </td></tr>
<tr><td>SMOTH </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu35.html#x38-370000.1.35 imsmooth] </td><td> Smooth an image </td></tr>
<tr><td>SMOTH </td><td> {{imsmooth}} </td><td> Smooth an image </td></tr>
<tr><td>SNPLT </td><td> [[plotcal]] </td><td> Plot gain calibration tables </td></tr>
<tr><td>SNPLT </td><td> {{plotcal}} </td><td> Plot gain calibration tables </td></tr>
<tr><td>SPFLG </td><td> [[viewer]] </td><td> Flag raster image of time v. channel </td></tr>
<tr><td>SPFLG </td><td> {{viewer}} </td><td> Flag raster image of time v. channel </td></tr>
<tr><td>SPLIT </td><td> [[split]] </td><td> Write out ''u-v'' files for individual sources </td></tr>
<tr><td>SPLIT </td><td> {{split}} </td><td> Write out ''u-v'' 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> [[viewer]] </td><td> Display image </td></tr>
<tr><td>TVALL </td><td> {{viewer}} </td><td> Display image </td></tr>
<tr><td>TVFLG </td><td> [[viewer]] </td><td> Flag raster image of time v. baseline </td></tr>
<tr><td>TVFLG </td><td> {{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 ''u-v'' data files </td></tr>
<tr><td>UVFIX </td><td> [http://casa.nrao.edu/docs/taskref/TaskRefsu16.html#x19-180000.1.16 fixvis] </td><td> Compute ''u'', ''v'', and ''w'' coordinates </td></tr>
<tr><td>UVFIX </td><td> {{fixvis}} </td><td> Compute ''u'', ''v'', and ''w'' coordinates </td></tr>
<tr><td>UVFLG </td><td> [[flagdata]] </td><td> Flag data </td></tr>
<tr><td>UVFLG </td><td> {{flagdata}} </td><td> Flag data </td></tr>
<tr><td>UVLIN </td><td> [[uvcontsub]] </td><td> Subtract continuum from ''u-v'' data</td></tr>
<tr><td>UVLIN </td><td> {{uvcontsub}} </td><td> Subtract continuum from ''u-v'' data</td></tr>
<tr><td>UVLSF </td><td> [[uvcontsub]] </td><td> Subtract continuum from ''u-v'' data</td></tr>
<tr><td>UVLSF </td><td> {{uvcontsub}} </td><td> Subtract continuum from ''u-v'' data</td></tr>
<tr><td>UVPLT </td><td> [[plotms]] </td><td> Plot ''u-v'' data </td></tr>
<tr><td>UVPLT </td><td> {{plotms}} </td><td> Plot ''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 ''u-v'' data from corrected ''u-v'' data </td></tr>
<tr><td>UVSUB </td><td> {{uvsub}} </td><td> Subtracts model ''u-v'' data from corrected ''u-v'' data </td></tr>
<tr><td>WIPER </td><td> [[plotms]] </td><td> Plot and flag ''u-v'' data </td></tr>
<tr><td>WIPER </td><td> {{plotms}} </td><td> Plot and flag ''u-v'' data </td></tr>
<tr><td>ZAP </td><td> [[rmtables]] </td><td> Delete data files </td></tr>
<tr><td>ZAP </td><td> {{rmtables}} </td><td> Delete data files </td></tr>
</table>
</table>



Revision as of 00:21, 6 October 2011

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
APROPOS Template:Taskhelp List tasks with a short description of their purposes
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 bandpass Calibrate bandpasses by polynomial fitting
DBCON concat Concatenate u-v datasets
DEFAULT Template: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
HELP help Display the help page for 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
UVFIX fixvis Compute u, v, and w coordinates
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)