Skip to content

Commit

Permalink
docs: update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-murray committed Nov 5, 2024
1 parent 6149f4c commit d32869a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ All notable changes to this project will be documented in this file.
- Made it possible to *not* return the `interp_basis_vector` array from beam
interpolators.

### Fixed
- Initialization of analytic beams with single feed.

## [3.1.1] - 2024-10-28

### Fixed
Expand Down
6 changes: 6 additions & 0 deletions tests/test_analytic_beam.py
Original file line number Diff line number Diff line change
Expand Up @@ -562,3 +562,9 @@ def test_yaml_constructor_errors():
),
):
yaml.safe_load(input_yaml)["beam"]


def test_single_feed():
beam = GaussianBeam(diameter=14.0, feed_array=["x"], include_cross_pols=True)
assert beam.feed_array == ["x"]
assert beam.polarization_array == [-5]

0 comments on commit d32869a

Please sign in to comment.