-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from simonsobs/add-flex
Add flex policy
- Loading branch information
Showing
5 changed files
with
8,882 additions
and
5,466 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
from .basic import config as basic_config | ||
from .flex import config as flex_config | ||
|
||
CONFIGS = { | ||
'basic': basic_config | ||
'basic': basic_config, | ||
'flex': flex_config | ||
} | ||
def get_default_config(name): | ||
return CONFIGS.get(name, {}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
config = """ | ||
blocks: | ||
calibration: | ||
saturn: | ||
type: source | ||
name: saturn | ||
moon: | ||
type: source | ||
name: moon | ||
rules: | ||
- name: sun-avoidance | ||
min_angle_az: 45 | ||
min_angle_alt: 45 | ||
time_step: 30 | ||
n_buffer: 10 | ||
- name: make-drift-scan | ||
block_query: calibration | ||
array_query: full | ||
el_bore: 50 | ||
drift: true | ||
post_rules: | ||
- name: min-duration | ||
min_duration: 600 | ||
merge_order: | ||
- moon | ||
- saturn | ||
geometries: | ||
full: | ||
left: | ||
ws6: | ||
center: | ||
- -10.9624 | ||
- 6.46363 | ||
radius: 6 | ||
ws5: | ||
center: | ||
- -10.9624 | ||
- -6.46363 | ||
radius: 6 | ||
middle: | ||
ws1: | ||
center: | ||
- 0 | ||
- 12.634 | ||
radius: 6 | ||
ws0: | ||
center: | ||
- 0 | ||
- 0 | ||
radius: 6 | ||
ws4: | ||
center: | ||
- 0 | ||
- -12.634 | ||
radius: 6 | ||
right: | ||
ws2: | ||
center: | ||
- 10.9624 | ||
- 6.46363 | ||
radius: 6 | ||
ws3: | ||
center: | ||
- 10.9624 | ||
- -6.46363 | ||
radius: 6 | ||
""" |
Oops, something went wrong.