RadioAstronomySoftwareGroup / pyuvsim

A ultra-high precision package for simulating radio interferometers in python on compute clusters.
https://pyuvsim.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
43 stars 7 forks source link

Fix autos #401

Closed bhazelton closed 2 years ago

bhazelton commented 2 years ago

Description

Use the new fix_autos keyword in pyuvdata to fix autos to be real on file write-out (if the pyuvdata version is high enough).

Also fix some test errors associated with recent pyuvdata updates and fill in some missing recent info from the changelog.

Motivation and Context

fixes #399

Types of changes

Checklist:

For all pull requests:

New feature checklist:

codecov[bot] commented 2 years ago

Codecov Report

Merging #401 (8ba2115) into main (771e491) will increase coverage by 0.00%. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #401   +/-   ##
=======================================
  Coverage   99.34%   99.34%           
=======================================
  Files          13       13           
  Lines        2126     2131    +5     
=======================================
+ Hits         2112     2117    +5     
  Misses         14       14           
Impacted Files Coverage Δ
pyuvsim/utils.py 98.17% <100.00%> (+0.05%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 771e491...8ba2115. Read the comment docs.

bhazelton commented 2 years ago

Users who have pyuvdata < 2.2.7 may have slightly complex autos, but they won't be prevented from writing out those files. The code to check that autos were real was introduced in 2.2.7.