Skip to content

Add Dose Calculation GUI Tool#545

Merged
fderuiter merged 3 commits intomainfrom
glassblower/dose-calculation-5327884227567239582
Feb 19, 2026
Merged

Add Dose Calculation GUI Tool#545
fderuiter merged 3 commits intomainfrom
glassblower/dose-calculation-5327884227567239582

Conversation

@fderuiter
Copy link
Owner

Implemented the "Dose Calculation" feature in the math_explorer_gui application.

  1. Created math_explorer_gui/src/tabs/medical/mod.rs to manage medical physics tools.
  2. Created math_explorer_gui/src/tabs/medical/dose.rs to visualize radiation dose using an exponential kernel.
  3. Integrated the new tab into MathExplorerApp in src/app.rs.
  4. Verified correctness with cargo check and cargo test.
  5. Updated todo_gui.md to reflect progress.
    Skipped "Band Structure" and "Ising Model" as the underlying math logic is missing in math_explorer.

PR created automatically by Jules for task 5327884227567239582 started by @fderuiter

- Introduced `MedicalTab` implementing `ExplorerTab` (Strategy Pattern).
- Implemented `DoseCalculationTool` using `ExponentialKernel` for 2D dose visualization.
- Used `ColorImage` for heatmap generation to ensure compatibility with `egui`.
- Adhered to "Glassblower" persona: high cohesion, clean architecture.
- Updated `todo_gui.md`.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
@google-labs-jules
Copy link
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

fderuiter and others added 2 commits February 18, 2026 23:48
… list. Here are the details of the changes:

- Implemented `DoseCalculationTool` in `math_explorer_gui`.
- Added `MedicalTab` to the main app.
- Updated `todo_gui.md` to mark "Dose Calculation" as finished.
- Updated `todo_gui.md` to note skipped Solid State items due to missing logic in `physics::solid_state`.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
- Updated `math_explorer_gui` window title to "Math Explorer".
- Updated `README.md` to list all currently implemented GUI features:
    - Medical (Dose Calculation)
    - Chaos (Attractors, Bifurcation, Fractals)
    - Quantum (Schrödinger, Wavefunction, Clebsch-Gordan)
    - Solid State (Crystal Viewer)
- Aligned documentation with the current state of `todo_gui.md`.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
@fderuiter fderuiter marked this pull request as ready for review February 19, 2026 02:59
@fderuiter fderuiter merged commit ec0857e into main Feb 19, 2026
1 check passed
@fderuiter fderuiter deleted the glassblower/dose-calculation-5327884227567239582 branch February 19, 2026 02:59
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