Skip to content

Commit

Permalink
docs: update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-murray authored and bhazelton committed Nov 5, 2024
1 parent 1178b17 commit 7f633a2
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]

1 comment on commit 7f633a2

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 2.

Benchmark suite Current: 7f633a2 Previous: 72dd3bc Ratio
tests/utils/test_bls.py::test_bls_to_ant[min=0-len=1000000] 40.180757154125764 iter/sec (stddev: 0.007696883263931737) 81.46199321708563 iter/sec (stddev: 0.0010344821860989051) 2.03
tests/uvdata/test_mwa_corr_fits.py::test_corr_fits_select_on_read 3.878853041638509 iter/sec (stddev: 0.32559953293821564) 8.150215609651752 iter/sec (stddev: 0.011753395552105592) 2.10

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.