Bug in UVCal read of FHD calibration data?

オープン
#1,748 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 3 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python
領域
data

調査の方向性

Start in pyuvdata/uvcal/fhd_cal.py where gain_array is built, and compare it with the read-in conjugation applied in pyuvdata/uvdata/fhd.py. Then trace utils.uvcalibrate to see how flip_gain_conj is applied when forming g_1 g_2^* versus g_1^* g_2. Check existing FHD calibration tests and add a case that compares calibrated visibilities with model visibilities; done means the gain convention matches FHD and the test pins it down.

索引モデルが issue の本文から書いたものです。

説明

In uvdata.fhd the visibilities are conjugated on read-in to create the data_array because the FHD convention is supposed to be flipped. However a similar conjugation doesn’t happen in uvcal.fhd_cal on creating the gain_array. So $v_{ij}$ seems to be conjugated for FHD but not $g_{ij}$.

I guess because of that, when applying utils.uvcalibrate with a UVCal object created from a calh5 file converted with UVCal from the original FHD files, I get a better result if I set flip_gain_conj=True than if I don’t, i.e. if the calibration is applied with $g_1^* g_2$ instead of $g_1 g_2^*$. (By “better result” I mean I see a smaller magnitude difference between the calibrated visibilities and the model visibilities.)

It may be worth mentioning that FHD (in FHD/fhd_core/calibration/vis_calibration_apply.pro) currently follows the conjugation convention $g_1 g_2^*$ for the gains on antennas 1 and 2 — the opposite of the convention set by flip_gain_conj=True.

主要言語
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 を短くまとめたダイジェスト。