Imaging: Difference between revisions

From EOVSA Wiki
Jump to navigation Jump to search
(Created page with "= Brief Instructions for Calibrating UDB Data = == Preparation == On pipeline, create a working directory in which the software will create any output, including the measureme...")
(No difference)

Revision as of 22:10, 22 July 2017

Brief Instructions for Calibrating UDB Data

Preparation

On pipeline, create a working directory in which the software will create any output, including the measurement set. Start CASA (takes a minute or so to load) and change to that directory

casa
cd /data1/dgary/solar/20170712_AR

Check if the UDB file you want already exists, in the appropriate subdirectory of /data1/eovsa/fits/UDBms. If so, you can skip the next section.

Create a CASA UDBms file from a Miriad UDB file

In CASA, check the inputs to the task importeovsa:

imp(importeovsa)

and set the input idbfiles to the scan or scans you wish to work with, as in this example:

idbfiles = '/data1/eovsa/fits/UDB/2017/UDB20170712183919'

You can change other inputs at this time, as desired, but the defaults are generally okay. Then to execute, type

go

A single scan takes about 1 minute using one CPU.

Find and Apply the Reference Calibration

At present, the task_calibeovsa script is not automatically loaded as a CASA task, so momentarily change to the appropriate folder and import the task, then change back to your desired folder:

cd /home/user/bchen/eovsa/suncasa/tasks/
import task_calibeovsa as tc
cd /data1/dgary/solar/20170712_AR
tc.calibeovsa('/data1/dgary/solar/20170712_AR/UDB20170712183919_scl.ms',flagant='13~15')

This should produce a standard frequency-synthesis image with natural weighting, and also create a directory UDB20170712183919_scl.ms.flagversions.