RadioAstronomySoftwareGroup / RadioAstronomySoftwareGroup/pyuvdata

uvbeam fails to read CST files with proper-case headers and does not appear to handle directivities/e-field amplitudes in dBi

Open
#437 2 comments 0 reactions 1 assignee View on GitHub

@aewallwi is already working on this.

Since Aug 9, 2018.

beams enhancement
Dominant language
Python
Stars
102
Forks
35
Avg merge
1d 20h
Merged PRs (30d)
14

Description

cst_beam fails to read the following header from a standard CST output file

Theta [deg.] Phi [deg.] Abs(Dir.)[dBi ] Abs(Theta)[dBi ] Phase(Theta)[deg.] Abs(Phi )[dBi ] Phase(Phi )[deg.] Ax.Ratio[dB ] ------------------------------------------------------------------------------------------------------------------------------------------------------

This appears to be for two reasons

  • The [dBi] unit indicators are not accomodated by read_cst_beam
  • read_cst_beam assumes that all column names are lower case.

read_cst_beam should not break on the [dBi ] tags, and read in the beam with dBi units and should also allow for arbitrary cases.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.