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..."
 
No edit summary
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Using CASA}}
[[Category: CASA Basics]]


== Getting Started ==


{| style="width: 100%; valign: top; " cellpadding=5
* [[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 ==


=== General ===


|style="width: 20%; valign:top;background-color:#EFF9FC; border:0px solid #FFFFFF "|
* [[Renaming a Field]]
{| style="valign:top"
* [[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]]


|style="width: 50px; valign:top; " |
=== Loading Data ===
* [[Measurement Set Contents]]
* [[Importing Data into CASA]]
* [[Loading and Running Tasks]]
* [[Averaging data in plotms]]
* [[Inspecting Data]]


[[File:Casa_logo_full-200wide.png|120px|left]]
=== Flagging ===


|style="width: 500px; valign:top; " |
*[[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
<h1>'''Welcome to {{SITENAME}}'''</h1> <p>
*[[Data flagging with plotms]]
<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>
*[[Data flagging with viewer]]
[[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>


=== Calibration ===


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


=== Imaging ===


<h1>'''Events'''</h1>
* [http://www.aoc.nrao.edu/~rurvashi/ImagingAlgorithmsInCasa/ImagingAlgorithmsInCasa.html Description of Imaging Algorithms in CASA]
{{Events}}
* [[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==


=== Simulations ===
* [[Convert jpg to fits]]
* [[Antenna Configurations Models in CASA]]


{| style="width: 100%; valign: bottom; " cellpadding=5
=== CASA Tips and Basics ===
|- valign="bottom"
* [http://casa.nrao.edu/ CASA Homepage] Information on the latest releases, documentation, and support
| style="width: 34%; valign:bottom;" |
* [http://casa.nrao.edu/mail_list.shtml 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


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


|}
* [http://casa.nrao.edu/aips2_docs/notes/223/index.shtml Lattice Expression Language (LEL) as used, e.g. in ''immath'']
* [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: 100%; valign: top; " cellpadding=5
=== All CASA Tutorials ===
|- valign="top"
* [https://casaguides.nrao.edu/index.php/ALMAguides ALMA]
* [https://casaguides.nrao.edu/index.php/Karl_G._Jansky_VLA_Tutorials Karl G. Jansky VLA]
* [https://casaguides.nrao.edu/index.php/ATCA_Tutorials ATCA]
* [https://casaguides.nrao.edu/index.php/Simulating_Observations_in_CASA_4.4 Simulations]
* [https://casaguides.nrao.edu/index.php/Pre-upgrade_VLA_Tutorials pre-upgrade VLA]
* [https://casaguides.nrao.edu/index.php/SMA_Tutorials SMA]
* [https://casaguides.nrao.edu/index.php/CARMA_Tutorials CARMA]


|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 ===


* <big> CASA Basics </big>
* [[Writing a CASA Task]] Presents the basics of writing a CASA task, and provides examples of tasks that will be helpful and instructive.
** <big> [http://casa.nrao.edu/ CASA Homepage] Information on the latest releases, documentation, and support </big>
* [[CASA User Scripts and Tasks | User-contributed Tasks]]
** <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> Overviews </big>
*** [[Getting Started in CASA | Guide to CASA syntax, task execution, and scripting]]
*** [[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


=== VLA ===


* <big>CASA Documentation</big>
* [[Some Notes on VLA / EVLA gain curves and fluxscale]]
** <big> [http://casa.nrao.edu/docs/cookbook/ CASA Reference Manual & Cookbook HTML] and the [http://casa.nrao.edu/casa_cookbook.pdf  PDF Version] </big>
* [[VLA LST Calculator]]
** <big> [http://casa.nrao.edu/docs/TaskRef/TaskRef.html CASA Task Reference] </big>
** <big> [http://casa.nrao.edu/docs/CasaRef/CasaRef.html CASA Toolkit Manual] </big>


=== Hints, Tips, and Tricks! ===
* [[Selecting Spectral Windows and Channels]]
* [[CASA Region Format]] (CASA 3.3+)
* [[Data flagging with plotms]]
* [[Data flagging with viewer]]
* [[ UST2 | CASA User Contributed Scripts and Tasks]] Aligning, mosaicking, stitching, plotting weather, and more


* <big> [[HTT2 |Hints, Tips, & Tricks]] Task-specific tutorials to use CASA like a pro </big>
** [[Selecting Spectral Windows and Channels]]
** [[CASA Region Format]] (CASA 3.3+)
** [[Data flagging with plotms]]
** [[Data flagging with viewer]]


=== Bug Checking ===
* [[Check for the CASA Incremental Storage Manager Flagging Bug ]]


* <big> [[ UST2 | CASA User Contributed Scripts and Tasks]] Aligning, mosaicking, stitching, plotting weather, and more</big>


<!--
=== CASA Related Lectures ===
* <big> [http://casa.nrao.edu/docs/userman/UserManap6.html#x560-552000F/ Annotated Example Scripts] Samples to help you script your data reduction </big>
* [http://www.aoc.nrao.edu/events/synthesis/2016/lectures.shtml Lectures from the 2016 Synthesis Imaging Workshop]
-->
* [https://science.nrao.edu/science/meetings/2016/vla-data-reduction Lectures from the 2016 VLA Data Reduction Workshop]
* [https://science.nrao.edu/facilities/alma/naasc-workshops/nrao-cd-drp/program Lectures from the NAASC/ALMA 2017 Data Reduction Workshop]


* <big> [[AIPS-to-CASA Cheat Sheet]] </big>


=== Misc Useful Links ===
* [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]


* <big> CASA Related Lectures </big>
Also check out the step-by-step tutorials on this wiki!
** <big> [http://www.aoc.nrao.edu/events/synthesis/2012/lectures.shtml Lectures from the most recent Synthesis Imaging Workshop (June 2012)] </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/facilities/alma/naasc-workshops/almadata/program Lectures from the NAASC/ALMA Dec. 2011 Data Reduction Workshop] </big>




{| style="width: 100%; valign: top; " cellpadding=0
[[Main Page | &#8629; '''CASAguides''']] <br>
|- 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__
[[Category:VLA]] [[Category:CARMA]] [[Category:EVLA]] [[Category:ALMA]] [[Category:Calibration]] [[Category:Imaging]]

Latest revision as of 18:57, 1 November 2024

Using CASA

Getting Started

Data Reduction

General

Loading Data

Flagging

Calibration

Imaging

Analysis

Miscellaneous

Simulations

CASA Tips and 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

How CASA Works

All CASA Tutorials

If CASA Doesn't Work

Writing a CASA Task

VLA

Hints, Tips, and Tricks!


Bug Checking


CASA Related Lectures


Misc Useful Links

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


CASAguides