Skip to content

Commit 568f3dd

Browse files
committed
dissable setlimits in casa
1 parent f3d739f commit 568f3dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

simms/casasm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,8 @@ def toFloat(val):
186186
usehourangle = True,
187187
referencetime = ref_time)
188188

189-
if setlimits:
190-
sm.setlimits(shadowlimit=shadow_limit,elevationlimit=elevation_limit)
189+
190+
sm.setlimits(shadowlimit=shadow_limit or 0,elevationlimit=elevation_limit or 0)
191191
sm.setauto(autocorrwt=0.0)
192192

193193
start_times = map(str,np.arange(start_time,synthesis+start_time,scan_length)*3600)

0 commit comments

Comments
 (0)