Skip to content

Commit 6ee0081

Browse files
committed
update on documents
1 parent 78f5572 commit 6ee0081

File tree

18 files changed

+170
-33
lines changed

18 files changed

+170
-33
lines changed

docs/algorithms/dicom.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
.. _dicom:
2+
3+
.. toctree::
4+
:maxdepth: 2
5+
6+
=====================
7+
DICOM Import & Export
8+
=====================
9+
10+
.. automodule:: matRad.dicom
11+
:members:
12+
:undoc-members:
13+
:show-inheritance:
14+
:private-members:

docs/algorithms/dosecalc.rst

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
1-
.. _dose_calc:
1+
.. _dosecalc:
22

33
.. toctree::
44
:maxdepth: 2
55

66
================
77
Dose Calculation
8-
================
8+
================
9+
10+
.. automodule:: matRad.doseCalc
11+
:members:
12+
:undoc-members:
13+
:show-inheritance:
14+
:private-members:

docs/algorithms/optimization.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
.. _optimization:
2+
3+
============
4+
Optimization
5+
============
6+
7+
.. automodule:: matRad.optimization
8+
:members:
9+
:undoc-members:
10+
:show-inheritance:
11+
:private-members:

docs/api/config.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
.. _config:
2+
3+
The global configuration class
4+
==============================
5+
6+
matRad's global configuration class is used to set up the environment and configuration for the matRad application.
7+
It is implemented as a Singleton pattern and thus consistent throughout a matRad session.
8+
9+
At the core, the class handles user folders, caches the environment (Matlab/Octave), provides matRad's version, and stores default parameters.
10+
The class also provides logging functionality enabling control over output via log levels.
11+
12+
.. autoclass:: matRad.MatRad_Config
13+
:members:
14+
:undoc-members:
15+
:show-inheritance:
16+
:private-members:

docs/cite.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
.. _cite:
2+
3+
===================
4+
How to cite matRad?
5+
===================
6+
7+
.. _citepubs:
8+
Cite our publications
9+
---------------------
10+
11+
.. _citesoftware:
12+
Direct Software Citation (zenodo)
13+
---------------------------------
14+

docs/conf.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
version = "3.1.0"
88
release = "3.1.0"
99

10+
html_theme = "sphinx_rtd_theme" #pip install sphinx-rtd-theme
11+
1012
extensions = [
1113
'sphinx.ext.autodoc',
1214
'sphinxcontrib.matlab',
@@ -16,10 +18,12 @@
1618
primary_domain = "mat"
1719

1820
matlab_src_dir = os.path.join(os.path.dirname(__file__), '../')
19-
matlab_auto_link = "all"
21+
matlab_auto_link = "basic"
2022

2123
matlab_show_property_default_value = True
24+
matlab_show_property_specs = True
2225
matlab_class_signature = True
26+
matlab_short_links = True
2327

2428
autoclass_content = "both"
2529
autodoc_member_order = "bysource"

docs/datastructures/basedata/particles.rst

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
.. _basedata_particles:
22

3-
.. toctree::
4-
:maxdepth: 2
5-
63
========================
74
Particle Base Data File
85
========================
@@ -27,6 +24,7 @@ machine.meta.SAD
2724
^^^^^^^^^^^^^^^^
2825
This subfield holds the geometrical source to axis distance in millimeter. In case of the generic base data set, we use a value of 10000 [mm].
2926

27+
.. _BAMStoIsoDist:
3028
machine.meta.BAMStoIsoDist
3129
^^^^^^^^^^^^^^^^^^^^^^^^^^
3230
This subfield depicts the geometrical distance from the beam application monitoring system/beam nozzle to the isocenter. For the generic base data set we use a value of 2000 [mm].
@@ -41,7 +39,7 @@ This subfield contains an array of structures holding the corresponding depth-de
4139

4240
machine.data.energy
4341
^^^^^^^^^^^^^^^^^^^
44-
Initial beam energy in MeV/u.
42+
Initial beam energy in MeV/u. Internally, this is used mainly as an identifier for the entry and does not necessarily correspond to an exact energy at the nozzle, for example.
4543

4644
machine.data.depths
4745
^^^^^^^^^^^^^^^^^^^
@@ -57,7 +55,7 @@ This field allows to consider a pencil beam offset caused by passive beam line e
5755

5856
machine.data.Z
5957
^^^^^^^^^^^^^^
60-
This field holds the integrated depth dose profiles of the corresponding radiation modality. Regarding units, we refer to the base data section in the section :ref:`Dose influence matrix calculation <dose_calc>`.
58+
This field holds the integrated depth dose profiles of the corresponding radiation modality. Regarding units, we refer to the base data section in the section :ref:`Dose influence matrix calculation <dosecalc>`.
6159

6260
machine.data.sigma
6361
^^^^^^^^^^^^^^^^^^^
@@ -82,3 +80,7 @@ Relative weight between the narrow (sigma1) and the broad (sigma) Gaussian compo
8280
machine.data.initFocus
8381
^^^^^^^^^^^^^^^^^^^^^^
8482
Let numFoci be the number of available focus indices and machine.data.initFocus hold three subfields named 'dist', 'sigma' and 'SisFWHMAtIso' of the following dimensions numFoci x N, numFoci x N and numFoci x 1 whereas N indicates the number of values used in the look up table. SisFWHMAtIso describes for each focus index the initial FWHM at isocenter. In contrast, 'dist' and 'sigma' depict a look up table to model the particle beam spread in air. In the generic proton and carbon base data set we do not model beam widening in air from the beam nozzle to the patient surface (although the code is capable of). Therefore, machine.data.initFocus(1).sigma is a constant value over a distance from 0 to 20000 [mm].
83+
84+
machine.data.energySpectrum
85+
^^^^^^^^^^^^^^^^^^^^^^^^^^^
86+
Sotres the energyspectrum at the nozzle (whose distance is taken from BAMStoIsoDist__)
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.. _basedata_photons:
2+
3+
======================
4+
Photon Base Data File
5+
======================

docs/datastructures/cort.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.. _cort:
2+
3+
================
4+
The CORT Dataset
5+
================

docs/faq.rst

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,17 @@ Frequently Asked Questions
1010
While this site attempts to cover a set of frequently asked questions, it is not exhaustive.
1111
We suggest to visit our `GitHub Discussion Forum <https://github.com/e0404/matRad/discussions>`_ for Questions and Answers from the Community.
1212

13+
.. admonition:: How to cite matRad?
14+
:class: dropdown
15+
16+
If you use matRad, please consider :ref:`citing our publications <citepubs>` as well as :ref:`the software version <citesoftware>` you are using directly.
17+
18+
.. admonition:: Can I run matRad without a MATLAB installation?
19+
:class: dropdown
20+
21+
Yes, if you only need the graphical user interface you can also use the commpiled standalone.
22+
If you need to work with the code, check our :ref:`guide <octave>` on running matRad with `GNU Octave <http://www.octave.org>`_
23+
1324
.. admonition:: How can I model custom particle machines in matRad?
1425
:class: dropdown
1526

@@ -33,4 +44,3 @@ We suggest to visit our `GitHub Discussion Forum <https://github.com/e0404/matRa
3344
For further information refer to :
3445
* `matRad Issue #550 <https://github.com/e0404/matRad/issues/550>_`
3546
* `MATLAB Answers thread <https://de.mathworks.com/matlabcentral/answers/422244-why-do-buttons-apps-or-the-editor-in-matlab-respond-slowly-or-hang-on-macos>_`
36-

0 commit comments

Comments
 (0)