Skip to content

Commit

Permalink
Observe elevation limits in SSO scheduling (#408)
Browse files Browse the repository at this point in the history
  • Loading branch information
keskitalo authored Jun 19, 2021
1 parent 7c16d33 commit 5a1436e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/toast/schedule.py
Original file line number Diff line number Diff line change
Expand Up @@ -2459,7 +2459,14 @@ def parse_patch_sso(args, parts):
name = parts[0]
weight = float(parts[2])
radius = float(parts[3]) * degree
patch = SSOPatch(name, weight, radius, elevations=args.elevations_deg)
patch = SSOPatch(
name,
weight,
radius,
el_min=args.el_min_deg * degree,
el_max=args.el_max_deg * degree,
elevations=args.elevations_deg,
)
return patch


Expand Down

0 comments on commit 5a1436e

Please sign in to comment.