RadioAstronomySoftwareGroup / RadioAstronomySoftwareGroup/pyuvsim

Speed up apply_beam

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

Nobody has claimed this yet.

enhancement needs research performance
Dominant language
Python
Stars
54
Forks
11
Avg merge
2d 17h
Merged PRs (30d)
8

Description

apply_beam in uvsim.py interpolates the beam for every antenna in every baseline. In principle, we only need to interpolate the beam once per unique beam and find a way to reuse it when an antenna using that beam shows up in another pair. We may need shared memory to do this, so the architecture requires more thought.

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 in uvsim.py at apply_beam and trace how beam interpolation is performed for antennas and baselines. Investigate how unique beams could be identified and reused, including whether shared memory is needed; done means avoiding repeated interpolation while preserving the simulation architecture.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
performance
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.