Difference between revisions of "ALMA apply uvcont table"

From CASA Guides
Jump to navigationJump to search
Line 22: Line 22:
 
<br>
 
<br>
  
 +
'''STEP 1:'''
  
https://casaguides.nrao.edu/index.php/ALMA_Imaging_Pipeline_Reprocessing#Restore_Pipeline_Calibration_and_Prepare_for_Re-imaging_.28all_Options.29
+
Restore the pipeline calibration as described [[https://casaguides.nrao.edu/index.php/ALMA_Imaging_Pipeline_Reprocessing#Restore_Pipeline_Calibration_and_Prepare_for_Re-imaging_.28all_Options.29][here]].  '''Do not modify the cont.dat file!''' if you do, the procedure described here will not work as intended.
 +
 
 +
'''STEP 2:'''
 +
 
 +
Unpack the auxilliary calibration tables, which contain a description of the continuum subtraction.
 +
<pre>
 +
cd ../../calibration/
 +
gunzip -c (one auxcaltable) | tar xvf -
 +
</pre>
 +
There will be one such table for each execution; repeat the above steps for each.
 +
 
 +
'''STEP 3:'''
 +
 
 +
Copy the auxilliary calibration tables into the working directory, and go back to the working directory:
 +
<pre>
 +
cp *uvcontfit*uvcont.tbl ../calibrated/working
 +
</pre>
 +
 
 +
While here, take a look at the files called *auxcalapply*txt. These contain the basic applycal() statements you will need to apply the uv continuum subtraction (as a calibration). You will use these in the following step.
 +
 
 +
Finally, go back to the working directory
 +
<pre>
 +
cd ../calibrated/working
 +
</pre>
 +
 
 +
 
 +
'''STEP 4:'''

Revision as of 12:49, 15 September 2017

Applying Pipeline Continuum Subtraction

Starting in Cycle 5, ALMA pipeline-calibrated data will be delivered with a calibration table which describes the continuum subtraction the pipeline did. This CASA Guide describes how to apply this pipeline-determined continuum subtraction. The main benefit of using this pre-determined subtractionis that it will save time compared to repeating the hif_uvcontfit() and hif_uvcontsub() steps as described in XYZPQ. If you wish to revise the continuum subtraction you should instead use the steps described in IWIDJ.

This is a draft page describing how PI's can make use of the UVCONT table that is delivered with their data to uv subtract the data, saving time over doing the uvcont fitting themselves.

Here is a bulleted list:

  • hello
    • that's great
  • byebye
    • for now
casa --pipeline
os.system('ls -ltr')


STEP 1:

Restore the pipeline calibration as described [[1][here]]. Do not modify the cont.dat file! if you do, the procedure described here will not work as intended.

STEP 2:

Unpack the auxilliary calibration tables, which contain a description of the continuum subtraction.

cd ../../calibration/
gunzip -c (one auxcaltable) | tar xvf -

There will be one such table for each execution; repeat the above steps for each.

STEP 3:

Copy the auxilliary calibration tables into the working directory, and go back to the working directory:

cp *uvcontfit*uvcont.tbl ../calibrated/working

While here, take a look at the files called *auxcalapply*txt. These contain the basic applycal() statements you will need to apply the uv continuum subtraction (as a calibration). You will use these in the following step.

Finally, go back to the working directory

cd ../calibrated/working


STEP 4: