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

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

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

@dannyjacobs đang làm issue này rồi.

Từ ngày 21/12/2020.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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
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.