Commits
Ihor Ihnatiev authored and Takeshi Nakazato committed 13f6e3f0f3a Merge
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( |
27 + | 'The sdimaging task is deprecated and will be removed in future releases. ' |
28 + | 'Please use tsdimaging instead.', |
29 + | "WARN") |
25 30 | with sdimaging_worker(**locals()) as worker: |
26 31 | worker.initialize() |
27 32 | worker.execute() |
28 33 | worker.finalize() |
29 34 | |
30 35 | |
31 36 | def is_string_type(val): |
32 37 | """Return True if the argument is string type.""" |
33 38 | return type(val) in [str, numpy.str_] |
34 39 | |