SmartDemixer

Alternative variant of demixing, where not all the sources are demixed during the whole observation.

inputs

type

type:

string

doc:

Case-insensitive step type; must be ‘smartdemixer’ (or ‘smartdemix’) .

applybeam

type:

bool

default:

True

doc:

Mainly for test purposes. Apply the station beam in the estimate, solve, and subtract steps ?

ateam.skymodel

type:

string

doc:

The detailed sky model of the A-team sources used to solve for the complex gains. It is the name of the SourceDB to use (i.e., the output of makesourcedb) .

ateam.threshold

type:

double

doc:

Take a source/baseline into account if its maximum estimated amplitude > threshold .

default:

50 for LBA \\ 5 for HBA

baseline

type:

string

default:

""

doc:

Baselines to demix. See Description of baseline selection parameters .

blrange

type:

double?

default:

""

doc:

Baselines to demix. See Description of baseline selection parameters .

chunksize

type:

integer

default:

demixtimestep

doc:

Number of time slots in a chunk for which it is decided how to demix (which sources/stations to use and how to deal with the target). It has to be a multiple of parameter ‘demixtimestep’ .

corrtype

type:

string

default:

cross

doc:

Baselines to demix. Correlation type to match? Must be auto, cross, or an empty string .

defaultgain

type:

double

default:

1e-3

doc:

The default gain to use for the real part of the diagonal Jones elements for the unsolvable sources/stations. Take into account that the scale of the raw visibilities changed when COBALT was adopted. In the case of data correlated with BG/P, this parameter should be tuned down (1e-8) .

demixfreqstep

type:

integer

default:

freqstep

doc:

Number of channels to average when demixing. It is truncated if exceeding the actual number of channels. It defaults to the averaging used for the subtract .

demixtimestep

type:

integer

default:

timestep

doc:

Number of time slots to average when demixing. It is truncated if exceeding the actual number of times. It defaults to the averaging used for the subtract .

distance.reffreq

type:

double

default:

60e6

doc:

The ‘reffreq’ frequency used above .

distance.threshold

type:

double

default:

60

doc:

Distance threshold (in degrees). The target is close to the A-team if the angular distance (scaled with freq) < threshold for any A-team source (thus angdist*obsfreq/reffreq < threshold) .

estimate.skymodel

type:

string

default:

""

doc:

The coarse sky model of the A-team sources used to estimate the visibilities when deciding how to demix a chunk. It is the name of the SourceDB to use (i.e., the output of makesourcedb outtype=blob). If no name is given, the detailed A-team model will be used. The SourceDB must contain the same sources as the detailed model at about the same position. The order can be different though .

freqstep

type:

integer

default:

1

doc:

Number of channels to average when subtracting. It is truncated if exceeding the actual number of channels. Note that the data itself will also be averaged by this amount .

instrumentmodel

type:

string

default:

instrument

doc:

The name of the ParmDB to use. The ParmDB does not need to exist. If it does not exist it will be created. Note that the ParmDB is created after the output MS is created, so it can be a subdirectory of the output MS .

maxiter

type:

integer

default:

50

doc:

Maximum number of iterations to use in the solve .

minnbaseline

type:

integer

default:

6

doc:

Solve a source/station if the station occurs in at least ‘minnbaseline’ baselines with amplitude > ateam.threshold .

minnstation

type:

integer

default:

5

doc:

Solve a source if at least ‘minnstation’ stations are solvable for the source .

ntimechunk:

default

type:

integer

doc:

Number of time chunks that are processed jointly in as much a parallel way as possible. Preferably it is a multiple of the number of cores. Note that for a typical LOFAR observation the data of a single time slot is about 4 MB. A typical chunk size can be 2 minutes, thus 120 time slots per core. For 24 cores this amounts to about 11 GB!! .

propagatesolutions

type:

bool

default:

True

doc:

If set to true, solutions of a time slot are used as initial values for the next time slot. If set to false, the diagonal elements of the Jones matrix are initialized to one and the off-diagonal elements to zero. However, solutions will not be transferred between chunks processed in parallel .

ratio1

type:

double

default:

5

doc:

Include the target in the solve if the estimated amplitude ratio Target/max(Ateam) > ratio1 .

ratio2

type:

double

default:

0.25

doc:

Include the target in the solve if the target is close to the A-team and the estimated amplitude ratio Target/min(Ateam) > ratio2 .

solveboth

type:

bool

default:

False

doc:

Mainly for test purposes. True means that in the solve only the baselines are used for which both stations are solvable. Usually this gives worse results .

sources

type:

string?

default:

""

doc:

Names of the A-team sources to use. If none are given, all sources in the A-team sky model will be used .

subtract

type:

bool

default:

True

doc:

Mainly for test purposes. False means that the subtract step is not done, thus only a solve of the gains is done .

target.baseline

type:

string

default:

CS*&

doc:

Baselines to use in prediction of median target amplitude. See Description of baseline selection parameters .

target.blrange

type:

double?

default:

""

doc:

Baselines to use in prediction of median target amplitude. See Description of baseline selection parameters .

target.corrtype

type:

string

default:

cross

doc:

Baselines to use in prediction of median target amplitude. Correlation type to match? Must be auto, cross, or an empty string .

target.delta

type:

double

default:

60

doc:

Angular distance uncertainty (in arcsec) to determine if an A-team source is at the same position as a target source .

target.skymodel

type:

string

doc:

The sky model of the target. It is the name of the SourceDB to use (i.e., the output of makesourcedb) .

target.threshold

type:

double

doc:

Include the target in the solve if its maximum estimated amplitude > threshold .

default:

200 for LBA \\ 100 for HBA

targethandling

type:

integer

default:

0

doc:

Mainly for test purposes. It enforces the target handling. 1=include, 2=deproject, 3=ignore, else=use smart way .

timestep

type:

integer

default:

1

doc:

Number of time slots to average when subtracting. It is truncated if exceeding the actual number of times. Note that the data itself will also be averaged by this amount .

verbose

type:

int

default:

0

doc:

0 = only show basic demix statistics 1 = show for each time chunk how target is handled, which sources are solvable, and how many stations. >10 = various levels of debugging output .