Skip to content

Commit

Permalink
re-enable setting limits
Browse files Browse the repository at this point in the history
  • Loading branch information
SpheMakh committed Jan 4, 2019
1 parent cf2768b commit 0be309b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions simms/casasm.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,9 @@ def toFloat(val):
else:
raise RuntimeError('Observatory name is not known, please provide antenna configuration')

# if shadow_limit or elevationlimit:
# sm.setlimits(shadowlimit=shadow_limit or 0,elevationlimit=elevation_limit or 0)
# sm.setauto(autocorrwt=1.0 if auto_corr else 0.0)
if shadow_limit or elevation_limit:
sm.setlimits(shadowlimit=shadow_limit or 0,elevationlimit=elevation_limit or 0)
sm.setauto(autocorrwt=1.0 if auto_corr else 0.0)
sm.setfeed(mode=feed)

# set date to today (start of observation) if not set by user
Expand Down

0 comments on commit 0be309b

Please sign in to comment.