simonsobs / sotodlib

Simons Observatory: Time-Ordered Data processing library.
MIT License
16 stars 19 forks source link

Fixing the flags object following FlagManager implementation #904

Closed tanaybhandarkar closed 4 months ago

tanaybhandarkar commented 4 months ago

Following the merge to introduce FlagManagers, the code to generate a mock set of glitch flags in make_ml_map broke. This PR adds a bit of code to incorporate the changes already introduced in PR #891 and adjusts the actual object added to obs.flags to be of correct shape and format.