Functions | |
def | widebandpbcor |
def | _calcPBAlpha |
def | _makePBList |
def | _calcTaylorFromCube |
def | _linfit |
def | _dividePB |
def | _dividePBTaylor |
def | _compute_alpha_beta |
def | _set_clean_beam |
Set the restoring beam to the new one. |
def task_widebandpbcor._calcPBAlpha | ( | pbtay = [] , |
|
pbthreshold = 0.1 , |
|||
pbalphaname = 'pbalpha.im' |
|||
) | [private] |
Definition at line 166 of file task_widebandpbcor.py.
Referenced by widebandpbcor().
def task_widebandpbcor._calcTaylorFromCube | ( | imtemplate = "" , |
|
reffreq = '1.42GHz' , |
|||
cubename = "sim.pb" , |
|||
newtay = [] , |
|||
pbthreshold = 0.0001 , |
|||
weightlist = [] |
|||
) | [private] |
Definition at line 229 of file task_widebandpbcor.py.
References _linfit().
Referenced by widebandpbcor().
def task_widebandpbcor._compute_alpha_beta | ( | imagename, | |
nterms, | |||
taylorlist, | |||
residuallist, | |||
threshold, | |||
beamshape, | |||
calcerror | |||
) | [private] |
Definition at line 468 of file task_widebandpbcor.py.
References _set_clean_beam().
Referenced by widebandpbcor().
def task_widebandpbcor._dividePB | ( | nterms, | |
pbcoeffs, | |||
targetpbs | |||
) | [private] |
Definition at line 383 of file task_widebandpbcor.py.
Referenced by _dividePBTaylor().
def task_widebandpbcor._dividePBTaylor | ( | imlist = [] , |
|
pblist = [] , |
|||
imlistpbcor = [] , |
|||
pbthreshold = 0.1 |
|||
) | [private] |
Definition at line 411 of file task_widebandpbcor.py.
References _dividePB().
Referenced by widebandpbcor().
def task_widebandpbcor._linfit | ( | ptays, | |
freqs, | |||
pcube, | |||
wts | |||
) | [private] |
Definition at line 340 of file task_widebandpbcor.py.
Referenced by _calcTaylorFromCube().
def task_widebandpbcor._makePBList | ( | msname = '' , |
|
pbprefix = '' , |
|||
field = '' , |
|||
spwlist = [] , |
|||
chanlist = [] , |
|||
imsize = [] , |
|||
cellx = '10.0arcsec' , |
|||
celly = '10.0arcsec' , |
|||
phasecenter = '' |
|||
) | [private] |
Definition at line 202 of file task_widebandpbcor.py.
Referenced by widebandpbcor().
def task_widebandpbcor._set_clean_beam | ( | imname, | |
beamshape | |||
) | [private] |
Set the restoring beam to the new one.
Definition at line 591 of file task_widebandpbcor.py.
Referenced by _compute_alpha_beta().
def task_widebandpbcor.widebandpbcor | ( | vis = '' , |
|
imagename = 'mfim' , |
|||
nterms = 2 , |
|||
threshold = '1mJy' , |
|||
action = 'pbcor' , |
|||
reffreq = '1.5GHz' , |
|||
pbmin = 0.001 , |
|||
field = '' , |
|||
spwlist = [0] , |
|||
chanlist = [0] , |
|||
weightlist = [1] |
|||
) |
Wide-Band PB-correction. Specify a list of spwids and channel numbers at which to compute primary beams. Supply weights to use for each beam. All three lists spwlist, chanlist, weightlist must be of the same length. It is enough to make one PB per spw (middle channel).
Definition at line 24 of file task_widebandpbcor.py.
References _calcPBAlpha(), _calcTaylorFromCube(), _compute_alpha_beta(), _dividePBTaylor(), and _makePBList().
Referenced by widebandpbcor.widebandpbcor().