Skip to content

Commit

Permalink
Add processing bit to non-science shared mask (#765)
Browse files Browse the repository at this point in the history
* Add processing bit to non-science shared mask

* Fix unrelated typo in center lonlat offset
  • Loading branch information
tskisner authored Jun 17, 2024
1 parent 697eefd commit ee6c71e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/toast/observation.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ def set_default_values(values=None):
# composite masks for convenience
defaults["shared_mask_nonscience"] = (
defaults["shared_mask_invalid"]
| defaults["shared_mask_processing"]
| defaults["shared_mask_unstable_scanrate"]
| defaults["shared_mask_irregular"]
)
Expand Down
2 changes: 1 addition & 1 deletion src/toast/pointing_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def scan_range_lonlat(
lon = list()
lat = list()
for idet, detquat in enumerate(detquats):
dquats = qa.mult(bore_quats, detquat)
dquats = qa.mult(bore_quats[rank_slice, :], detquat)
det_lon, det_lat = center_offset_lonlat(
dquats,
center_offset=center_lonlat,
Expand Down

0 comments on commit ee6c71e

Please sign in to comment.