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

Add input checks on analytic beam interp parameters #377

Closed bhazelton closed 2 years ago

bhazelton commented 2 years ago

Description

Add input checking to AnalyticBeam.interp to give clearer error messages.

Motivation and Context

fixes #374

Types of changes

Checklist:

For all pull requests:

Bug fix checklist:

codecov[bot] commented 2 years ago

Codecov Report

Merging #377 (73fd9a5) into main (c7c1456) will increase coverage by 0.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #377   +/-   ##
=======================================
  Coverage   99.14%   99.15%           
=======================================
  Files          13       13           
  Lines        1997     2001    +4     
=======================================
+ Hits         1980     1984    +4     
  Misses         17       17           
Impacted Files Coverage Δ
pyuvsim/analyticbeam.py 100.00% <100.00%> (ø)

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 c7c1456...73fd9a5. Read the comment docs.