From bb531f9abd5a594554d07da9f0daa9eda9623b77 Mon Sep 17 00:00:00 2001 From: David Rafferty Date: Thu, 8 Nov 2018 09:38:55 +0100 Subject: [PATCH] Add missing stretch parameters --- Initial-Subtract-IDG.parset | 2 ++ scripts/InitSubtract_sort_and_compute.py | 3 +++ 2 files changed, 5 insertions(+) diff --git a/Initial-Subtract-IDG.parset b/Initial-Subtract-IDG.parset index ed510529..28a8935d 100644 --- a/Initial-Subtract-IDG.parset +++ b/Initial-Subtract-IDG.parset @@ -129,6 +129,8 @@ do_magic.argument.fieldsize_highres = {{ fieldsize_highres }} do_magic.argument.fieldsize_lowres = {{ fieldsize_lowres }} do_magic.argument.image_padding = {{ image_padding }} do_magic.argument.calc_y_axis_stretch = False +do_magic.argument.apply_y_axis_stretch_highres = False +do_magic.argument.apply_y_axis_stretch_lowres = True # convert the output of do_magic into usable mapfiles, len = 1 / different do_magic_maps.control.kind = plugin diff --git a/scripts/InitSubtract_sort_and_compute.py b/scripts/InitSubtract_sort_and_compute.py index b0ac2a71..1bd14436 100755 --- a/scripts/InitSubtract_sort_and_compute.py +++ b/scripts/InitSubtract_sort_and_compute.py @@ -301,6 +301,9 @@ def main(ms_input, outmapname=None, mapfile_dir=None, cellsize_highres_deg=0.002 print "InitSubtract_sort_and_compute.py: Using y-axis stretch of:",y_axis_stretch y_axis_stretch_lowres = y_axis_stretch y_axis_stretch_highres = y_axis_stretch + else: + y_axis_stretch_lowres = 1.0 + y_axis_stretch_highres = 1.0 # Adjust sizes so that we get the correct ones below if not apply_y_axis_stretch_highres: