Skip to content

Conversation

@connoraird
Copy link
Contributor

@connoraird connoraird commented Oct 17, 2025

Description

Ported straight forward functions in observations

Some functionality previously implemented here has been split out into PR-681 and PR-680

Closes: #410

Changelog entry

Added: Ported several functions within observations and one in lensing to the array-api (#410)

Checks

  • Is your code passing linting?
  • Is your code passing tests?
  • Have you added additional tests (if required)?
  • Have you modified/extended the documentation (if required)?
  • Have you added a one-liner changelog entry above (if required)?

@connoraird connoraird changed the title Connor/issue 410 gh-410 and gh-676: Port straightforward function in observations and remove UnifiedGenerator Oct 17, 2025
@connoraird connoraird changed the base branch from main to connor/issue-409 October 17, 2025 12:14
@connoraird connoraird requested a review from paddyroddy October 17, 2025 12:48
@connoraird connoraird self-assigned this Oct 17, 2025
@connoraird connoraird requested a review from ntessore October 17, 2025 13:22
Copy link
Member

@paddyroddy paddyroddy left a comment

Choose a reason for hiding this comment

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

I started reviewing, but I think this PR is too big. Can we split some of this stuff up?

Incidentally I was doing some of this myself, but you beat me to it haha

Base automatically changed from connor/issue-409 to main October 17, 2025 16:29
@connoraird connoraird marked this pull request as draft October 17, 2025 16:57
@connoraird connoraird changed the base branch from main to connor/issue-679 October 17, 2025 17:08
@connoraird connoraird requested review from paddyroddy and removed request for ntessore and paddyroddy October 17, 2025 17:11
@connoraird connoraird added the array-api Work is related to the Array API label Oct 17, 2025
@connoraird connoraird changed the title gh-410 and gh-676: Port straightforward function in observations and remove UnifiedGenerator gh-410: Port straightforward function in observations Oct 20, 2025
@connoraird connoraird marked this pull request as ready for review October 20, 2025 08:34
@connoraird connoraird requested a review from paddyroddy October 20, 2025 08:34
@connoraird connoraird changed the title gh-410: Port straightforward function in observations gh-410: Port straightforward functions in observations Oct 20, 2025
@connoraird
Copy link
Contributor Author

This may rely on #681 before the tests will pass

@paddyroddy paddyroddy marked this pull request as draft October 20, 2025 09:57
@paddyroddy
Copy link
Member

Converted to draft until tests pass

Base automatically changed from connor/issue-679 to main October 20, 2025 13:03
@connoraird connoraird marked this pull request as ready for review October 20, 2025 13:22
Copy link
Member

@paddyroddy paddyroddy left a comment

Choose a reason for hiding this comment

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

Main thing just to update docstrings

@connoraird connoraird requested a review from paddyroddy October 20, 2025 14:15
Copy link
Member

@paddyroddy paddyroddy left a comment

Choose a reason for hiding this comment

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

One thought

@connoraird connoraird requested a review from paddyroddy October 22, 2025 09:00
@paddyroddy
Copy link
Member

Need to remove pytest.approx

@connoraird
Copy link
Contributor Author

Need to remove pytest.approx

Done

@paddyroddy
Copy link
Member

Docs failing

@connoraird connoraird requested a review from paddyroddy October 22, 2025 13:23
@connoraird connoraird merged commit f87a698 into main Oct 22, 2025
12 checks passed
@connoraird connoraird deleted the connor/issue-410 branch October 22, 2025 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

array-api Work is related to the Array API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Array API: port straightforward functions in observations

3 participants