CASA Tips: Difference between revisions
From CASA Guides
Jump to navigationJump to search
No edit summary |
No edit summary |
||
(8 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{Using CASA}} | |||
[[Category: CASA Basics]] | |||
= HINTS, TIPS & TRICKS = | |||
== 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 == | |||
=== General === | |||
* [[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]] | |||
=== Loading Data === | |||
* [[Measurement Set Contents]] | |||
* [[Importing Data into CASA]] | |||
* [[Loading and Running Tasks]] | |||
* [[Averaging data in plotms]] | |||
* [[Inspecting Data]] | |||
=== Flagging === | |||
*[[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]] | |||
=== Calibration === | |||
* [[Combining Bandpasses]] | |||
* [[Create a Component List for Selfcal]] | |||
* [[Creating a Model for a Resolved Bandpass Calibrator]] | |||
=== Imaging === | |||
* [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== | |||
=== Simulations === | |||
* [[Convert jpg to fits]] | |||
* [[Antenna Configurations Models in CASA]] | |||
=== How CASA Works === | |||
* [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]] | |||
=== If CASA Doesn't Work === | |||
* [[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)]] | |||
=== 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 | ↵ '''CASAguides''']] <br> | |||
<h1>'''CASA Tips'''</h1> | <h1>'''CASA Tips'''</h1> | ||
Line 6: | 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 | ** <big> [https://casaguides.nrao.edu/index.php/ALMAguides ALMA]</big> | ||
** <big> [ | ** <big> [https://casaguides.nrao.edu/index.php/Karl_G._Jansky_VLA_Tutorials Karl G. Jansky VLA]</big> | ||
** <big> [ | ** <big> [https://casaguides.nrao.edu/index.php/ATCA_Tutorials ATCA]</big> | ||
** <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 28: | Line 140: | ||
<!-- | |||
* <big> CASA Related Lectures </big> | * <big> CASA Related Lectures </big> | ||
** <big> [http://www.aoc.nrao.edu/events/synthesis/ | ** <big> [http://www.aoc.nrao.edu/events/synthesis/2016/lectures.shtml Lectures from the 2016 Synthesis Imaging Workshop] </big> | ||
** <big> [https://science.nrao.edu/ | ** <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/ | ** <big> [https://science.nrao.edu/facilities/alma/naasc-workshops/nrao-cd-drp/program Lectures from the NAASC/ALMA 2017 Data Reduction Workshop] </big> | ||
--> | |||
* <big> Useful Links </big> | * <big> Useful Links </big> | ||
** <big> [http://casa.nrao.edu CASA homepage] | ** <big> [http://casa.nrao.edu CASA homepage] </big> | ||
** <big> [http://casa.nrao.edu/docs/cookbook/ CASA Reference Manual & Cookbook] | ** <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> [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> [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> [http://help.almascience.org ALMA Helpdesk (for all ALMA related inquiries)] </big> | ||
** <big> [http://science.nrao.edu/forums NRAO Science Forums] | ** <big> [http://science.nrao.edu/forums NRAO Science Forums] </big> | ||
** <big> [http://docs.python.org/ Python Documentation] | ** <big> [http://docs.python.org/ Python Documentation] </big> | ||
** <big> [http://www.splatalogue.net Splatalogue - Astronomical Line Database] | ** <big> [http://www.splatalogue.net Splatalogue - Astronomical Line Database] </big> |
Latest revision as of 19:14, 30 October 2024
HINTS, TIPS & TRICKS
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
General
- Renaming a Field
- Renaming Antennas
- Selecting Spectral Windows and Channels
- Axis definitions in plotms
- 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
Loading Data
- Measurement Set Contents
- Importing Data into CASA
- Loading and Running Tasks
- Averaging data in plotms
- Inspecting Data
Flagging
- 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
Calibration
- Combining Bandpasses
- Create a Component List for Selfcal
- Creating a Model for a Resolved Bandpass Calibrator
Imaging
- 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
Simulations
How CASA Works
- Lattice Expression Language (LEL) as used, e.g. in immath
- Definition of a Measurement Set
- Definition of a Calibration Table
- CASA Parallel Processing
If CASA Doesn't Work
- 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)
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.
- User-contributed Tasks
VLA
Bug Checking
Also check out the step-by-step tutorials on this wiki!
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
- All CASA Tutorials
- Hints, Tips, & Tricks Task-specific tutorials to use CASA like a pro
- CASA User Contributed Scripts and Tasks Aligning, mosaicking, stitching, plotting weather, and more