-
Notifications
You must be signed in to change notification settings - Fork 193
Feature/vhee #828
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/vhee #828
Conversation
|
First of all, this is great work, and udpated to the new dose engine structure and stf generators it looks really slim as well. Very nice addition. I reverted some merge issues you had on the original PR and fixed some small bugs. Also I made the GUI work, so you can now again easily run VHEE from the GUI as well. Both Focused and FermiEyges seem to work. Some things to work on:
Regarding the last point of directly forwarding to our TOPAS interface, we would need an energySpectrum (Gaussian) as well as an emittance parameterization (BiGaussian) for the energies stored within the machines. I think it mostly makes sense to start with the FermiEyges machine. Do we have this data for this machine already available by one of you guys? |
|
Great progress - updated: Add your names to the AUTHORS.txt and athe CITATION.cff file (authors are in alphabetical order
Review Documentation:
Implement Example:
Test Data Set:
TOPAS Engine VHEE Simulation:
|
|
The TOPAS engine now actually runs with VHEE. If you have TOPAS installed and the correct path set, or use the externalCalculation flag to write the files only. I will check if I can put this into the example. |
…eHongPencilBeamEngine, drop VHEE Engine due to only minor additions.
|
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## dev #828 +/- ##
==========================================
+ Coverage 53.68% 53.82% +0.14%
==========================================
Files 307 308 +1
Lines 19849 19947 +98
==========================================
+ Hits 10655 10737 +82
- Misses 9194 9210 +16 ☔ View full report in Codecov by Sentry. |
|
This PR was automatically marked as stale it has been open 30 days with no activity. Please review/update/merge this PR. |
|
This PR was automatically marked as stale it has been open 30 days with no activity. Please review/update/merge this PR. |
# Conflicts: # matRad/doseCalc/+DoseEngines/matRad_TopasMCEngine.m # matRad/gui/widgets/matRad_WorkflowWidget.m
* add stf test * fix stf generator default radiation mode setting
|
For the FermiEyges dataset, Monte Carlo forward dose calculation works and is now properly normalized. |
|
This PR was automatically marked as stale it has been open 30 days with no activity. Please review/update/merge this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds support for Very High Energy Electrons (VHEE) radiotherapy in matRad, extending the framework to support a new radiation modality. The implementation includes VHEE-specific steering generators, dose calculation engines, and GUI integration.
Key changes:
- Addition of VHEE radiation mode support across the codebase
- New VHEE steering file generator with single-energy beam capability
- Extended dose calculation engines to handle VHEE radiation
- GUI and workflow integration for VHEE treatment planning
Reviewed Changes
Copilot reviewed 20 out of 24 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
| test/steering/test_stfGeneratorVHEE.m | New comprehensive test suite for VHEE steering file generator |
| matRad/steering/matRad_StfGeneratorParticleVHEE.m | New VHEE-specific steering file generator class |
| test/doseCalc/test_baseEngine.m | Added VHEE test case for dose engine selection |
| test/doseCalc/test_TopasMCEngine.m | Extended TOPAS engine tests to handle VHEE radiation mode |
| matRad/doseCalc/+DoseEngines/matRad_TopasMCEngine.m | Added VHEE support to TOPAS Monte Carlo engine |
| matRad/doseCalc/+DoseEngines/matRad_ParticleHongPencilBeamEngine.m | Extended Hong pencil beam engine for VHEE |
| matRad/gui/widgets/matRad_PlanWidget.m | Added VHEE to GUI radiation mode options |
| examples/matRad_example20_VHEE.m | New example demonstrating VHEE treatment planning workflow |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
matRad/doseCalc/+DoseEngines/matRad_ParticlePencilBeamEngineAbstract.m
Outdated
Show resolved
Hide resolved
* Decision to name the default VHEE engine "Generic" instead of "FermiEyges" * Added documentation
Co-authored-by: Copilot <[email protected]>
# Conflicts: # test/doseCalc/test_HongPB.m


Combined work on VHEE post-Hackathon:
Fabio D'Andrea
Louis Ermeneux