Skip to content

Commit 3e82ecb

Browse files
committed
documentation update setup
1 parent d024ba3 commit 3e82ecb

File tree

3 files changed

+68
-6
lines changed

3 files changed

+68
-6
lines changed

docs/conf.py

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

10-
extensions = ['sphinxcontrib.matlab', 'sphinx.ext.autodoc']
10+
extensions = [
11+
'sphinx.ext.autodoc',
12+
'sphinxcontrib.matlab',
13+
'sphinxcontrib.youtube',
14+
]
1115
primary_domain = "mat"
1216

1317
matlab_src_dir = os.path.join(os.path.dirname(__file__), '../')

docs/index.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,17 +48,18 @@ Please send us an email if you want to receive the matRad newsletter that inform
4848
Quick Navigation
4949
^^^^^^^^^^^^^^^^
5050

51-
+----------------+---------------+--------------------------+
52-
| :ref:`about` | Quick Setup | :ref:`techdoc` |
53-
+================+===============+==========================+
54-
| |icon_about| | |icon_setup| | |icon_techdoc| |
55-
+----------------+---------------+--------------------------+
51+
+----------------+--------------------------------+-----------------+
52+
| :ref:`about` | :ref:`Quick Setup <settingup>` | :ref:`techdoc` |
53+
+================+================================+=================+
54+
| |icon_about| | |icon_setup| | |icon_techdoc| |
55+
+----------------+--------------------------------+-----------------+
5656

5757
|matRad_logo_subheader| Webinars
5858
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
5959

6060
If you like video lectures and tutorials, you can also have a look at the recording of the matRad webinar at the brown bag medical physics seminar at Massachusetts General hospital on `Youtube <https://www.youtube.com/watch?v=40_n7BIqLdw>`_.
6161

62+
.. youtube:: 40_n7BIqLdw
6263

6364
Centers using |matRad_logo_subheader|
6465
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

docs/settingup.rst

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
.. |matRad_logo_header| image:: ../matRad/gfx/matRad_logo.png
2+
:width: 130 px
3+
:alt: matRad
4+
:target: https://www.matRad.org
5+
6+
.. |matRad_logo| image:: ../matRad/gfx/matRad_logo.png
7+
:width: 60 px
8+
:alt: matRad
9+
:target: https://www.matRad.org
10+
11+
.. _settingup:
12+
13+
===============================
14+
Setting Up |matRad_logo_header|
15+
===============================
16+
17+
To get |matRad_logo| running you have two options:
18+
19+
1. Source Code for people with Matlab installation:
20+
---------------------------------------------------
21+
22+
If you have MATLAB you can just `get a local copy of the source code <How-to-get-a-local-copy>`_. Then you have to choose whether you want to `use the GUI <How-to-execute-matRadGUI>`_ or `execute the main script <How-to-execute-matRad>`_.
23+
24+
2. Standalone installation:
25+
---------------------------
26+
If you do not have MATLAB installed on your PC you are restricted to use |matRad_logo|'s standalone application. For this option a MATLAB installation is not required. The installer is available for Windows, Mac and Linux `with the latest release <https://github.com/e0404/matRad/releases/latest>`_.
27+
28+
Steps for installation:
29+
1. Download the |matRad_logo| installer of the latest `Release <https://github.com/e0404/matRad/releases/latest>`_ to your system (`Win64 <https://github.com/e0404/matRad/releases/download/v2.10.1/matRad_installerWin64_v2.10.1.exe>`_, `Mac64 <https://github.com/e0404/matRad/releases/download/v2.10.1/matRad_installerMac64_v2.10.1.dmg>`_, `Linux64 <https://github.com/e0404/matRad/releases/download/v2.10.1/matRad_installerLinux64_v2.10.1.install>`_)
30+
31+
2. Run the respective installer for your system
32+
33+
* **Windows**: Run the downloaded executable installer
34+
* **Linux**: Run the executable install script. Make sure that the ``*.install`` file has executable permissions.
35+
* **Mac**: Here we provide a dmg containing the installer (Since the installer is not Apple-certified, you might explicitly launch it from the terminal or by right-click and then open).
36+
37+
After that, you should be guided through the installation process.
38+
Note that the installers will want to download the "Matlab Runtime" from Mathworks in the process. The runtime is quite large (~2GB) and is required to run compiled deployed applications written in Matlab.
39+
40+
3. Run |matRad_logo|:
41+
42+
* **Windows**: Just like with every other program, you should have a desktop icon.
43+
* **Mac**: Per default |matRad_logo| will be installed to ``/Applications/matRad``. To run |matRad_logo| navigate to ``/Applications/matRad/applications`` and double click or right click -> open on the ``matRad.app`` application. The first startup might take a few seconds.
44+
45+
.. note::
46+
An installation warning appears that |matRad_logo| is from an unverified developer. You can solve this issue by opening the installer from the context menu (depending on the configuration either Ctrl + click or right-click on the icon, and then click "Open" in the menu). You will then get the option to open the application in spite of the missing verification and thus to install |matRad_logo|.
47+
48+
* **Linux & Mac**: To start |matRad_logo|, you can alternatively use the provided ``run_matRad.sh`` script from the terminal. It requires one argument which gives the path to the installed Matlab-Runtime. Refer to the ``readme_linux.txt`` and ``readme_mac.txt`` in your installation directory for more information.
49+
50+
Patient/Phantom files
51+
---------------------
52+
The patient files should be included with the installer and will be installed into the desired location. For Windows, for example, they can be found within the "application" folder of the chosen installation directory. Moreover, we also provide extra links to the open source patient files stored in |matRad_logo|'s native ``*.mat`` format for a `head and neck case <https://github.com/e0404/matRad/blob/master/phantoms/HEAD_AND_NECK.mat>`_, a `liver case <https://github.com/e0404/matRad/blob/master/phantoms/LIVER.mat>`_, a `prostate case <https://github.com/e0404/matRad/blob/master/phantoms/PROSTATE.mat>`_, a `box phantom <https://github.com/e0404/matRad/blob/master/phantoms/BOXPHANTOM.mat>`_, and AAPM's `TG119 phantom <https://github.com/e0404/matRad/blob/master/phantoms/TG119.mat>`_. Otherwise you need to start with a `DICOM import of your own patient data <The-dicom-import>`_.
53+
54+
55+
An overview of the functions of the |matRad_logo| GUI can be found `here <The-matRad-GUI>`_.
56+
57+
If you want to import patient data, check out `the dicom import functionality <The-dicom-import>`_.

0 commit comments

Comments
 (0)