Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make FlattenPol set flat_pol attribute of T maps and weights #136

Merged
merged 4 commits into from
Jan 22, 2024

Conversation

cailmdaley
Copy link
Contributor

FlattenPol sets the flat_pol attribute of QU maps and weights to keep track of whether a frame has been flattened, but does not set this attribute for T maps and weights. While FlattenPol does not affect T, a frame's T map is often used as a "stub" containing metadata for the generation of subsequent data products. As a result, polarized data products generated from a T stub will not inherit the flat_pol attribute as one might expect. After discussion with @arahlin, we decided to make FlattenPol modify flat_pol for T as well as Q and U.

Copy link
Member

@arahlin arahlin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@arahlin arahlin merged commit 7052169 into CMB-S4:master Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants