chime-experiment / ch_util

CHIME utilities
https://chime-experiment.github.io/ch_util
MIT License
2 stars 3 forks source link

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

Closed rikvl closed 3 months ago

rikvl commented 6 months ago

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 commented 6 months ago

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 commented 3 months ago

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