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

Let Telescope objects be defined in a self-contained way in YAML #466

Open
steven-murray opened this issue May 15, 2024 · 0 comments
Open

Comments

@steven-murray
Copy link
Contributor

It would be nice if the telescope parameters were able to be defined in a single section of the configuration, e.g.:

telescope:
    name: hera
    antenna_numbers: ...
    etc.

It would be nice if this format could be baked into the Telescope object (in pyuvdata) so you could do Telescope.from_yaml(yamlfile), but it could also just be a pyuvsim function: telescope = read_telescope_yaml(yamlfile). We don't necessarily need to break the config format (we could still allow whatever keys were outside the telefile to exist outside, but also support them being inside the telescope: section).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants