Changeset 1612 for branches/alma/python/asapmath.py
- Timestamp:
- 08/05/09 17:48:43 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/alma/python/asapmath.py
r1446 r1612 3 3 from asap import print_log 4 4 from asap import selector 5 from taskinit import * 5 6 6 7 def average_time(*args, **kwargs): … … 66 67 msg = "Please give a list of scantables" 67 68 if rcParams['verbose']: 68 print msg 69 #print msg 70 casalog.post( msg, 'WARN' ) 69 71 return 70 72 else: … … 184 186 msg = "The input data appear to contain no position-switch mode data." 185 187 if rcParams['verbose']: 186 print msg 188 #print msg 189 casalog.post( msg, 'WARN' ) 187 190 return 188 191 else: … … 192 195 msg = "No data was found with given scan numbers!" 193 196 if rcParams['verbose']: 194 print msg 197 #print msg 198 casalog.post( msg, 'WARN' ) 195 199 return 196 200 else: … … 201 205 msg = "mismatch in numbers of CAL on/off scans. Cannot calibrate. Check the scan numbers." 202 206 if rcParams['verbose']: 203 print msg 207 #print msg 208 casalog.post( msg, 'WARN' ) 204 209 return 205 210 else: … … 211 216 msg = "mismatch in numbers of on/off scans. Cannot calibrate. Check the scan numbers." 212 217 if rcParams['verbose']: 213 print msg 218 #print msg 219 casalog.post( msg, 'WARN' ) 214 220 return 215 221 else: … … 221 227 msg = "Need to supply a valid tau to use the supplied Tsys" 222 228 if rcParams['verbose']: 223 print msg 229 #print msg 230 casalog.post( msg, 'WARN' ) 224 231 return 225 232 else: … … 267 274 msg = "The input data appear to contain no Nod observing mode data." 268 275 if rcParams['verbose']: 269 print msg 276 #print msg 277 casalog.post( msg, 'WARN' ) 270 278 return 271 279 else: … … 304 312 msg = "Need to supply a valid tau to use the supplied Tsys" 305 313 if rcParams['verbose']: 306 print msg 314 #print msg 315 casalog.post( msg, 'WARN' ) 307 316 return 308 317 else: … … 369 378 as well as the data 370 379 """ 371 print "simple_math is deprecated use +=/* instead." 380 #print "simple_math is deprecated use +=/* instead." 381 casalog.post( "simple_math is deprecated use +=/* instead.", 'WARN' ) 372 382 373 383 def merge(*args): … … 398 408 msg = "Please give a list of scantables" 399 409 if rcParams['verbose']: 400 print msg 410 #print msg 411 casalog.post( msg, 'WARN' ) 401 412 return 402 413 else:
Note: See TracChangeset
for help on using the changeset viewer.