CASA Tips: Difference between revisions

From CASA Guides
Jump to navigationJump to search
Jott (talk | contribs)
Created page with " {| style="width: 100%; valign: top; " cellpadding=5 |style="width: 20%; valign:top;background-color:#EFF9FC; border:0px solid #FFFFFF "| {| style="valign:top" |style="wi..."
 
Swampler (talk | contribs)
No edit summary
 
(11 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Using CASA}}
[[Category: CASA Basics]]


= HINTS, TIPS & TRICKS =


{| style="width: 100%; valign: top; " cellpadding=5
== Getting Started ==


* [[What Version of CASA am I Running?]]
* [[Starting CASA Without the Logger]]
* [[New Startup Screen]]
* [[Accessing the Newest Version of CASA at NRAO]]
* [[Setting Up the Available Memory]]
* [[Capturing Return Values]]
* [[Interpreting CASA output]]


== Data Reduction ==


|style="width: 20%; valign:top;background-color:#EFF9FC; border:0px solid #FFFFFF "|
=== General ===
{| style="valign:top"


|style="width: 50px; valign:top; " |
* [[Renaming a Field]]
* [[Renaming Antennas]]
* [[Selecting Spectral Windows and Channels]]
* [[What's the difference between Antenna1 and Antenna2? Axis definitions in plotms | Axis definitions in plotms]]
* [http://www.aoc.nrao.edu/~sbhatnag/misc/msselection/msselection.html General description of the data selection syntax]
* [[CASA Region Format]]
* [[CASA Region Format Examples]]  How to apply CASA regions to tasks and convert them for use with tools
* [[Creating lists of files for task input: using glob]]


[[File:Casa_logo_full-200wide.png|120px|left]]  
=== Loading Data ===
* [[Measurement Set Contents]]
* [[Importing Data into CASA]]
* [[Loading and Running Tasks]]
* [[Averaging data in plotms]]
* [[Inspecting Data]]


|style="width: 500px; valign:top; " |
=== Flagging ===
<h1>'''Welcome to {{SITENAME}}'''</h1> <p>
<big>[http://casa.nrao.edu/ CASA] (Common Astronomy Software Applications) is a comprehensive software package to calibrate, image, and analyze radioastronomical data from interferometers (such as {{ALMA}} and {{VLA}}, both shown below) as well as single dish telescopes. This wiki provides examples and hints for reducing data in CASA.  </big>
[[Image:Alma-vla.jpg|450px|center]]
|style="width: 4%; valign:top; background-color:#EFF9FC;border:4px solid #EFF9FC;" |
|style="width: 40%; valign:top; background-color:#FFFFFF;border:4px solid #FF9966;" |
{|
| valign:top  |
<h1>'''CASA News'''</h1>


*[[Applying EVLA on-line flags]] What do to if you need to re-apply (or apply) your online flags, without re-downloading the entire MS
*[[Data flagging with plotms]]
*[[Data flagging with viewer]]


{{News}}
=== Calibration ===


* [[Combining Bandpasses]]
* [[Create a Component List for Selfcal]]
* [[Creating a Model for a Resolved Bandpass Calibrator]]


<h1>'''Events'''</h1>
=== Imaging ===
{{Events}}


|}
* [http://www.aoc.nrao.edu/~rurvashi/ImagingAlgorithmsInCasa/ImagingAlgorithmsInCasa.html Description of Imaging Algorithms in CASA]
* [[Diverging deconvolution results in 'csclean' and 'mosaic' modes]]
* [[Create a Simulated Image]]
* [[Create a Clean Mask from Continuum Image or Moment Cube]]


|}
=== Analysis ===


* [[How to rotate and slice a cube for pV diagrams]]
* [[Masking images for analysis]]
* [[Stacking Multiple Spectral Lines at Same Position]]
* [[Fit an arbitrary sky (image) model to an existing MS]] - including how to simulate visibilities that will have the same uv-coverage and weights as a given MS
* [[Fit a Gaussian to Visibility data and plot it over the data]]


== Miscellaneous==


{| style="width: 100%; valign: bottom; " cellpadding=5
=== Simulations ===
|- valign="bottom"
* [[Convert jpg to fits]]
| style="width: 34%; valign:bottom;" |
* [[Antenna Configurations Models in CASA]]


| style="width: 2%; valign:bottom; " |
| style="width: 64%; valign:bottom;" |


|}
=== How CASA Works ===


{| style="width: 100%; valign: top; " cellpadding=5
* [http://casa.nrao.edu/aips2_docs/notes/223/index.shtml Lattice Expression Language (LEL) as used, e.g. in ''immath'']
|- valign="top"
* [http://casa.nrao.edu/Memos/229.html Definition of a Measurement Set]
* [http://casa.nrao.edu/Memos/240.html Definition of a Calibration Table]
* [[CASA Parallel Processing]]


|style="width: 44%; valign:top" |
=== If CASA Doesn't Work ===
{| valign:top; style="width: 100%; background-color:#EFF9FC;border:1px solid #EFF9FC; cellpadding=5"
| valign=top |


* [[Interpreting CASA output]]
* [[Updating the CASA Data Repository]]
* [[Waiting for read-lock on file]]
* [[CASA Error Messages]]
* [[Fixing out of date TAI_UTC tables (missing information on leap seconds)]]


<h1>'''Using CASA'''</h1>
=== Writing a CASA Task ===
 
* [[Writing a CASA Task]] Presents the basics of writing a CASA task, and provides examples of tasks that will be helpful and instructive.
* [[CASA User Scripts and Tasks | User-contributed Tasks]]
 
=== VLA ===
 
* [[Some Notes on VLA / EVLA gain curves and fluxscale]]
* [[VLA LST Calculator]]
 
 
== Bug Checking ==
* [[Check for the CASA Incremental Storage Manager Flagging Bug ]]
 
Also check out the step-by-step tutorials on this wiki!
 
 
[[Main Page | &#8629; '''CASAguides''']] <br>
 
 
 
 
 
<h1>'''CASA Tips'''</h1>


* <big> CASA Basics </big>
* <big> CASA Basics </big>
Line 58: Line 112:
** <big> [http://casa.nrao.edu/mail_list.shtml CASA mailing lists] Please subscribe to receive information on releases, critical bugs, etc. </big>
** <big> [http://casa.nrao.edu/mail_list.shtml CASA mailing lists] Please subscribe to receive information on releases, critical bugs, etc. </big>
** <big> [[Installing CASA]] Where to obtain CASA, and how to install it in different operating systems </big>  
** <big> [[Installing CASA]] Where to obtain CASA, and how to install it in different operating systems </big>  
<!-- to be removed if noone complains :-)
** <big> Overviews </big>  
** <big> Overviews </big>  
*** [[Getting Started in CASA | Guide to CASA syntax, task execution, and scripting]]  
*** [[Getting Started in CASA | Guide to CASA syntax, task execution, and scripting]]  
*** [[What is CASA? | CASA calibration, imaging, and a description of basic tasks]]
*** [[What is CASA? | CASA calibration, imaging, and a description of basic tasks]]
*** [[PythonOverview | CASA Python Overview]] Includes basics of python, and guides to arrays and plotting
*** [[PythonOverview | CASA Python Overview]] Includes basics of python, and guides to arrays and plotting
-->


 
* <big> All CASA Tutorials </big>
* <big>CASA Documentation</big>
** <big> [https://casaguides.nrao.edu/index.php/ALMAguides ALMA]</big>
** <big> [http://casa.nrao.edu/docs/cookbook/ CASA Reference Manual & Cookbook HTML] and the [http://casa.nrao.edu/casa_cookbook.pdf  PDF Version] </big>
** <big> [https://casaguides.nrao.edu/index.php/Karl_G._Jansky_VLA_Tutorials Karl G. Jansky VLA]</big>
** <big> [http://casa.nrao.edu/docs/TaskRef/TaskRef.html CASA Task Reference] </big>
** <big> [https://casaguides.nrao.edu/index.php/ATCA_Tutorials ATCA]</big>  
** <big> [http://casa.nrao.edu/docs/CasaRef/CasaRef.html CASA Toolkit Manual] </big>
** <big> [https://casaguides.nrao.edu/index.php/Simulating_Observations_in_CASA_4.4 Simulations]</big>
** <big> [https://casaguides.nrao.edu/index.php/Pre-upgrade_VLA_Tutorials pre-upgrade VLA]</big>  
** <big> [https://casaguides.nrao.edu/index.php/SMA_Tutorials SMA]</big>
** <big> [https://casaguides.nrao.edu/index.php/CARMA_Tutorials CARMA]</big>  




Line 78: Line 138:


* <big> [[ UST2 | CASA User Contributed Scripts and Tasks]] Aligning, mosaicking, stitching, plotting weather, and more</big>
* <big> [[ UST2 | CASA User Contributed Scripts and Tasks]] Aligning, mosaicking, stitching, plotting weather, and more</big>
<!--
* <big> [http://casa.nrao.edu/docs/userman/UserManap6.html#x560-552000F/ Annotated Example Scripts] Samples to help you script your data reduction </big>
-->
* <big> [[AIPS-to-CASA Cheat Sheet]] </big>




<!--
* <big> CASA Related Lectures </big>
* <big> CASA Related Lectures </big>
** <big> [http://www.aoc.nrao.edu/events/synthesis/2012/lectures.shtml Lectures from the most recent Synthesis Imaging Workshop (June 2012)] </big>
** <big> [http://www.aoc.nrao.edu/events/synthesis/2016/lectures.shtml Lectures from the 2016 Synthesis Imaging Workshop] </big>
** <big> [https://science.nrao.edu/facilities/vla/early-science/DRW-spring2012/program Lectures from the EVLA spring 2012 Data Reduction Workshop] </big>
** <big> [https://science.nrao.edu/science/meetings/2016/vla-data-reduction Lectures from the 2016 VLA Data Reduction Workshop] </big>
** <big> [https://science.nrao.edu/facilities/alma/naasc-workshops/almadata/program Lectures from the NAASC/ALMA Dec. 2011 Data Reduction Workshop] </big>
** <big> [https://science.nrao.edu/facilities/alma/naasc-workshops/nrao-cd-drp/program Lectures from the NAASC/ALMA 2017 Data Reduction Workshop] </big>
 
-->  
 
{| style="width: 100%; valign: top; " cellpadding=0
|- valign="top"
 
|style="width: 44%; valign:top" |
{| valign:top; style="width: 100%; background-color:#EFF9FC;border:0px solid #EFF9FC; cellpadding=0"
| valign=top |
 
 
=== Information for Authors ===
* [http://meta.wikimedia.org/wiki/Help:Contents MediaWiki markup language]
* [[Instructions for Authors|CASAGuides Instructions for Authors]]
 
----
 
 
[[Special:Allpages|{{NUMBEROFARTICLES}} articles]] since July 2009.
 
<div style="clear: left; width: 100%; height: 0; visibility: hidden;"></div>
 
<hr/>
 
<div style="text-align:center;">Consult the [http://meta.wikimedia.org/wiki/Help:Contents Wiki User's Guide] for information on using the wiki software.</div>
 
|}
|}
|}
 
| style="width: 2%; valign:top; " |
 
| style="width: 20%; valign:top" |
{|
| valign:top; style="background-color:#FFFFFF;border:4px solid #6666CC; " |
 
<h1>'''CASA Tutorials'''</h1>
 
* <big><big>[[ALMAguides |'''ALMA Guides/Tutorials''']] </big></big>
 
* <big><big> [[Karl_G._Jansky_VLA_Tutorials | '''Karl G. Jansky VLA Tutorials''']] </big></big>
 
* <big><big> [[Simulating_Observations_in_CASA_4.4 |'''Simulating Observations''' ]]</big></big>
 
 
* <big> [[Pre-upgrade VLA Tutorials | '''pre-upgrade VLA Tutorials''' ]]</big>
 
* <big> [[ ATCA Tutorials | '''ATCA Tutorials''']] </big>
 
* <big> [[ CARMA Tutorials | '''CARMA Tutorials''']] </big>
 
* <big>[[SMA Tutorials | '''SMA Tutorials''']]  </big>
 
 
* <big> '''[[Extracting scripts from these tutorials | Extracting Scripts from Tutorials]]'''</big>
 
| style="width: 5%; valign:top; background-color:#EFF9FC;border:0px solid #EFF9FC;" |
[[Image:Screenshot_3c391_viewer_allpol-small.png|right|200px]]
[[Image:Antennae_South.CO3_2Line.Clean.pcal1.image.mom.weighted_coord-small.png|right|200px]]
 
 
 
|}
 
&nbsp;
 
 
{|{| style="width: 500pix; valign:top; " |
 
| style="width: 500pix; valign:top" |
{|
| valign:top; style="background-color:#FFFFFF;border:4px solid #6666CC; " |
 
<h3> Useful Links </h3>
<b>
[http://casa.nrao.edu CASA homepage]
 
[http://casa.nrao.edu/docs/cookbook/ CASA Reference Manual & Cookbook]
 
[http://my.nrao.edu my.nrao.edu - Your Portal to NRAO Services]
 
[http://help.nrao.edu NRAO Helpdesk (for all inquiries except ALMA)]
 
[http://help.almascience.org ALMA Helpdesk (for all ALMA related inquiries)]
 
[http://science.nrao.edu/forums NRAO Science Forums]
 
[http://docs.python.org/ Python Documentation]
 
[http://www.splatalogue.net Splatalogue - Astronomical Line Database]
</b>
 
|}
 
&nbsp;
 
{|{| style="width: 1000pix; valign:top; " |
 
| style="width: 1000pix; valign:top" |
{|
| valign:top; style="background-color:#FFFFFF;border:4px solid #6666CC; " |
 
<h3>'''Index of All Articles'''</h3>
<b>
* [[Special:AllPages| List of All Articles]]
* [[Special:Categories|Index by Category]]
</b>
|}
 
|}
 
|}


__NOTOC__
* <big> Useful Links </big>
[[Category:VLA]] [[Category:CARMA]] [[Category:EVLA]] [[Category:ALMA]] [[Category:Calibration]] [[Category:Imaging]]
** <big> [http://casa.nrao.edu CASA homepage] </big>
** <big> [http://casa.nrao.edu/docs/cookbook/ CASA Reference Manual & Cookbook] </big>
** <big> [http://my.nrao.edu my.nrao.edu - Your Portal to NRAO Services] </big>
** <big> [http://help.nrao.edu NRAO Helpdesk (for all inquiries except ALMA)] </big>
** <big> [http://help.almascience.org ALMA Helpdesk (for all ALMA related inquiries)] </big>
** <big> [http://science.nrao.edu/forums NRAO Science Forums] </big>
** <big> [http://docs.python.org/ Python Documentation] </big>
** <big> [http://www.splatalogue.net Splatalogue - Astronomical Line Database] </big>

Latest revision as of 19:14, 30 October 2024

Using CASA

HINTS, TIPS & TRICKS

Getting Started

Data Reduction

General

Loading Data

Flagging

Calibration

Imaging

Analysis

Miscellaneous

Simulations


How CASA Works

If CASA Doesn't Work

Writing a CASA Task

VLA


Bug Checking

Also check out the step-by-step tutorials on this wiki!


CASAguides



CASA Tips

  • CASA Basics
    • CASA Homepage Information on the latest releases, documentation, and support
    • CASA mailing lists Please subscribe to receive information on releases, critical bugs, etc.
    • Installing CASA Where to obtain CASA, and how to install it in different operating systems