Splits in make_map does the opposite of what is expected
#1.141 geöffnet am 8. März 2025
Repository-Metriken
- Stars
- (17 Stars)
- PR-Merge-Metriken
- (PR-Metriken ausstehend)
Beschreibung
I was debugging why for single detector maps setting detector weights to isolate one det shows a different map than using data_splits. @skhrg pointed out that this section of the code does the opposite of what is expected: https://github.com/simonsobs/sotodlib/blob/11ed2ac345ef0a007daef9518007c576ac0ca4eb/sotodlib/coords/planets.py#L744-L759
I.e. it is cutting (group_cuts) samples marked in splits, while we would expect those to be kept and the rest cut.
Can be fixed by just adding an inversion, but unclear if this is how the code is intended to be used and I am just misunderstanding splits vs cuts. Thanks!