matrad
An open source multi-modality radiation treatment planning sytem developed by e0404 @ DKFZ
Science Score: 49.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 9 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (19.5%) to scientific vocabulary
Keywords
Repository
An open source multi-modality radiation treatment planning sytem developed by e0404 @ DKFZ
Basic Info
- Host: GitHub
- Owner: e0404
- License: other
- Language: MATLAB
- Default Branch: master
- Homepage: http://www.matRad.org
- Size: 1.41 GB
Statistics
- Stars: 252
- Watchers: 25
- Forks: 187
- Open Issues: 51
- Releases: 4
Topics
Metadata Files
README.md
Citable DOIs:
- General DOI:
- Latest Release:
General information
matRad is an open source treatment planning system for radiation therapy written in Matlab. It supports planning of intensity-modulated radiation therapy for mutliple modalities and is meant for educational and research purposes. IT IS NOT SUITABLE FOR CLINICAL USE (also see the no-warranty clause in the GPL license). The source code is maintained by a development team at the German Cancer Reserach Center - DKFZ in Heidelberg, Germany, and other contributors around the world. We are always looking for more people willing to help improve matRad. Do not hesitate and get in touch.
More information can be found on the project page at http://e0404.github.io/matRad/; a wiki documentation is under constant development at https://github.com/e0404/matRad/wiki.
Getting Started
If you want to quickly run matRad, start with the Quick Start below. Some information on the structure of matRad for more sustainable use is given afterwards.
Quick Start
Its the first time you want to use matRad?
First, get a local copy of matRad by download or git cloning. Having done that, we recommend you navigate into the folder in Matlab and execute
matRad_rc
which will setup the path & configuration and tell you the current version.
Then therere three options for a pleasant start with matRad. Choose one or try out each of them.
Option 1: Using the GUI
For an intuitive workflow with the graphical user interface, type
matRadGUI
in your command window. An empty GUI should be opened. Click the *Load.mat data-Button in the Workflow-section to load a patient. Set the plan and optimization parameters, calculate the dose influence matrix and execute the fluence optimization in the GUI.
Option 2: Using the main script
If you prefer scripting, open the default script matRad.m from the main matRad folder:
edit matRad.m
Use it to learn something about the code structure and execute it section by section.
You can also run the full script for an example photon plan by just typing
matRad
in your command window.
Option 3: Using the examples
The most time consuming but also most educational approach to matRad.
When in the main matRad folder, navigate to the folder examples. Open one of the examples given there. Execute it section by section. Move on to the next example afterwards.
Advanced information for new users
Folder Structure
Core Source Code
Most of the source code of matRad is located in the "matRad" subfolder. Within the first level of matRad, you find the functions handling the basic workflow steps. These functions have simple interfaces relying on matRad's main data structures ct, cst, stf, dij, resultGUI, and pln. Additionally, it contains MatRad_Config.m which is a singleton class implementation to handle global configuration of matRad. Check out the infos further below.
We try to keep the main workflow functions as consistent as possible, while the fine-grained implementation in the subfolders within matRad/* may undergo larger changes.
User Directory
By default, matRad adds the "userdata" folder to the path. It is the place to put your custom scripts, machine data, imported patients etc. Just follow the README files in the folders. Contents of this folder are added to the .gitignore and will thus be ignored during your development efforts, keeping your repository clean.
Third-Party & Submodules
Our ThirdParty-Tools used in matRad are stored in the thirdParty folder including licenses. Submodules contains references to used git repositories, and you might recognize that some dependencies appear both in submodules and thirdParty. This is mainly to maintain operation if the code is downloaded (and not cloned), and also helps us to maintain the build process of mex files built from source in the submodules (and then added to ThirdParty).
Tests
The "test" folder contains xUnit-Style tests based on the MOxUnit framework. You can run those tests by running matRad_runTests from the root directory. Check the README file within the test folder for more information.
MatRadConfig / matRadcfg
matRad maintains its global configuration, including some default parameters, as well as a logging mechanism with different levels, in the MatRadConfig.m class serving as a "singleton" throughout matRad. You will see many functions using a call like `matRadcfg = MatRadConfig.instance();, which will get you the global configuration anywhere in the code or in the command window. Alternatively,matRadrc` will return matRad_cfg as well.
Need help?
If you encounter problems with matRad, please consider the following guidelines before submitting issues on our github page.
- Check you are using the newest version of matRad.
- Please check the description of how to set up matRad and its technical documentation in the wiki.
- Go through the relevant examples and see if they answer your question (see Option 3 above!)
- Check open and closed issues for your question.
Still having problems? Then create an issue, provide a minimum example of your attempted workflow / what causes the problems and be patient!
Citing matRad
Scientific papers
If you use matRad in a scientific publication, consider citing the following paper:
Wieser, Hans-Peter, et al. "Development of the open-source dose calculation and optimization toolkit matRad." Medical Physics 44.6 (2017): 2556-2568.
BibTex entry:
@article{wieser2017development,
title={Development of the open-source dose calculation and optimization toolkit matRad},
author={Wieser, Hans-Peter and Cisternas, Eduardo and Wahl, Niklas and Ulrich, Silke and Stadler, Alexander and Mescher, Henning and M{\"u}ller, Lucas-Raphael and Klinge, Thomas and Gabrys, Hubert and Burigo, Lucas and others},
journal={Medical Physics},
volume={44},
number={6},
pages={2556--2568},
year={2017},
publisher={Wiley Online Library},
doi={10.1002/mp.12251}
}
Citing as Software
matRad's code also has its own general DOI with Zenodo:
You can cite specific versions of matRad in your work! For example, Here is the badge that lead's to the latest release of matRad:
Funding Sources
matRad developments (on this branch) were (in parts) funded by: - The German Research Foundation (DFG), Project No. 265744405 & 443188743 - The German Cancer Aid, Project No. 70113094 - The German Federal Ministry of Education and Research (BMBF), Project No. 01DN17048 - Mathworks Academic Research Support
Copyright 2022 the matRad development team.
matrad@dkfz.de
All the elements of the compilation of matRad and Ipopt are free software. You can redistribute and/or modify matRad's source code version provided as files with .m and .mat extension under the terms of the GNU GENERAL PUBLIC LICENSE Version 3 (GPL v3). You can also add to matRad the Ipopt functionality by using the precompiled mex files of the Ipopt optimizer in object code version which are licensed under the Eclipse Public License Version 1.0 (EPL v1.0), also made available for download via https://projects.coin-or.org/Ipopt. matRad also contains interfaces to an open-source photon Monte Carlo dose calculation engine developed by Edgardo Drner hosted on GitHub (http://github.com/edoerner/ompMC) and to the open-source proton Monte Carlo project MCsquare (www.openmcsquare.org) from UCLouvain, Louvain-la-Neuve, Belgium. Both interfaces are integrated into matRad as submodules.
In addition, we provide a matlab standalone version of the compilation of matRad and Ipopt, where the files of matRad and Ipopt are licensed under GPL v3 and EPL v1.0 respectively. The matlab standalone version is meant to be used by students for learning and practicing scientific programming and does not yet contain the interfaces to the aforementioned Monte Carlo dose calculation engines.
matRad is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Please note that we treat the compilation of matRad and Ipopt as separate and independent works (or modules, components, programs). Therefore, to the best of our understanding, the compilation of matRad and Ipopt is subject to the "Mere Aggregation" exception in section 5 of the GNU v3 and the exemption from "Contributions" in section 1. b) ii) of the EPL v1.0. Should this interpretation turn out to be not in compliance with the applicable laws in force, we have provided you with an additional permission under GNU GPL version 3 section 7 to allow you to use the work resulting from combining matRad with Ipopt.
You will receive a copy of the GPL v3 and a copy of the EPL v1.0 in the file LICENSE.md along with the compilation. If not, see http://www.gnu.org/licenses/ and/or http://opensource.org/licenses/EPL-1.0/.
Owner
- Name: e0404 @ DKFZ
- Login: e0404
- Kind: organization
- Email: n.wahl@dkfz.de
- Location: Heidelberg, Germany
- Website: http://www.dkfz.de/radopt
- Repositories: 2
- Profile: https://github.com/e0404
Research group Radiotherapy Optimization within the Division of Medical Physics in Radiation Oncology at the German Cancer Research Center
GitHub Events
Total
- Create event: 14
- Issues event: 45
- Watch event: 28
- Delete event: 2
- Issue comment event: 190
- Push event: 82
- Gollum event: 3
- Pull request review comment event: 29
- Pull request event: 64
- Pull request review event: 44
- Fork event: 14
Last Year
- Create event: 14
- Issues event: 45
- Watch event: 28
- Delete event: 2
- Issue comment event: 190
- Push event: 82
- Gollum event: 3
- Pull request review comment event: 29
- Pull request event: 64
- Pull request review event: 44
- Fork event: 14
Issues and Pull Requests
Last synced: 7 months ago
All Time
- Total issues: 42
- Total pull requests: 87
- Average time to close issues: about 1 month
- Average time to close pull requests: 27 days
- Total issue authors: 26
- Total pull request authors: 12
- Average comments per issue: 2.31
- Average comments per pull request: 1.36
- Merged pull requests: 55
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 25
- Pull requests: 40
- Average time to close issues: 14 days
- Average time to close pull requests: 5 days
- Issue authors: 16
- Pull request authors: 10
- Average comments per issue: 1.12
- Average comments per pull request: 1.05
- Merged pull requests: 23
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- Erada91 (6)
- edwardwang1 (3)
- Kilong (3)
- ni484call5 (2)
- ktkaamir (2)
- gleesoi (2)
- ferdymercury (2)
- wahln (2)
- MP1234567899 (2)
- Little-Stars520 (2)
- myy-imp (1)
- tjavidtash (1)
- tobiasbecher (1)
- stoyhris (1)
- yangshiyan (1)
Pull Request Authors
- amitantony (20)
- wahln (20)
- JenHardt (14)
- remocristoforetti (10)
- SimonaFa (7)
- Gattowski (5)
- Raedlr (4)
- ahmadnish (2)
- ferdymercury (2)
- Fabydan (1)
- mlapaeva (1)
- lisaseckler (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 2
- Total downloads: unknown
-
Total dependent packages: 0
(may contain duplicates) -
Total dependent repositories: 0
(may contain duplicates) - Total versions: 4
proxy.golang.org: github.com/e0404/matrad
- Documentation: https://pkg.go.dev/github.com/e0404/matrad#section-documentation
- License: other
-
Latest release: v3.1.0+incompatible
published over 1 year ago
Rankings
proxy.golang.org: github.com/e0404/matRad
- Documentation: https://pkg.go.dev/github.com/e0404/matRad#section-documentation
- License: other
-
Latest release: v3.1.0+incompatible
published over 1 year ago
Rankings
Dependencies
- GabrielBB/xvfb-action v1 composite
- actions/checkout v2 composite
- actions/upload-artifact v2 composite
- matlab-actions/run-command v1 composite
- matlab-actions/setup-matlab v1 composite