Default behavior of CST importer is to create a dual pol beam

未关闭
#973 2 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 3 天内回复

@dannyjacobs 已经在做这个了。

开始于 2020年12月21日。

评估

这个 Issue 还没有评估数据。

描述

beams docs warning

On import of a single pol or feed beam the rotate_pol option sets whether to create an opposite polarization beam by rotating by 90 degrees. The default behavior is rotate_pol = True.

This became a problem when studying cross-coupling beams imported with the yaml methods, eg here.

This was hidden a bit by the rendering of the function call in readthedocs which shows the default value for this option as None. Things that would help here would be to have an explicit tutorial on importing CST beams and to somehow have the actual defaults show up in the function call.

The current solution for importing dual pol beams stored in the HERA-Beams repo is to downselect the "True"
polarization in each file and then concatenate the two together.

B05 = UVBeam()
B06 = UVBeam()
B05.read_beamfits('NF_CrossCouplingBeams/NF_HERA-Dipole_ccbeam_port05_E-field.fits')
B06.read_beamfits('NF_CrossCouplingBeams/NF_HERA-Dipole_ccbeam_port06_E-field.fits')
B05.select(feeds=['x'],inplace=True)
B06.select(feeds=['y'],inplace=True)
DUAL_POL_BEAM = B05 + B06
主要语言
Python
星标
103
派生
40
平均合并
4 天 11 小时
30 天内合并 PR
13

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

RadioAstronomySoftwareGroup/pyuvdata 的其他 Issue

查看 RadioAstronomySoftwareGroup/pyuvdata 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。