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...")
 
Line 9: Line 9:


== Create a CASA UDBms file from a Miriad UDB file ==
== Create a CASA UDBms file from a Miriad UDB file ==
In CASA, check the inputs to the task '''importeovsa''':
In CASA, use task '''importeovsa''':
<pre>
<pre>
imp(importeovsa)
default(importeovsa)
</pre>
</pre>
and set the input idbfiles to the scan or scans you wish to work with, as in this example:
and set the input idbfiles to the scan or scans you wish to work with, as in this example:
Line 17: Line 17:
idbfiles = '/data1/eovsa/fits/UDB/2017/UDB20170712183919'
idbfiles = '/data1/eovsa/fits/UDB/2017/UDB20170712183919'
</pre>
</pre>
You can check the inputs by
<pre>
inp
</pre
You can change other inputs at this time, as desired, but the defaults are generally okay.  Then to execute, type
You can change other inputs at this time, as desired, but the defaults are generally okay.  Then to execute, type
<pre>
<pre>
go
go
</pre>
</pre>
A single scan takes about 1 minute using one CPU.
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 ==
== Find and Apply the Reference Calibration ==

Revision as of 00:01, 23 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, 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
</pre
You can change other inputs at this time, as desired, but the defaults are generally okay.  Then to execute, type
<pre>
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.