Imaging

From EOVSA Wiki
Jump to navigation Jump to search

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/UDB. If so, you can skip the next section.

Create a CASA UDBms file from a Miriad UDB file

In CASA, use task importeovsa:

default(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 check the inputs by

inp

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. The task will create a CASA measurement set under the current directory ended with "_scl.ms". In this case, it is "UDB20170712183919_scl.ms"

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.