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

feat(tools): add function to convert beam index #68

Merged
merged 2 commits into from
Jun 7, 2024
Merged

Conversation

rikvl
Copy link
Contributor

@rikvl rikvl commented Mar 14, 2024

A convenience function to convert from beam indices going from 0 through 1023 to the ones used in the CHIME/FRB beam_model package (and other places?) that are of the form 0-255, 1000-1255, etc.

@jrs65
Copy link
Contributor

jrs65 commented Mar 18, 2024

The function looks fine. I would question if this is the right repo for this one. Do we have much other HFB code in ch_util? The beam indices aren't used anywhere in the cosmology pipeline. If there isn't anything else, I would just put this into ch_pipeline

@arashcosmology
Copy link
Member

It looks fine. Please just add a description for the parameter beam_index.

@rikvl rikvl merged commit 85202e5 into master Jun 7, 2024
4 checks passed
@rikvl rikvl deleted the rvl/beam-index branch June 7, 2024 16:09
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.

3 participants