Bug in UVCal read of FHD calibration data?

Đang mở
#1,748 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 3 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
data

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Python
Star
103
Fork
40
Merge trung bình
4 ngày 11 giờ
Pull request đã merge (30 ngày)
13

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của RadioAstronomySoftwareGroup/pyuvdata

Tất cả issue của RadioAstronomySoftwareGroup/pyuvdata

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.