Source
449
449
fitsfile = srcuvfits
450
450
451
451
# Since this is a split dataset, the calibrated data is
452
452
# in the DATA column already.
453
453
datacolumn = 'data'
454
454
455
455
# Write as a multisource UVFITS (with SU table)
456
456
# even though it will have only one field in it
457
457
multisource = True
458
458
459
-
# Run asynchronously so as not to interfere with other tasks
460
-
# (BETA: also avoids crash on next importuvfits)
461
-
async = True
462
-
463
459
exportuvfits()
464
460
465
461
#=====================================================================
466
462
#
467
463
# UV-plane continuum subtraction on the target
468
464
# (this will update the CORRECTED_DATA column)
469
465
#
470
466
print '--UV Continuum Subtract--'
471
467
default('uvcontsub')
472
468
604
600
# Export the Final CLEAN Image as FITS
605
601
#
606
602
print '--Final Export CLEAN FITS--'
607
603
default('exportfits')
608
604
609
605
clnfits = prefix + '.clean.fits'
610
606
611
607
imagename = clnimage
612
608
fitsimage = clnfits
613
609
614
-
# Run asynchronously so as not to interfere with other tasks
615
-
# (BETA: also avoids crash on next importfits)
616
-
async = True
617
-
618
610
exportfits()
619
611
620
612
#=====================================================================
621
613
#
622
614
# Get some image statistics
623
615
#
624
616
print '--Imhead--'
625
617
default('imhead')
626
618
627
619
imagename = clnimage