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

HitsBinner module to compute simple hits maps #116

Merged
merged 5 commits into from
Sep 26, 2023
Merged

Conversation

arahlin
Copy link
Member

@arahlin arahlin commented Aug 30, 2023

This module has the same functionality as the MapBinner, but emits map frames that contain only a single H (hits) map.

This option is particularly useful for creating hits maps without storing the
Stokes parameters.
@arahlin arahlin requested a review from nwhitehorn August 30, 2023 00:10
@arahlin arahlin self-assigned this Aug 30, 2023
Copy link
Member

@nwhitehorn nwhitehorn left a comment

Choose a reason for hiding this comment

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

This is a pretty invasive patch, and I wonder if there are easier ways to implement it that don't pessimize the normal operating case. For example, I suspect that running with store_stokes_map = False only uses a little less RAM than when store_stokes_map = True and is only very marginally faster, if at all; couldn't you implement this patch more simply by simply not storing the real map at the end? I guess I'm a little unclear on the use case here.

maps/src/MapBinner.cxx Outdated Show resolved Hide resolved
maps/src/MapBinner.cxx Outdated Show resolved Hide resolved
maps/src/MapBinner.cxx Outdated Show resolved Hide resolved
maps/src/MapBinner.cxx Outdated Show resolved Hide resolved
@arahlin arahlin marked this pull request as draft September 25, 2023 19:32
Copy link
Member

@nwhitehorn nwhitehorn left a comment

Choose a reason for hiding this comment

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

Sweet

@arahlin arahlin changed the title Optionally compute only weights with MapBinner HitsBinner module to compute simple hits maps Sep 26, 2023
@arahlin arahlin marked this pull request as ready for review September 26, 2023 20:05
@arahlin arahlin merged commit fb9b986 into master Sep 26, 2023
1 check passed
@arahlin arahlin deleted the weights_only_maps branch September 26, 2023 20:21
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