Software Open Access

# Diffusion tensor imaging codes from "Primal-dual block-proximal splitting for a class of non-convex problems"

Mazurenko, Stanislav; Jauhiainen, Jyrki; Valkonen, Tuomo

### JSON-LD (schema.org) Export

{
"description": "<p>These are the Julia codes for the diffusion tensor imaging experiments of the manuscript <em>&ldquo;Primal-dual block-proximal splitting for a class of non-convex problems&rdquo;</em> by S. Mazurenko, J. Jauhiainen, and T. Valkonen (<a href=\"https://arxiv.org/abs/1911.06284\">arXiv:1911.06284</a>). The codes were written by T. Valkonen.</p>\n\n<p>Prerequisites</p>\n\n<p>These codes we written for Julia 1.1 but are known to work with Julia 1.2. The Julia package prequisites are from May 2019 when our experiments were run, and have not been updated to maintain the same environment we used to do the experiments in the manuscript. You may get Julia from https://julialang.org/.</p>\n\n<p>To generate the Helix test data (the data we have generated are included), the Teem toolkit is needed. You may download it from https://sourceforge.net/projects/teem/. Please note that the version included in Homebrew is missing the <code>emap</code> binary that is required for the visualisation; indeed as of May 2019 the building of this binary is disabled in Teem. You will therefore need to build Teem manually from source, applying the included <code>teem-1.11.0-emap_build_fix.patch</code>. In your unix shell, in the top-level directory of the Teem toolkit source codes, run:</p>\n\n<pre><code>$patch -p1 &lt; path_to_these_codes/teem-1.11.0-emap_build_fix.patch\n</code></pre>\n\n<p>Then build and install Teem according to instructions.</p>\n\n<p>The visualisation further requires the <code>open -g</code> to open the generated PDF file in a PDF viewer that will correctly refresh the file on further launches. This is the case on MacOS with <em>Preview</em> or <em>Skim</em>.</p>\n\n<p>Using</p>\n\n<p>Navigate your unix shell to the directory containing this README.md and then run:</p>\n\n<pre><code>$ julia --project=BlockPDPS\n</code></pre>\n\n<p>Afterwards in the Julia shell, type:</p>\n\n<pre><code>&gt; using BlockPDPS\n</code></pre>\n\n<p>This may take a while as Julia builds any missing dependencies. Then, to run the default experiments, run:</p>\n\n<pre><code>&gt; test_dti_helix(visualise=true)\n</code></pre>\n\n<p>This will use any cached data in the <code>data/</code> subdirectory of the current working directory. If no cached data is found, new data will be generated using Teem. If you use provided data and set <code>visualise=false</code>, the Teem dependency will be removed. The results are saved under the <code>img/</code> subdirectory of the current working directory.</p>\n\n<p>The <code>test_dti_helix</code> function has further parameters; please see the source code for details.</p>",
"creator": [
{
"affiliation": "Loschmidt Laboratories, Masaryk University",
"@id": "https://orcid.org/0000-0003-3659-4819",
"@type": "Person",
"name": "Mazurenko, Stanislav"
},
{
"affiliation": "University of Eastern Finland",
"@id": "https://orcid.org/0000-0001-6711-6997",
"@type": "Person",
"name": "Jauhiainen, Jyrki"
},
{
"affiliation": "University of Helsinki & Escuela Polit\u00e9cnica Nacional",
"@id": "https://orcid.org/0000-0001-6683-3572",
"@type": "Person",
"name": "Valkonen, Tuomo"
}
],
"url": "https://zenodo.org/record/3528137",
"datePublished": "2019-11-04",
"version": "1",
"keywords": [
"DTI",
"Julia",
"NL-PDPS",
"diffusion tensor imaging"
],
"@context": "https://schema.org/",
"identifier": "https://doi.org/10.5281/zenodo.3528137",
"@id": "https://doi.org/10.5281/zenodo.3528137",
"@type": "SoftwareSourceCode",
"name": "Diffusion tensor imaging codes from \"Primal-dual block-proximal splitting for a class of non-convex problems\""
}
28
1
views