Source
257
257
</param>
258
258
259
259
<param name="niter" type="int">
260
260
<shortdescription>Maximum number of iterations for least-squares solver</shortdescription>
261
261
<description>Maximum number of iterations for least-squares solver
262
262
Default: 100
263
263
</description>
264
264
<value>100</value>
265
265
</param>
266
266
267
-
<param name="delaywindow" type="doubleVec">
267
+
<param name="delaywindow" type="doubleArray">
268
268
<shortdescription>Constrain FFT delay search to a window</shortdescription>
269
269
<description>Constrain FFT delay search to a window specified as a two-element list with units of nanoseconds
270
270
Default: [None, None]
271
271
Examples: [-10, 10]
272
272
</description>
273
-
<value/>
273
+
<value type="vector"/>
274
274
</param>
275
275
276
-
<param name="ratewindow" type="doubleVec">
276
+
<param name="ratewindow" type="doubleArray">
277
277
<shortdescription>Constrain FFT rate search to a window</shortdescription>
278
278
<description>Constrain FFT rate search to a window specified as a two-element list with units of seconds per second
279
279
Default: [None, None]
280
280
Examples: [-1e-13, 1e-13]
281
281
</description>
282
282
<value/>
283
283
</param>
284
284
285
285
<param name="append" type="bool">
286
286
<shortdescription>Append solutions to the (existing) table</shortdescription>
310
310
</param>
311
311
312
312
<param subparam="true" name="callib" type="string">
313
313
<shortdescription>Cal Library filename</shortdescription>
314
314
<description>Specify a file containing cal library directives
315
315
Subparameter of docallib=True
316
316
</description>
317
317
<value type="string"/>
318
318
</param>
319
319
320
-
<param subparam="true" name="gaintable" type="stringVec">
320
+
<param subparam="true" name="gaintable" type="stringArray">
321
321
<shortdescription>Gain calibration table(s) to apply on the fly</shortdescription>
322
322
<description>Gain calibration table(s) to apply on the fly
323
323
Default: '' (none)
324
324
Subparameter of docallib=False
325
325
Examples:
326
326
gaintable='ngc5921.gcal'
327
327
gaintable=['ngc5921.ampcal','ngc5921.phcal']
328
328
</description>
329
329
<value/>
330
330
</param>
331
331
332
-
<param subparam="true" name="gainfield" type="stringVec">
332
+
<param subparam="true" name="gainfield" type="stringArray">
333
333
<shortdescription>Select a subset of calibrators from gaintable(s)</shortdescription>
334
334
<description>Select a subset of calibrators from gaintable(s)
335
335
Default: '' (all sources on the sky)
336
336
337
337
'nearest' ==> nearest (on sky) available field in
338
338
table otherwise, same syntax as field
339
339
340
340
Examples:
341
341
gainfield='0~2,5' means use fields 0,1,2,5
342
342
from gaintable
343
343
gainfield=['0~3','4~6'] means use field 0
344
344
through 3
345
345
</description>
346
346
347
347
<value/>
348
348
</param>
349
349
350
-
<param subparam="true" name="interp" type="stringVec">
350
+
<param subparam="true" name="interp" type="stringArray">
351
351
<shortdescription>Temporal interpolation for each gaintable (''=linear)</shortdescription>
352
352
<description>Interpolation parameters (in time[,freq]) for each gaintable, as a list of strings.
353
353
Default: '' --> 'linear,linear' for all gaintable(s)
354
354
Options: Time: 'nearest', 'linear'
355
355
Freq: 'nearest', 'linear', 'cubic',
356
356
'spline'
357
357
Specify a list of strings, aligned with the list of caltable specified
358
358
in gaintable, that contain the required interpolation parameters
359
359
for each caltable.
360
360
* When frequency interpolation is relevant (B, Df,
386
386
time, linear in freq with with channelized
387
387
flagging and relative-frequency interpolation)
388
388
interp=',spline' (spline in freq; linear in
389
389
time by default)
390
390
interp=['nearest,spline','linear'] (for
391
391
multiple gaintables)
392
392
</description>
393
393
<value/>
394
394
</param>
395
395
396
-
<param subparam="true" name="spwmap" type="intVec">
396
+
<param subparam="true" name="spwmap" type="intArray">
397
397
<shortdescription>Spectral windows combinations to form for gaintables(s)</shortdescription>
398
398
<description>Spectral windows combinations to form for gaintables(s)
399
399
Subparameter of callib=False
400
400
default: [] (apply solutions from each spw to
401
401
that spw only)
402
402
403
403
Examples:
404
404
spwmap=[0,0,1,1] means apply the caltable
405
405
solutions from spw = 0 to the spw 0,1 and spw
406
406
1 to spw 2,3.
407
407
spwmap=[[0,0,1,1],[0,1,0,1]] (for multiple
408
408
gaintables)
409
409
</description>
410
410
<type>any</type>
411
411
<value/>
412
412
</param>
413
413
414
-
<param subparam="true" name="paramactive" type="boolVec">
414
+
<param subparam="true" name="paramactive" type="boolArray">
415
415
<shortdescription>Control which parameters are solved for</shortdescription>
416
416
<description>Control which parameters are solved for; a vector of (exactly) three booleans for delay, delay-rate and dispersive delay (in that order)</description>
417
417
Default: [True, True, False]
418
418
Examples:
419
419
[True, True, False] (the defaul) solves for delay and delay-rate but not dispersive delay
420
420
[True, True, True] solves for delay, delay-rate and dispersive delay
421
421
[True, False, False] solves only for delays
422
422
[False, True, False] solves only for delay-rates
423
423
424
424
It is not possible to turn off solution for the phase offset
446
446
<default param="timerange"><value type="string"/></default>
447
447
<default param="antenna"><value type="string"/></default>
448
448
<default param="scan"><value type="string"/></default>
449
449
<default param="observation"><value type="string"/></default>
450
450
<default param="msselect"><value type="string"/></default>
451
451
</equals>
452
452
<equals value="False" type="bool"/>
453
453
</when>
454
454
<when param="docallib">
455
455
<equals value="False" type="bool">
456
-
<default param="gaintable"><value type="stringVec"/></default>
457
-
<default param="gainfield"><value type="stringVec"/></default>
458
-
<default param="interp"><value type="stringVec"/></default>
459
-
<default param="spwmap"><value type="intVec"/></default>
456
+
<default param="gaintable"><value type="stringArray"/></default>
457
+
<default param="gainfield"><value type="stringArray"/></default>
458
+
<default param="interp"><value type="stringArray"/></default>
459
+
<default param="spwmap"><value type="intArray"/></default>
460
460
</equals>
461
461
<equals value="True" type="bool">
462
462
<default param="callib"><value type="string"/></default>
463
463
</equals>
464
464
</when>
465
465
</constraints>
466
466
</input>
467
467
468
468
<example>
469
469
For more information, see the task pages of gaincal in CASA Docs: