The MDL-file (model components)

Contents

A NEWSTAR MDL file contains a collection of source model components. This may be a mixture of multi-parameter components and ordinary CLEAN components. The former are much more versatile, and represent one of the main differences between NEWSTAR and other uv-data reduction packages.

Inspecting the list of model components

******* Insert new script here ******

The above model is in `local mode', which means that no reference position or reference frequency is known. This information may be taken from a SCN-file (use NMODEL option CONVERT), and stored with the model in the MDL file. The model then looks like this:

******* Insert new script here ******

The coordinates may als be viewed in RA and DEC:

******* Insert new script here ******

Note that not all source parameters (see below) are visible here. They may be inspected in the log-file whenever the model has been used.

Source component parameters

The source components in a NEWSTAR model have the following parameters:

NB: CLEAN components:
- Are not corrected for beam smearing in SELFCAL.
- Are confined to map grid postions, which may result in poor subtraction.
- Their positions cannot be "updated" automatically after SELFCAL.
Therefore, use ``proper sources'' for strong point sources, and CLEAN components for weak extended sources (but only if necessary).

Overview of model `handling' options.

In various NEWSTAR programs (NMODEL, NCALIB, NMAP etc) the user is able to handle the list of model components in various ways. The keyword often used is MODEL_OPTION:

In many cases, the user may specify sources in the list upon which some `handling' options is to act. The specification may be in the form of a SOURCE_LIST of id-numbers, separated by comma's (e.g. 3,6,7,2,34). If the user answers with , a SOURCE_RANGE is asked, i.e. the first and last id-number of a contiguous sublist:


SOURCE_LIST (Source number list) = :
SOURCE_RANGE (Source number range) = "":

means all sources

Calibration

If the flux or position of one of the sources in the list is known, it may be used as a calibrator. In the example, all 10 fluxes of the example model used above are multiplied by a factor (2000/1900), to make the flux of the first one equal to 2000 W.U. At the same time, all positions are shifted.

******* Insert new script here ******

Sorting

The source components may be sorted in many different ways. The option SORT orders all components in order of decreasing flux. This operation is performed before each WRITE, so that the components in an MDL file are always sorted this way!.


MODEL_OPTION (READ,WRITE,CLEAR,ZERO,SHOW, ) = QUIT:

FSORT allows the sorting on a range of criteria. In this example, the soorces are sorted in the order of decreasing m-coordinate:

****** Insert new script here *****

Other possibilities are:
- I: amplitude
- L,M: l or m
- LM,ML: l and m, or m and l
- ID: identification
- Q,U,V: Q or U or V
- SI,RM: spectral index or rotation measure
- LA,SA,PA: long or short axis, position angle
- BITS: bits (i.e. if source is extended or has polarisation)
- TYP: source type (0 is the standard)
- CC: clean component
- TP2: reserved
- DIST: distance to a specified centre
- POL: polarised intensity

Editing

Model components may be edited in various ways, using `handling' options CLEAR, ZERO, ADD, MERGE, DEL, DNCLOW, DCLOW (see the overview above). The handling options EDIT and FEDIT allow specific parameters (`fields') to be edited separately. EDIT acts on a specified source, and FEDIT acts on a range of sources. The possibilities are:


- I: amplitude
- L,M: l or m
- ID: identification
- Q,U,V: Q or U or V
- SI,RM: spectral index or rotation measure
- LA,SA,PA: long or short axis, position angle
- BITS: bits (i.e. if source is extended or has polarisation)
- TYP: source type (0 is the standard)
- CC: clean component
- TP2: reserved

Conversion to a uv-model for the .SCN file

The calculation of uv-model data (for comparison with uv-data in NCALIB)i s time consuming. Therefore, a calculated uv-model is saved in the .SCN file for which it is calculated, together with the source list used. In all programs that use the model data it can be specified how the model calculation should be done, and if the calculation should be saved. The relevant question is MODEL_ACTION, which expects a list of three answers. The first one can be one of:

The second answer can be BAND or NOBAND, and specifies if in the model calculation source data should be corrected for bandsmearing to match the actual data better. The third answer can be TIME or NOTIME to indicate the use of integration time smearing.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.


newstar@nfra.nl