.. _faq: .. toctree:: :maxdepth: 2 ========================== Frequently Asked Questions ========================== While this site attempts to cover a set of frequently asked questions, it is not exhaustive. We suggest to visit our `GitHub Discussion Forum `_ for Questions and Answers from the Community. .. admonition:: How to cite matRad? :class: dropdown If you use matRad, please consider :ref:`citing our publications ` as well as :ref:`the software version ` you are using directly. .. admonition:: Can I run matRad without a MATLAB installation? :class: dropdown Yes, if you only need the graphical user interface you can also use the compiled standalone. If you need to work with the code, check our :ref:`guide ` on running matRad with `GNU Octave `_ .. admonition:: How can I model custom particle machines in matRad? :class: dropdown You need to provide your own base data file according to our examples (*proton_Generic.mat*, *carbon_Generic.mat*). More information about the format is summarized on :ref:`this page `. .. admonition:: How can I use a custom HLUT table in matRad? :class: dropdown matRad has the following procedure for reading HU lookup tables via `matRad_loadHLUT.m `_ during the dose calculation: * matRad first checks if there is any `.hlut` file provided by the user in the `hlutlibrary `_ directory, with the following naming convention: MANUFACTURER-MODEL-ConvolutionKernel_CONVOLUTIONKERNEL_RADIATIONMODALITY.hlut (e.g. Philips-AcQSimCT-ConvolutionKernel-000000_protons.hlut). * If there is no file with this name available, matRad would use its own default lookup table with the following naming convention: matRad_default_RADIATIONMODALITY.hlut (e.g. `matRad_default.hlut `_). This file comprises two columns, first is the HU units and second is the corresponding electron density/stopping power (comments indicated by starting a line with "#" will be omitted). Generating your own custom HLUT table can therefore be done in two ways, either making a custom file with the mentioned naming convention or changing the default tables provided by matRad (not recommended). .. admonition:: Why is the matRad GUI slow (macOS)? :class: dropdown This issue may be caused by conflicts between MATLAB and window-snapping apps on macOS (Rectangle, BetterTouchTool, Magnet etc.). May be remedied by quitting the app or disabling the "Window Snapping " feature then restarting MATLAB. For further information refer to : * `matRad Issue #550 _` * `MATLAB Answers thread _` .. admonition:: Why are my constraints not being met and coverage is always bad? :class: dropdown The most common reason for this is a stark mismatch between the dose calculation grid and the resolution of the CT. When dose calculation and optimization are running on a dose grid, matRad will still resample the dose to the original CT grid for evaluation. While optimization itself will fulfil all constraints on the dose grid (where downsampled structures cover different volumes at the boundaries), the result will be compromised when resampling to the CT grid, and the optimizer will never be able to meet the constraints on the CT grid. To solve this, make sure to use a dose grid with a resolution that is close to the CT resolution, and to use the same grid for evaluation as well.