RadioAstronomySoftwareGroup / RadioAstronomySoftwareGroup/pyuvsim
uvdata_to_telescope_config doesn't pass baseline subsets
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 54
- Forks
- 11
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 8
Description
If you load a UVData object, run select on it to eliminate some baselines, and then create a yaml file, all the baselines still get simulated. One solution would be for this method check the baseline_array and then pass the list of actually existent baselines to the select keyword in the yaml file. There may be other things that don't get passed to the yaml file too (frequencies seems to work, at least).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with uvdata_to_telescope_config and trace how the UVData baseline_array is converted into the generated YAML configuration. Reproduce the issue by selecting out baselines before creating the YAML file, then verify that the YAML select settings contain only the remaining baselines and that the simulation preserves that subset.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100