Skip to content

3d array compatibility#25

Merged
paulmueller merged 11 commits into
RI-imaging:masterfrom
PinkShnack:3d_array_compatibility
Jun 16, 2026
Merged

3d array compatibility#25
paulmueller merged 11 commits into
RI-imaging:masterfrom
PinkShnack:3d_array_compatibility

Conversation

@PinkShnack

@PinkShnack PinkShnack commented Apr 28, 2026

Copy link
Copy Markdown
Member

As discussed in #23, I want to make nrefocus 3d array compatible as I did with qpretrieve.

Here it is a little smarter, and "less" of a breaking change compared to qpretrieve. The return shape will simply be the same as the input array shape. Which makes logical sense and is just an extension of the current options of 1D and 2D inputs. It's something to think about regarding the previous breaking change in qpretrieve; we could make the array handling similar to this.

todos

  • update changelog
  • make nrefocus 3d array compatible
  • tests and examples run with 3d inputs
  • back-compatible

@paulmueller

Copy link
Copy Markdown
Member

Please remove draft state to indicate that it is ready for review.

@PinkShnack PinkShnack marked this pull request as ready for review May 29, 2026 11:07
@PinkShnack

Copy link
Copy Markdown
Member Author

FYI @paulmueller this is ready for review

Comment thread docs/sec_getting_started_basics.rst
Comment thread nrefocus/iface/base.py Outdated
@PinkShnack

Copy link
Copy Markdown
Member Author

Should be ready now!

Comment thread docs/sec_3d_stacks.rst Outdated
Comment thread nrefocus/iface/base.py
@paulmueller paulmueller merged commit 96eba1f into RI-imaging:master Jun 16, 2026
6 checks passed
@PinkShnack PinkShnack deleted the 3d_array_compatibility branch June 18, 2026 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants