Skip to content

Commit

Permalink
Add missing stretch parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
darafferty committed Nov 8, 2018
1 parent 0864dad commit bb531f9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Initial-Subtract-IDG.parset
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions scripts/InitSubtract_sort_and_compute.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit bb531f9

Please sign in to comment.