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
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='',
nchan=1,
start='',
width='',
outframe='LSRK',
veltype='radio',
restfreq=[''],
sysvel='',
sysvelframe='',
interpolation='nearest',
perchanweightdensity=False,
gridder="standard",
# ftmachine='gridft',
facets=1,
chanchunks=1,
wprojplanes=1,
vptable="",
usepointing=False,
mosweight=False,
aterm=True,
psterm=True,
mterm=True,
wbawp = True,
cfcache = "",
dopbcorr = True,
conjbeams = True,
computepastep =360.0,
rotatepastep =360.0,
pointingoffsetsigdev = [30.0,30.0],