Source
32
32
33
33
if os.path.exists(caltable):
34
34
raise Exception, 'Output caltable='+caltable+' exists. Choose another name or delete it.'
35
35
36
36
casalog.post("New caltable, "+caltable+", corrected for linear polarization, will be generated.")
37
37
mytb.open(tablein)
38
38
myout=mytb.copy(newtablename=caltable,deep=True)
39
39
mytb.close()
40
40
myout.close()
41
41
rempol=True
42
+
42
43
else:
43
44
casalog.post("No new caltable will be generated")
44
45
caltable=tablein
45
46
else:
46
47
raise Exception, 'input calibration table not found - please verify the name'
47
48
48
49
49
50
if paoffset!=0.0:
50
51
casalog.post("NB: default band position angle will be offset by "+str(paoffset)+"deg.")
51
52