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

オープン
#973 コメント 2 件 リアクション 0 件 担当者 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時間
マージ済み PR(30日)
13

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

RadioAstronomySoftwareGroup/pyuvdata のほかの issue

RadioAstronomySoftwareGroup/pyuvdata の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。