Source
self.weightpars = {'type':weighting,'rmode':rmode,'robust':robust, 'noise': noise, 'npixels':npixels,'uvtaper':uvtaper, 'multifield':mosweight, 'usecubebriggs': perchanweightdensity}
from __future__ import absolute_import
import os
import math
import shutil
import string
import time
import re
import copy
import pprint
import functools
import inspect
from collections import OrderedDict
import filecmp
from casatasks.private.casa_transition import is_CASA6
if is_CASA6:
from casatools import synthesisutils
from casatasks import casalog
else:
from taskinit import *
synthesisutils = casac.synthesisutils
'''
A set of helper functions for the tasks tclean
Summary...
'''
######################################################
######################################################
######################################################
class ImagerParameters():
def __init__(self,
## Data Selection
msname='',
field='',
spw='',
timestr='',
uvdist='',
antenna='',
scan='',
obs='',
state='',
datacolumn='corrected',
## Image Definition
imagename='',
imsize=[1,1],
cell=[10.0,10.0],
phasecenter='',
stokes='I',
projection='SIN',
startmodel='',
## Spectral Parameters
specmode='mfs',
reffreq='',