Skip to content

Commit

Permalink
docs: fix docstring for return_basis_vector
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-murray committed Oct 30, 2024
1 parent 5e7c2f2 commit c64fa02
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/pyuvdata/uvbeam/uvbeam.py
Original file line number Diff line number Diff line change
Expand Up @@ -2086,7 +2086,8 @@ def interp(
applies for `az_za_simple` interpolation.
return_basis_vector : bool
Whether to return the interpolated basis vectors. Prior to v3.1.1 these
were always returned. Now they are not by default.
were always returned. In v3.3+ they will _not_ be returned by default
(and not computed by default, unless new_object=True).
Returns
-------
Expand Down Expand Up @@ -2120,7 +2121,8 @@ def interp(
warnings.warn(
"The default value for `return_basis_vector` is True, but in v3.3 it "
"will be set to False. Silence this warning by explicitly setting it "
" to either True or False."
" to either True or False.",
category=DeprecationWarning,
)

if interpolation_function is None:
Expand Down

0 comments on commit c64fa02

Please sign in to comment.