RadioAstronomySoftwareGroup / RadioAstronomySoftwareGroup/pyuvsim

uvdata_to_telescope_config doesn't pass baseline subsets

Open
#508 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.