Skip to content

224 dehydration hydration UI - #225

Open
JeanBilheux wants to merge 2 commits into
cabouman:mainfrom
JeanBilheux:224_dehydration_hydration_ui
Open

224 dehydration hydration UI#225
JeanBilheux wants to merge 2 commits into
cabouman:mainfrom
JeanBilheux:224_dehydration_hydration_ui

Conversation

@JeanBilheux

Copy link
Copy Markdown

This is a UI that performs the dehydration/hydration and that could be a friendly way for users to access this functionality of mbirjax.
Screenshot 2026-08-14 at 4 19 28 PM

JeanBilheux and others added 2 commits August 14, 2026 20:23
…uman#224)

Import the rust_dehydration_hydration egui app into the repository as
dehydration_hydration_ui/ and switch its compute path from the bundled
native Rust port to the local mbirjax Python library:

- src/py_bridge.rs + python/run_hyper_denoise.py: the (points x bands)
  matrix crosses as .npy files, the bridge script loads mbirjax/hsnt.py
  from this checkout (skipping the package __init__ so jax is not
  required), streams ##PROGRESS/##VERSION lines back, and Cancel kills
  the interpreter.
- The correction and the "Auto" material-count estimation both run in
  mbirjax.hsnt (hyper_denoise / _estimate_subspace_dimension); the
  reported library version shows in the About dialog and is recorded in
  the exported correction_config.json provenance.
- The native port (hsnt.rs/nmf.rs/linalg.rs) stays for unit tests
  (run_correction_native) and the cross_check example only.

Verified: cargo test (31 passed) and a headless end-to-end run on a
synthetic TIFF stack through the bridge (mbirjax 0.7.2).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Only the MBIRJAX logo (theme-matched variant) is shown at the
bottom-left of the window.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.

1 participant