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

Telescope class using externally-defined beam model #112

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

sjforeman
Copy link
Contributor

This ports existing code in ch_pipeline over to driftscan, so that we can perform simulations for non-CHIME telescopes with arbitrary primary beam models.

I've also resolved an annoying complex-to-real conversion warning in the power spectrum estimation code.

@sjforeman sjforeman requested a review from jrs65 August 25, 2022 19:16
@sjforeman sjforeman marked this pull request as draft August 25, 2022 19:42
@sjforeman
Copy link
Contributor Author

I'd forgotten that this relies on beam model containers from draco, but driftscan currently has no draco dependency, and we wouldn't want to create circular dependencies between the two. One option would be to move these routines into ch_pipeline, which already depends on draco.

Until we decide what to do, I've converted this into a draft.

…r HEALPixBeam

The beam dataset in HEALPixBeam is a structured np.dtype that can't pass the np.issubclass_
check. This patch extracts and checks the types of the dtype fields explicitly.

This issue was noticed in ch_pipeline and fixed by Alex Reda.
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.

1 participant