Commits
15 15 | |
16 16 | sdtask_decorator | .
17 17 | def sdimaging(infiles, outfile, overwrite, field, spw, antenna, scan, intent, |
18 18 | mode, nchan, start, width, veltype, outframe, |
19 19 | gridfunction, convsupport, truncate, gwidth, jwidth, |
20 20 | imsize, cell, phasecenter, projection, ephemsrcname, |
21 21 | pointingcolumn, restfreq, stokes, minweight, brightnessunit, clipminmax, |
22 22 | # Performances optimization options |
23 23 | enablecache, convertfirst, |
24 24 | interpolation): |
25 + | |
26 + | casalog.post("The \u001b[31msdimaging task is deprecated and will be removed in future releases. Please use \u001b[1m\u001b[32mtsdimaging instead.", "WARN") |
25 27 | with sdimaging_worker(**locals()) as worker: |
26 28 | worker.initialize() |
27 29 | worker.execute() |
28 30 | worker.finalize() |
29 31 | |
30 32 | |
31 33 | def is_string_type(val): |
32 34 | """Return True if the argument is string type.""" |
33 35 | return type(val) in [str, numpy.str_] |
34 36 | |