aboutsummaryrefslogtreecommitdiffstats
path: root/astro/oskar
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-02-05 14:15:52 +0800
committerAaron LI <aly@aaronly.me>2018-02-05 14:15:52 +0800
commitc87ade2c954e4f01c5f1c06d1b39d4dab0bb11a9 (patch)
treefe5bb05a04b23fbb52a014c3a06057f9044390d9 /astro/oskar
parent9ba3e923040b6e1c4a5950d160aa62d42bf5bd87 (diff)
downloadatoolbox-c87ade2c954e4f01c5f1c06d1b39d4dab0bb11a9.tar.bz2
astro/wsclean.py: update parameters against w.r.t. WSClean 2.5
Diffstat (limited to 'astro/oskar')
-rwxr-xr-xastro/oskar/wsclean.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/astro/oskar/wsclean.py b/astro/oskar/wsclean.py
index 5473764..a3601e5 100755
--- a/astro/oskar/wsclean.py
+++ b/astro/oskar/wsclean.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
-# Copyright (c) 2017 Aaron LI
+# Copyright (c) 2017-2018 Aaron LI
# MIT license
#
# Create image from OSKAR simulated visibility data using `WSClean`.
@@ -42,7 +42,7 @@ def wsclean(args, dryrun=False, logfile=None):
"""
tmpdir = tempfile.TemporaryDirectory()
cmd = [
- "wsclean", "-tempdir", tmpdir.name,
+ "wsclean", "-temp-dir", tmpdir.name,
] + [str(arg) for arg in args] # NOTE: Convert all arguments to strings
printlog("CMD: %s" % " ".join(cmd), logfile=logfile)
if dryrun:
@@ -193,7 +193,7 @@ def main():
if args.save_uv:
cmdargs += ["-saveuv"]
if args.circular_beam:
- cmdargs += ["-circularbeam"]
+ cmdargs += ["-circular-beam"]
if args.beam_size:
cmdargs += ["-beamsize", args.beam_size]
if args.wlayers: