diff --git a/main/.buildinfo b/main/.buildinfo index 63afe964..fd91207a 100644 --- a/main/.buildinfo +++ b/main/.buildinfo @@ -1,4 +1,4 @@ # Sphinx build info version 1 # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. -config: 31a67f783bff3be6c168503f149bf258 +config: c5e015a56464b1efc38a37a5557da250 tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/main/_modules/eddymotion/cli/parser.html b/main/_modules/eddymotion/cli/parser.html index 93a6c974..27905de2 100644 --- a/main/_modules/eddymotion/cli/parser.html +++ b/main/_modules/eddymotion/cli/parser.html @@ -5,7 +5,7 @@ - eddymotion.cli.parser - eddymotion 24.0.0.dev24 documentation + eddymotion.cli.parser - eddymotion 24.0.0.dev27 documentation @@ -179,7 +179,7 @@
-
eddymotion 24.0.0.dev24 documentation
+
eddymotion 24.0.0.dev27 documentation
@@ -202,14 +202,14 @@ diff --git a/main/_modules/eddymotion/cli/run.html b/main/_modules/eddymotion/cli/run.html index a25d7536..78348bef 100644 --- a/main/_modules/eddymotion/cli/run.html +++ b/main/_modules/eddymotion/cli/run.html @@ -5,7 +5,7 @@ - eddymotion.cli.run - eddymotion 24.0.0.dev24 documentation + eddymotion.cli.run - eddymotion 24.0.0.dev27 documentation @@ -179,7 +179,7 @@
-
eddymotion 24.0.0.dev24 documentation
+
eddymotion 24.0.0.dev27 documentation
@@ -202,14 +202,14 @@ diff --git a/main/_modules/eddymotion/data/dmri.html b/main/_modules/eddymotion/data/dmri.html index 7b39635d..eadac88b 100644 --- a/main/_modules/eddymotion/data/dmri.html +++ b/main/_modules/eddymotion/data/dmri.html @@ -5,7 +5,7 @@ - eddymotion.data.dmri - eddymotion 24.0.0.dev24 documentation + eddymotion.data.dmri - eddymotion 24.0.0.dev27 documentation @@ -179,7 +179,7 @@
@@ -202,14 +202,14 @@ diff --git a/main/_modules/eddymotion/data/pet.html b/main/_modules/eddymotion/data/pet.html index 1698498a..3e8f7e7f 100644 --- a/main/_modules/eddymotion/data/pet.html +++ b/main/_modules/eddymotion/data/pet.html @@ -5,7 +5,7 @@ - eddymotion.data.pet - eddymotion 24.0.0.dev24 documentation + eddymotion.data.pet - eddymotion 24.0.0.dev27 documentation @@ -179,7 +179,7 @@
@@ -202,14 +202,14 @@ diff --git a/main/_modules/eddymotion/data/splitting.html b/main/_modules/eddymotion/data/splitting.html index 84987d61..ff8cd29a 100644 --- a/main/_modules/eddymotion/data/splitting.html +++ b/main/_modules/eddymotion/data/splitting.html @@ -5,7 +5,7 @@ - eddymotion.data.splitting - eddymotion 24.0.0.dev24 documentation + eddymotion.data.splitting - eddymotion 24.0.0.dev27 documentation @@ -179,7 +179,7 @@
@@ -202,14 +202,14 @@ diff --git a/main/_modules/eddymotion/data/utils.html b/main/_modules/eddymotion/data/utils.html index 2438ea8a..dbe7a9df 100644 --- a/main/_modules/eddymotion/data/utils.html +++ b/main/_modules/eddymotion/data/utils.html @@ -5,7 +5,7 @@ - eddymotion.data.utils - eddymotion 24.0.0.dev24 documentation + eddymotion.data.utils - eddymotion 24.0.0.dev27 documentation @@ -179,7 +179,7 @@
@@ -202,14 +202,14 @@ diff --git a/main/_modules/eddymotion/estimator.html b/main/_modules/eddymotion/estimator.html index a289d185..67beed14 100644 --- a/main/_modules/eddymotion/estimator.html +++ b/main/_modules/eddymotion/estimator.html @@ -5,7 +5,7 @@ - eddymotion.estimator - eddymotion 24.0.0.dev24 documentation + eddymotion.estimator - eddymotion 24.0.0.dev27 documentation @@ -179,7 +179,7 @@
@@ -202,14 +202,14 @@ diff --git a/main/_modules/eddymotion/math/utils.html b/main/_modules/eddymotion/math/utils.html index 761e02bf..71a5632b 100644 --- a/main/_modules/eddymotion/math/utils.html +++ b/main/_modules/eddymotion/math/utils.html @@ -5,7 +5,7 @@ - eddymotion.math.utils - eddymotion 24.0.0.dev24 documentation + eddymotion.math.utils - eddymotion 24.0.0.dev27 documentation @@ -179,7 +179,7 @@
@@ -202,14 +202,14 @@ +
diff --git a/main/_modules/eddymotion/model/base.html b/main/_modules/eddymotion/model/base.html index edca1002..5d75c228 100644 --- a/main/_modules/eddymotion/model/base.html +++ b/main/_modules/eddymotion/model/base.html @@ -5,7 +5,7 @@ - eddymotion.model.base - eddymotion 24.0.0.dev24 documentation + eddymotion.model.base - eddymotion 24.0.0.dev27 documentation @@ -179,7 +179,7 @@
@@ -202,14 +202,14 @@ diff --git a/main/_modules/eddymotion/model/gradient_utils.html b/main/_modules/eddymotion/model/gradient_utils.html new file mode 100644 index 00000000..2ab15873 --- /dev/null +++ b/main/_modules/eddymotion/model/gradient_utils.html @@ -0,0 +1,407 @@ + + + + + + + + eddymotion.model.gradient_utils - eddymotion 24.0.0.dev27 documentation + + + + + + + + + + + + + + + + + Contents + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + Auto light/dark, in light mode + + + + + + + + + + + + + + + Auto light/dark, in dark mode + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Skip to content + + + +
+
+
+ +
+ +
+
+ +
+ +
+
+ +
+
+
+ + + + + Back to top + +
+
+ +
+ +
+
+

Source code for eddymotion.model.gradient_utils

+# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*-
+# vi: set ft=python sts=4 ts=4 sw=4 et:
+#
+# Copyright 2024 The NiPreps Developers <nipreps@gmail.com>
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# We support and encourage derived works from this project, please read
+# about our expectations at
+#
+#     https://www.nipreps.org/community/licensing/
+#
+import numpy as np
+
+
+
+[docs] +def compute_pairwise_angles(bvecs, closest_polarity): + r"""Compute pairwise angles across diffusion gradient encoding directions. + + Following [Andersson15]_, it computes the smallest of the angles between + each pair if ``closest_polarity`` is ``True``, i.e. + + .. math:: + + \theta(\mathbf{g}, \mathbf{g'}) = \arccos(\abs{\langle \mathbf{g}, \mathbf{g'} \rangle}) + + Parameters + ---------- + bvecs : :obj:`~numpy.ndarray` + Diffusion gradient encoding directions in FSL format. + closest_polarity : :obj:`bool` + ``True`` to consider the smallest of the two angles between the crossing + lines resulting from reversing each vector pair. + + Returns + ------- + :obj:`~numpy.ndarray` + Pairwise angles across diffusion gradient encoding directions. + + Examples + -------- + >>> compute_pairwise_angles( + ... ((1.0, -1.0), (0.0, 0.0), (0.0, 0.0)), + ... False, + ... )[0, 1] # doctest: +ELLIPSIS + 3.1415... + >>> compute_pairwise_angles( + ... ((1.0, -1.0), (0.0, 0.0), (0.0, 0.0)), + ... True, + ... )[0, 1] + 0.0 + + References + ---------- + .. [Andersson15] J. L. R. Andersson. et al., An integrated approach to + correction for off-resonance effects and subject movement in diffusion MR + imaging, NeuroImage 125 (2016) 1063–1078 + """ + + if np.shape(bvecs)[0] != 3: + raise ValueError(f"bvecs must be of shape (3, N). Found: {bvecs.shape}") + + # Ensure b-vectors are unit-norm + bvecs = np.array(bvecs) / np.linalg.norm(bvecs, axis=0) + cosines = np.clip(bvecs.T @ bvecs, -1.0, 1.0) + return np.arccos(np.abs(cosines) if closest_polarity else cosines)
+ +
+
+
+
+ + +
+
+ + Made with Sphinx and @pradyunsg's + + Furo + +
+
+ +
+
+ +
+
+ +
+
+ + + + + + \ No newline at end of file diff --git a/main/_modules/eddymotion/utils.html b/main/_modules/eddymotion/utils.html index 80913ab8..d8f4bf20 100644 --- a/main/_modules/eddymotion/utils.html +++ b/main/_modules/eddymotion/utils.html @@ -5,7 +5,7 @@ - eddymotion.utils - eddymotion 24.0.0.dev24 documentation + eddymotion.utils - eddymotion 24.0.0.dev27 documentation @@ -179,7 +179,7 @@
@@ -202,14 +202,14 @@ diff --git a/main/_modules/eddymotion/viz.html b/main/_modules/eddymotion/viz.html index 5067fd07..fc5a25b1 100644 --- a/main/_modules/eddymotion/viz.html +++ b/main/_modules/eddymotion/viz.html @@ -5,7 +5,7 @@ - eddymotion.viz - eddymotion 24.0.0.dev24 documentation + eddymotion.viz - eddymotion 24.0.0.dev27 documentation @@ -179,7 +179,7 @@
@@ -202,14 +202,14 @@ diff --git a/main/_modules/index.html b/main/_modules/index.html index 5d5f882c..499e5daf 100644 --- a/main/_modules/index.html +++ b/main/_modules/index.html @@ -5,7 +5,7 @@ - Overview: module code - eddymotion 24.0.0.dev24 documentation + Overview: module code - eddymotion 24.0.0.dev27 documentation @@ -179,7 +179,7 @@
@@ -202,14 +202,14 @@ +
diff --git a/main/_sources/api/eddymotion.model.gradient_utils.rst.txt b/main/_sources/api/eddymotion.model.gradient_utils.rst.txt new file mode 100644 index 00000000..81404045 --- /dev/null +++ b/main/_sources/api/eddymotion.model.gradient_utils.rst.txt @@ -0,0 +1,7 @@ +eddymotion.model.gradient\_utils module +======================================= + +.. automodule:: eddymotion.model.gradient_utils + :members: + :undoc-members: + :show-inheritance: diff --git a/main/_sources/api/eddymotion.model.rst.txt b/main/_sources/api/eddymotion.model.rst.txt index dbf767c9..d77b0782 100644 --- a/main/_sources/api/eddymotion.model.rst.txt +++ b/main/_sources/api/eddymotion.model.rst.txt @@ -13,3 +13,4 @@ Submodules :maxdepth: 1 eddymotion.model.base + eddymotion.model.gradient_utils diff --git a/main/_static/documentation_options.js b/main/_static/documentation_options.js index a8df0e62..bf3dbb6f 100644 --- a/main/_static/documentation_options.js +++ b/main/_static/documentation_options.js @@ -1,5 +1,5 @@ const DOCUMENTATION_OPTIONS = { - VERSION: '24.0.0.dev24', + VERSION: '24.0.0.dev27', LANGUAGE: 'en', COLLAPSE_INDEX: false, BUILDER: 'html', diff --git a/main/api/eddymotion.cli.html b/main/api/eddymotion.cli.html index 66515e65..03cf54d3 100644 --- a/main/api/eddymotion.cli.html +++ b/main/api/eddymotion.cli.html @@ -6,7 +6,7 @@ - eddymotion.cli package - eddymotion 24.0.0.dev24 documentation + eddymotion.cli package - eddymotion 24.0.0.dev27 documentation @@ -180,7 +180,7 @@
@@ -203,14 +203,14 @@
@@ -203,14 +203,14 @@ +
diff --git a/main/api/eddymotion.cli.run.html b/main/api/eddymotion.cli.run.html index afb1ab4e..b6cb7930 100644 --- a/main/api/eddymotion.cli.run.html +++ b/main/api/eddymotion.cli.run.html @@ -6,7 +6,7 @@ - eddymotion.cli.run module - eddymotion 24.0.0.dev24 documentation + eddymotion.cli.run module - eddymotion 24.0.0.dev27 documentation @@ -180,7 +180,7 @@
@@ -203,14 +203,14 @@ +
diff --git a/main/api/eddymotion.data.dmri.html b/main/api/eddymotion.data.dmri.html index f417e301..c488048b 100644 --- a/main/api/eddymotion.data.dmri.html +++ b/main/api/eddymotion.data.dmri.html @@ -6,7 +6,7 @@ - eddymotion.data.dmri module - eddymotion 24.0.0.dev24 documentation + eddymotion.data.dmri module - eddymotion 24.0.0.dev27 documentation @@ -180,7 +180,7 @@
@@ -203,14 +203,14 @@ +
diff --git a/main/api/eddymotion.data.html b/main/api/eddymotion.data.html index 296cd3b4..2acfd1ca 100644 --- a/main/api/eddymotion.data.html +++ b/main/api/eddymotion.data.html @@ -6,7 +6,7 @@ - eddymotion.data package - eddymotion 24.0.0.dev24 documentation + eddymotion.data package - eddymotion 24.0.0.dev27 documentation @@ -180,7 +180,7 @@
@@ -203,14 +203,14 @@
@@ -203,14 +203,14 @@ +
diff --git a/main/api/eddymotion.data.splitting.html b/main/api/eddymotion.data.splitting.html index 12b72f64..6855802a 100644 --- a/main/api/eddymotion.data.splitting.html +++ b/main/api/eddymotion.data.splitting.html @@ -6,7 +6,7 @@ - eddymotion.data.splitting module - eddymotion 24.0.0.dev24 documentation + eddymotion.data.splitting module - eddymotion 24.0.0.dev27 documentation @@ -180,7 +180,7 @@
@@ -203,14 +203,14 @@ +
diff --git a/main/api/eddymotion.data.utils.html b/main/api/eddymotion.data.utils.html index 544341f2..20275fb0 100644 --- a/main/api/eddymotion.data.utils.html +++ b/main/api/eddymotion.data.utils.html @@ -6,7 +6,7 @@ - eddymotion.data.utils module - eddymotion 24.0.0.dev24 documentation + eddymotion.data.utils module - eddymotion 24.0.0.dev27 documentation @@ -180,7 +180,7 @@
@@ -203,14 +203,14 @@ +
diff --git a/main/api/eddymotion.estimator.html b/main/api/eddymotion.estimator.html index c71ca1be..3887d830 100644 --- a/main/api/eddymotion.estimator.html +++ b/main/api/eddymotion.estimator.html @@ -6,7 +6,7 @@ - eddymotion.estimator module - eddymotion 24.0.0.dev24 documentation + eddymotion.estimator module - eddymotion 24.0.0.dev27 documentation @@ -180,7 +180,7 @@
@@ -203,14 +203,14 @@ +
diff --git a/main/api/eddymotion.math.html b/main/api/eddymotion.math.html index 0d01ae0b..52245950 100644 --- a/main/api/eddymotion.math.html +++ b/main/api/eddymotion.math.html @@ -6,7 +6,7 @@ - eddymotion.math package - eddymotion 24.0.0.dev24 documentation + eddymotion.math package - eddymotion 24.0.0.dev27 documentation @@ -180,7 +180,7 @@
@@ -203,14 +203,14 @@
@@ -203,14 +203,14 @@ diff --git a/main/api/eddymotion.model.base.html b/main/api/eddymotion.model.base.html index ba22fa6a..218e92bc 100644 --- a/main/api/eddymotion.model.base.html +++ b/main/api/eddymotion.model.base.html @@ -3,10 +3,10 @@ - + - eddymotion.model.base module - eddymotion 24.0.0.dev24 documentation + eddymotion.model.base module - eddymotion 24.0.0.dev27 documentation @@ -180,7 +180,7 @@
@@ -203,14 +203,14 @@ diff --git a/main/api/eddymotion.model.gradient_utils.html b/main/api/eddymotion.model.gradient_utils.html new file mode 100644 index 00000000..3e1e248e --- /dev/null +++ b/main/api/eddymotion.model.gradient_utils.html @@ -0,0 +1,429 @@ + + + + + + + + + eddymotion.model.gradient_utils module - eddymotion 24.0.0.dev27 documentation + + + + + + + + + + + + + + + + + Contents + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + Auto light/dark, in light mode + + + + + + + + + + + + + + + Auto light/dark, in dark mode + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Skip to content + + + +
+
+
+ +
+ +
+
+ +
+ +
+
+ +
+
+
+ + + + + Back to top + +
+ +
+ +
+ +
+
+
+

eddymotion.model.gradient_utils module

+
+
+eddymotion.model.gradient_utils.compute_pairwise_angles(bvecs, closest_polarity)[source]
+

Compute pairwise angles across diffusion gradient encoding directions.

+

Following [Andersson15], it computes the smallest of the angles between +each pair if closest_polarity is True, i.e.

+
+
+\[\theta(\mathbf{g}, \mathbf{g'}) = \arccos(\abs{\langle \mathbf{g}, \mathbf{g'} \rangle})\]
+
+
+
Parameters:
+
    +
  • bvecs (ndarray) – Diffusion gradient encoding directions in FSL format.

  • +
  • closest_polarity (bool) –

    +
    +
    True to consider the smallest of the two angles between the crossing

    lines resulting from reversing each vector pair.

    +
    +
    +
  • +
+
+
Returns:
+

Pairwise angles across diffusion gradient encoding directions.

+
+
Return type:
+

ndarray

+
+
+

Examples

+
>>> compute_pairwise_angles(
+...     ((1.0, -1.0), (0.0, 0.0), (0.0, 0.0)),
+...     False,
+... )[0, 1]  
+3.1415...
+>>> compute_pairwise_angles(
+...     ((1.0, -1.0), (0.0, 0.0), (0.0, 0.0)),
+...     True,
+... )[0, 1]
+0.0
+
+
+

References

+
+
+[Andersson15] +

J. L. R. Andersson. et al., An integrated approach to +correction for off-resonance effects and subject movement in diffusion MR +imaging, NeuroImage 125 (2016) 1063–1078

+
+
+
+ +
+ +
+
+ +
+ +
+
+ + + + + + + \ No newline at end of file diff --git a/main/api/eddymotion.model.html b/main/api/eddymotion.model.html index 6610e4f9..3596e9a8 100644 --- a/main/api/eddymotion.model.html +++ b/main/api/eddymotion.model.html @@ -6,7 +6,7 @@ - eddymotion.model package - eddymotion 24.0.0.dev24 documentation + eddymotion.model package - eddymotion 24.0.0.dev27 documentation @@ -180,7 +180,7 @@
@@ -203,14 +203,14 @@ -
+
diff --git a/main/api/eddymotion.viz.html b/main/api/eddymotion.viz.html index a9874538..392823d2 100644 --- a/main/api/eddymotion.viz.html +++ b/main/api/eddymotion.viz.html @@ -6,7 +6,7 @@ - eddymotion.viz module - eddymotion 24.0.0.dev24 documentation + eddymotion.viz module - eddymotion 24.0.0.dev27 documentation @@ -180,7 +180,7 @@
@@ -203,14 +203,14 @@ +
diff --git a/main/changes.html b/main/changes.html index e369c51e..bad5d6e0 100644 --- a/main/changes.html +++ b/main/changes.html @@ -6,7 +6,7 @@ - What’s new? - eddymotion 24.0.0.dev24 documentation + What’s new? - eddymotion 24.0.0.dev27 documentation @@ -180,7 +180,7 @@
@@ -203,14 +203,14 @@
@@ -203,14 +203,14 @@
@@ -201,14 +201,14 @@ +
diff --git a/main/index.html b/main/index.html index 025b1596..bf3ca759 100644 --- a/main/index.html +++ b/main/index.html @@ -6,7 +6,7 @@ - eddymotion 24.0.0.dev24 documentation + eddymotion 24.0.0.dev27 documentation @@ -180,7 +180,7 @@
@@ -203,14 +203,14 @@ +
diff --git a/main/objects.inv b/main/objects.inv index 643d0a91..16939b14 100644 Binary files a/main/objects.inv and b/main/objects.inv differ diff --git a/main/py-modindex.html b/main/py-modindex.html index f769bd0d..6c7b7a07 100644 --- a/main/py-modindex.html +++ b/main/py-modindex.html @@ -4,7 +4,7 @@ - Python Module Index - eddymotion 24.0.0.dev24 documentation + Python Module Index - eddymotion 24.0.0.dev27 documentation @@ -178,7 +178,7 @@
@@ -201,14 +201,14 @@ +
diff --git a/main/running.html b/main/running.html index 9ef62bc8..60107b79 100644 --- a/main/running.html +++ b/main/running.html @@ -6,7 +6,7 @@ - Running Eddymotion - eddymotion 24.0.0.dev24 documentation + Running Eddymotion - eddymotion 24.0.0.dev27 documentation @@ -180,7 +180,7 @@
@@ -203,14 +203,14 @@
@@ -203,14 +203,14 @@ +
diff --git a/main/searchindex.js b/main/searchindex.js index ebab43df..f837c4dc 100644 --- a/main/searchindex.js +++ b/main/searchindex.js @@ -1 +1 @@ -Search.setIndex({"alltitles": {"0.1.15 (mai 13, 2024)": [[15, "mai-13-2024"]], "0.1.4 (April 12, 2021)": [[15, "april-12-2021"]], "Command line interface": [[20, "command-line-interface"]], "Contents": [[17, "contents"]], "Contributing": [[16, "contributing"]], "Documentation": [[16, "documentation"]], "Eddymotion": [[17, "eddymotion"]], "External Dependencies": [[18, "external-dependencies"]], "For developers": [[16, "for-developers"]], "How to Use": [[21, "how-to-use"]], "Incorporating Eddymotion into a Python module or script": [[21, "incorporating-eddymotion-into-a-python-module-or-script"]], "Installation": [[18, "id1"]], "Library API (application program interface)": [[16, "library-api-application-program-interface"]], "Named Arguments": [[20, "named-arguments"]], "Positional Arguments": [[20, "positional-arguments"]], "Running Eddymotion": [[20, "running-eddymotion"]], "Submodules": [[0, "submodules"], [3, "submodules"], [9, "submodules"], [11, "submodules"]], "What\u2019s new?": [[15, "what-s-new"]], "eddymotion.cli package": [[0, "module-eddymotion.cli"]], "eddymotion.cli.parser module": [[1, "module-eddymotion.cli.parser"]], "eddymotion.cli.run module": [[2, "module-eddymotion.cli.run"]], "eddymotion.data package": [[3, "module-eddymotion.data"]], "eddymotion.data.dmri module": [[4, "module-eddymotion.data.dmri"]], "eddymotion.data.pet module": [[5, "module-eddymotion.data.pet"]], "eddymotion.data.splitting module": [[6, "module-eddymotion.data.splitting"]], "eddymotion.data.utils module": [[7, "module-eddymotion.data.utils"]], "eddymotion.estimator module": [[8, "module-eddymotion.estimator"]], "eddymotion.math package": [[9, "module-eddymotion.math"]], "eddymotion.math.utils module": [[10, "module-eddymotion.math.utils"]], "eddymotion.model package": [[11, "module-eddymotion.model"]], "eddymotion.model.base module": [[12, "module-eddymotion.model.base"]], "eddymotion.utils module": [[13, "module-eddymotion.utils"]], "eddymotion.viz module": [[14, "module-eddymotion.viz"]]}, "docnames": ["api/eddymotion.cli", "api/eddymotion.cli.parser", "api/eddymotion.cli.run", "api/eddymotion.data", "api/eddymotion.data.dmri", "api/eddymotion.data.pet", "api/eddymotion.data.splitting", "api/eddymotion.data.utils", "api/eddymotion.estimator", "api/eddymotion.math", "api/eddymotion.math.utils", "api/eddymotion.model", "api/eddymotion.model.base", "api/eddymotion.utils", "api/eddymotion.viz", "changes", "developers", "index", "installation", "links", "running", "usage"], "envversion": {"sphinx": 61, "sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.intersphinx": 1, "sphinx.ext.viewcode": 1}, "filenames": ["api/eddymotion.cli.rst", "api/eddymotion.cli.parser.rst", "api/eddymotion.cli.run.rst", "api/eddymotion.data.rst", "api/eddymotion.data.dmri.rst", "api/eddymotion.data.pet.rst", "api/eddymotion.data.splitting.rst", "api/eddymotion.data.utils.rst", "api/eddymotion.estimator.rst", "api/eddymotion.math.rst", "api/eddymotion.math.utils.rst", "api/eddymotion.model.rst", "api/eddymotion.model.base.rst", "api/eddymotion.utils.rst", "api/eddymotion.viz.rst", "changes.rst", "developers.rst", "index.rst", "installation.rst", "links.rst", "running.rst", "usage.rst"], "indexentries": {"affine (eddymotion.data.dmri.dwi attribute)": [[4, "eddymotion.data.dmri.DWI.affine", false]], "affine (eddymotion.data.pet.pet attribute)": [[5, "eddymotion.data.pet.PET.affine", false]], "apply_affines() (in module eddymotion.data.utils)": [[7, "eddymotion.data.utils.apply_affines", false]], "averagedwmodel (class in eddymotion.model)": [[11, "eddymotion.model.AverageDWModel", false]], "averagedwmodel (class in eddymotion.model.base)": [[12, "eddymotion.model.base.AverageDWModel", false]], "basemodel (class in eddymotion.model.base)": [[12, "eddymotion.model.base.BaseModel", false]], "brainmask (eddymotion.data.dmri.dwi attribute)": [[4, "eddymotion.data.dmri.DWI.brainmask", false]], "brainmask (eddymotion.data.pet.pet attribute)": [[5, "eddymotion.data.pet.PET.brainmask", false]], "bvalue_iterator() (in module eddymotion.utils)": [[13, "eddymotion.utils.bvalue_iterator", false]], "bzero (eddymotion.data.dmri.dwi attribute)": [[4, "eddymotion.data.dmri.DWI.bzero", false]], "centralsym_iterator() (in module eddymotion.utils)": [[13, "eddymotion.utils.centralsym_iterator", false]], "dataobj (eddymotion.data.dmri.dwi attribute)": [[4, "eddymotion.data.dmri.DWI.dataobj", false]], "dataobj (eddymotion.data.pet.pet attribute)": [[5, "eddymotion.data.pet.PET.dataobj", false]], "dkimodel (class in eddymotion.model)": [[11, "eddymotion.model.DKIModel", false]], "dkimodel (class in eddymotion.model.base)": [[12, "eddymotion.model.base.DKIModel", false]], "dtimodel (class in eddymotion.model)": [[11, "eddymotion.model.DTIModel", false]], "dtimodel (class in eddymotion.model.base)": [[12, "eddymotion.model.base.DTIModel", false]], "dwi (class in eddymotion.data.dmri)": [[4, "eddymotion.data.dmri.DWI", false]], "eddymotion.cli": [[0, "module-eddymotion.cli", false]], "eddymotion.cli.parser": [[1, "module-eddymotion.cli.parser", false]], "eddymotion.cli.run": [[2, "module-eddymotion.cli.run", false]], "eddymotion.data": [[3, "module-eddymotion.data", false]], "eddymotion.data.dmri": [[4, "module-eddymotion.data.dmri", false]], "eddymotion.data.pet": [[5, "module-eddymotion.data.pet", false]], "eddymotion.data.splitting": [[6, "module-eddymotion.data.splitting", false]], "eddymotion.data.utils": [[7, "module-eddymotion.data.utils", false]], "eddymotion.estimator": [[8, "module-eddymotion.estimator", false]], "eddymotion.math": [[9, "module-eddymotion.math", false]], "eddymotion.math.utils": [[10, "module-eddymotion.math.utils", false]], "eddymotion.model": [[11, "module-eddymotion.model", false]], "eddymotion.model.base": [[12, "module-eddymotion.model.base", false]], "eddymotion.utils": [[13, "module-eddymotion.utils", false]], "eddymotion.viz": [[14, "module-eddymotion.viz", false]], "eddymotionestimator (class in eddymotion.estimator)": [[8, "eddymotion.estimator.EddyMotionEstimator", false]], "em_affines (eddymotion.data.dmri.dwi attribute)": [[4, "eddymotion.data.dmri.DWI.em_affines", false]], "em_affines (eddymotion.data.pet.pet attribute)": [[5, "eddymotion.data.pet.PET.em_affines", false]], "estimate() (eddymotion.estimator.eddymotionestimator static method)": [[8, "eddymotion.estimator.EddyMotionEstimator.estimate", false]], "fieldmap (eddymotion.data.dmri.dwi attribute)": [[4, "eddymotion.data.dmri.DWI.fieldmap", false]], "fit() (eddymotion.model.averagedwmodel method)": [[11, "eddymotion.model.AverageDWModel.fit", false]], "fit() (eddymotion.model.base.averagedwmodel method)": [[12, "eddymotion.model.base.AverageDWModel.fit", false]], "fit() (eddymotion.model.base.basemodel method)": [[12, "eddymotion.model.base.BaseModel.fit", false]], "fit() (eddymotion.model.base.petmodel method)": [[12, "eddymotion.model.base.PETModel.fit", false]], "fit() (eddymotion.model.base.trivialb0model method)": [[12, "eddymotion.model.base.TrivialB0Model.fit", false]], "fit() (eddymotion.model.petmodel method)": [[11, "eddymotion.model.PETModel.fit", false]], "fit() (eddymotion.model.trivialb0model method)": [[11, "eddymotion.model.TrivialB0Model.fit", false]], "frame_time (eddymotion.data.pet.pet attribute)": [[5, "eddymotion.data.pet.PET.frame_time", false]], "from_filename() (eddymotion.data.dmri.dwi class method)": [[4, "eddymotion.data.dmri.DWI.from_filename", false]], "from_filename() (eddymotion.data.pet.pet class method)": [[5, "eddymotion.data.pet.PET.from_filename", false]], "get_filename() (eddymotion.data.dmri.dwi method)": [[4, "eddymotion.data.dmri.DWI.get_filename", false]], "get_segment_labels() (in module eddymotion.viz)": [[14, "eddymotion.viz.get_segment_labels", false]], "gradients (eddymotion.data.dmri.dwi attribute)": [[4, "eddymotion.data.dmri.DWI.gradients", false]], "init() (eddymotion.model.base.modelfactory static method)": [[12, "eddymotion.model.base.ModelFactory.init", false]], "init() (eddymotion.model.modelfactory static method)": [[11, "eddymotion.model.ModelFactory.init", false]], "is_positive_definite() (in module eddymotion.math.utils)": [[10, "eddymotion.math.utils.is_positive_definite", false]], "linear_iterator() (in module eddymotion.utils)": [[13, "eddymotion.utils.linear_iterator", false]], "load() (in module eddymotion.data.dmri)": [[4, "eddymotion.data.dmri.load", false]], "load() (in module eddymotion.data.pet)": [[5, "eddymotion.data.pet.load", false]], "lovo_split() (in module eddymotion.data.splitting)": [[6, "eddymotion.data.splitting.lovo_split", false]], "main() (in module eddymotion.cli.run)": [[2, "eddymotion.cli.run.main", false]], "modelfactory (class in eddymotion.model)": [[11, "eddymotion.model.ModelFactory", false]], "modelfactory (class in eddymotion.model.base)": [[12, "eddymotion.model.base.ModelFactory", false]], "module": [[0, "module-eddymotion.cli", false], [1, "module-eddymotion.cli.parser", false], [2, "module-eddymotion.cli.run", false], [3, "module-eddymotion.data", false], [4, "module-eddymotion.data.dmri", false], [5, "module-eddymotion.data.pet", false], [6, "module-eddymotion.data.splitting", false], [7, "module-eddymotion.data.utils", false], [8, "module-eddymotion.estimator", false], [9, "module-eddymotion.math", false], [10, "module-eddymotion.math.utils", false], [11, "module-eddymotion.model", false], [12, "module-eddymotion.model.base", false], [13, "module-eddymotion.utils", false], [14, "module-eddymotion.viz", false]], "parse_args() (in module eddymotion.cli.parser)": [[1, "eddymotion.cli.parser.parse_args", false]], "pet (class in eddymotion.data.pet)": [[5, "eddymotion.data.pet.PET", false]], "petmodel (class in eddymotion.model)": [[11, "eddymotion.model.PETModel", false]], "petmodel (class in eddymotion.model.base)": [[12, "eddymotion.model.base.PETModel", false]], "plot_carpet() (in module eddymotion.viz)": [[14, "eddymotion.viz.plot_carpet", false]], "plot_gradients() (eddymotion.data.dmri.dwi method)": [[4, "eddymotion.data.dmri.DWI.plot_gradients", false]], "plot_mosaic() (eddymotion.data.dmri.dwi method)": [[4, "eddymotion.data.dmri.DWI.plot_mosaic", false]], "predict() (eddymotion.model.averagedwmodel method)": [[11, "eddymotion.model.AverageDWModel.predict", false]], "predict() (eddymotion.model.base.averagedwmodel method)": [[12, "eddymotion.model.base.AverageDWModel.predict", false]], "predict() (eddymotion.model.base.basemodel method)": [[12, "eddymotion.model.base.BaseModel.predict", false]], "predict() (eddymotion.model.base.petmodel method)": [[12, "eddymotion.model.base.PETModel.predict", false]], "predict() (eddymotion.model.base.trivialb0model method)": [[12, "eddymotion.model.base.TrivialB0Model.predict", false]], "predict() (eddymotion.model.petmodel method)": [[11, "eddymotion.model.PETModel.predict", false]], "predict() (eddymotion.model.trivialb0model method)": [[11, "eddymotion.model.TrivialB0Model.predict", false]], "random_iterator() (in module eddymotion.utils)": [[13, "eddymotion.utils.random_iterator", false]], "set_transform() (eddymotion.data.dmri.dwi method)": [[4, "eddymotion.data.dmri.DWI.set_transform", false]], "set_transform() (eddymotion.data.pet.pet method)": [[5, "eddymotion.data.pet.PET.set_transform", false]], "to_filename() (eddymotion.data.dmri.dwi method)": [[4, "eddymotion.data.dmri.DWI.to_filename", false]], "to_filename() (eddymotion.data.pet.pet method)": [[5, "eddymotion.data.pet.PET.to_filename", false]], "to_nifti() (eddymotion.data.dmri.dwi method)": [[4, "eddymotion.data.dmri.DWI.to_nifti", false]], "to_nifti() (eddymotion.data.pet.pet method)": [[5, "eddymotion.data.pet.PET.to_nifti", false]], "total_duration (eddymotion.data.pet.pet attribute)": [[5, "eddymotion.data.pet.PET.total_duration", false]], "trivialb0model (class in eddymotion.model)": [[11, "eddymotion.model.TrivialB0Model", false]], "trivialb0model (class in eddymotion.model.base)": [[12, "eddymotion.model.base.TrivialB0Model", false]]}, "objects": {"eddymotion": [[0, 0, 0, "-", "cli"], [3, 0, 0, "-", "data"], [8, 0, 0, "-", "estimator"], [9, 0, 0, "-", "math"], [11, 0, 0, "-", "model"], [13, 0, 0, "-", "utils"], [14, 0, 0, "-", "viz"]], "eddymotion.cli": [[1, 0, 0, "-", "parser"], [2, 0, 0, "-", "run"]], "eddymotion.cli.parser": [[1, 1, 1, "", "parse_args"]], "eddymotion.cli.run": [[2, 1, 1, "", "main"]], "eddymotion.data": [[4, 0, 0, "-", "dmri"], [5, 0, 0, "-", "pet"], [6, 0, 0, "-", "splitting"], [7, 0, 0, "-", "utils"]], "eddymotion.data.dmri": [[4, 2, 1, "", "DWI"], [4, 1, 1, "", "load"]], "eddymotion.data.dmri.DWI": [[4, 3, 1, "", "affine"], [4, 3, 1, "", "brainmask"], [4, 3, 1, "", "bzero"], [4, 3, 1, "", "dataobj"], [4, 3, 1, "", "em_affines"], [4, 3, 1, "", "fieldmap"], [4, 4, 1, "", "from_filename"], [4, 4, 1, "", "get_filename"], [4, 3, 1, "", "gradients"], [4, 4, 1, "", "plot_gradients"], [4, 4, 1, "", "plot_mosaic"], [4, 4, 1, "", "set_transform"], [4, 4, 1, "", "to_filename"], [4, 4, 1, "", "to_nifti"]], "eddymotion.data.pet": [[5, 2, 1, "", "PET"], [5, 1, 1, "", "load"]], "eddymotion.data.pet.PET": [[5, 3, 1, "", "affine"], [5, 3, 1, "", "brainmask"], [5, 3, 1, "", "dataobj"], [5, 3, 1, "", "em_affines"], [5, 3, 1, "", "frame_time"], [5, 4, 1, "", "from_filename"], [5, 4, 1, "", "set_transform"], [5, 4, 1, "", "to_filename"], [5, 4, 1, "", "to_nifti"], [5, 3, 1, "", "total_duration"]], "eddymotion.data.splitting": [[6, 1, 1, "", "lovo_split"]], "eddymotion.data.utils": [[7, 1, 1, "", "apply_affines"]], "eddymotion.estimator": [[8, 2, 1, "", "EddyMotionEstimator"]], "eddymotion.estimator.EddyMotionEstimator": [[8, 4, 1, "", "estimate"]], "eddymotion.math": [[10, 0, 0, "-", "utils"]], "eddymotion.math.utils": [[10, 1, 1, "", "is_positive_definite"]], "eddymotion.model": [[11, 2, 1, "", "AverageDWModel"], [11, 2, 1, "", "DKIModel"], [11, 2, 1, "", "DTIModel"], [11, 2, 1, "", "ModelFactory"], [11, 2, 1, "", "PETModel"], [11, 2, 1, "", "TrivialB0Model"], [12, 0, 0, "-", "base"]], "eddymotion.model.AverageDWModel": [[11, 4, 1, "", "fit"], [11, 4, 1, "", "predict"]], "eddymotion.model.ModelFactory": [[11, 4, 1, "", "init"]], "eddymotion.model.PETModel": [[11, 4, 1, "", "fit"], [11, 4, 1, "", "predict"]], "eddymotion.model.TrivialB0Model": [[11, 4, 1, "", "fit"], [11, 4, 1, "", "predict"]], "eddymotion.model.base": [[12, 2, 1, "", "AverageDWModel"], [12, 2, 1, "", "BaseModel"], [12, 2, 1, "", "DKIModel"], [12, 2, 1, "", "DTIModel"], [12, 2, 1, "", "ModelFactory"], [12, 2, 1, "", "PETModel"], [12, 2, 1, "", "TrivialB0Model"]], "eddymotion.model.base.AverageDWModel": [[12, 4, 1, "", "fit"], [12, 4, 1, "", "predict"]], "eddymotion.model.base.BaseModel": [[12, 4, 1, "", "fit"], [12, 4, 1, "", "predict"]], "eddymotion.model.base.ModelFactory": [[12, 4, 1, "", "init"]], "eddymotion.model.base.PETModel": [[12, 4, 1, "", "fit"], [12, 4, 1, "", "predict"]], "eddymotion.model.base.TrivialB0Model": [[12, 4, 1, "", "fit"], [12, 4, 1, "", "predict"]], "eddymotion.utils": [[13, 1, 1, "", "bvalue_iterator"], [13, 1, 1, "", "centralsym_iterator"], [13, 1, 1, "", "linear_iterator"], [13, 1, 1, "", "random_iterator"]], "eddymotion.viz": [[14, 1, 1, "", "get_segment_labels"], [14, 1, 1, "", "plot_carpet"]]}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "function", "Python function"], "2": ["py", "class", "Python class"], "3": ["py", "attribute", "Python attribute"], "4": ["py", "method", "Python method"]}, "objtypes": {"0": "py:module", "1": "py:function", "2": "py:class", "3": "py:attribute", "4": "py:method"}, "terms": {"": [8, 11, 12, 13, 17, 21], "0": [4, 5, 11, 12, 13, 14, 16, 17, 21], "1": [4, 5, 13, 14, 16, 17], "10": 13, "100": 15, "1000": [13, 17], "102": 15, "103": 15, "104": 15, "105": 15, "106": 15, "1063": 17, "1078": 17, "109": 15, "11": 13, "112": 15, "115": 15, "119": 15, "12": [13, 17], "120": 15, "121": 15, "122": 15, "123": 15, "124": 15, "125": 17, "128": 15, "13": [13, 17], "130": 15, "131": 15, "132": 15, "133": 15, "134": 15, "135": 15, "136": 15, "137": 15, "138": 15, "139": 15, "1396": 17, "14": [13, 14], "141": 15, "143": 15, "144": 15, "147": 15, "149": 15, "15": [13, 14, 17], "154": 15, "157": 15, "158": 15, "159": 15, "160": 15, "162": 15, "164": 15, "167": 15, "1694": 17, "17": 17, "1702": 17, "172": 15, "173": 15, "175": 15, "177": 15, "179": 15, "18": 17, "182": 15, "183": 15, "185": 15, "190": 15, "1d": 5, "2": [13, 14, 15, 16, 17], "2000": 13, "2009": 17, "2012": 17, "2014": 17, "2016": 17, "2021": 17, "20210324": 13, "2024": 17, "27": 15, "2d": 4, "3": [4, 5, 11, 12, 13, 14, 15, 17, 18], "30": 15, "32": 15, "33": 15, "3d": [4, 6], "3mnvp9": 12, "4": [8, 13, 14, 17, 21], "41": 14, "42": [13, 14, 21], "43": 14, "4d": [13, 20], "5": [13, 17], "50": 4, "518": 15, "6": [13, 16], "67": 17, "7": [13, 17, 18], "700": 13, "72": 14, "775": 17, "778": 17, "8": [13, 15, 17], "82": 15, "83": 15, "84": 15, "85": 15, "87": 15, "88": 15, "9": [13, 15], "91": 15, "92": 15, "96": 15, "97": 15, "98": 15, "A": [4, 5, 8, 11, 12, 15, 20, 21], "For": [17, 21], "If": [4, 13, 21], "In": 16, "It": 21, "On": 18, "One": 21, "The": [6, 8, 10, 13, 15, 16, 20, 21], "To": [16, 21], "With": 16, "_": 5, "__init__": 15, "__version__": 18, "_sort_dwdata_indic": 8, "_version": 16, "abov": 18, "abstract": 12, "accept": 21, "acquir": 17, "acquisit": [5, 17], "across": 15, "action": [15, 16], "ad": 15, "adapt": 12, "add": 15, "address": 17, "adopt": 15, "advantag": 17, "affin": [4, 5, 7, 8, 15, 16, 21], "al": 17, "algorithm": [8, 20], "align": [4, 5, 21], "align_config": 20, "align_kwarg": [8, 21], "all": [13, 14, 16, 18], "allow": [8, 15], "alongsid": 15, "also": 4, "alternatingli": 13, "alwai": [11, 12], "amitai": 17, "an": [1, 4, 5, 8, 11, 12, 17, 20, 21], "analysi": 17, "andersson": 17, "anew": 15, "ani": 10, "ant": [15, 18], "antsregistr": 15, "api": 17, "appli": 7, "applic": 17, "apply_affin": [7, 16], "approach": 17, "approxim": [11, 12], "april": 17, "ar": [16, 18, 21], "archiv": 16, "arg": [1, 11, 12], "argument": [1, 15, 17, 21], "arrai": [4, 5, 7, 21], "ascend": 13, "asynchron": 12, "asyncio": 15, "attribut": 15, "author": 15, "autom": 15, "automat": 16, "avail": [17, 21], "averag": [4, 11, 12], "averagedw": [11, 12], "averagedwmodel": [11, 12, 16], "avoid": 15, "b": [4, 5, 6, 8, 11, 12, 13, 17, 21], "b0": [8, 15, 21], "b0_file": 4, "b0_thre": 4, "b_0": 4, "b_max": [11, 12], "bad": 15, "badg": 15, "base": [4, 5, 8, 11, 15, 16, 17, 20], "basemodel": [11, 12, 16], "befor": 16, "ben": 17, "besid": 17, "best": [4, 5], "between": [14, 17], "bodi": [8, 21], "bool": [8, 13, 14], "boolean": [4, 5, 14], "both": 17, "brain": 20, "brainmask": [4, 5, 16], "brainmask_fil": [4, 5], "branch": 16, "bring": [4, 5], "build": [15, 16, 17], "built": 21, "bump": 15, "bval": 13, "bval_fil": 4, "bvalu": [13, 14], "bvalue_iter": [13, 16], "bvec_fil": 4, "bzero": [4, 16], "c": [16, 18], "cach": 15, "calcul": [11, 12], "call": 15, "can": [10, 15, 18], "carpet": 14, "carpet_plot": [14, 15], "caus": 8, "cd": 16, "center": 13, "centralsym_iter": [13, 16], "cerebral_cortex": 14, "cerebral_white_matt": 14, "cfg": 15, "chang": 15, "check": [1, 10, 15, 18], "choleski": 10, "chunk": 12, "ci": 15, "cieslak": 17, "circleci": 15, "class": [4, 5, 8, 11, 12, 15, 16, 21], "classifi": 15, "classmethod": [4, 5], "cli": [15, 16, 17], "code": [15, 16], "column": 21, "com": 12, "come": 6, "command": [1, 17, 18], "commit": 16, "commun": 16, "complet": 15, "compliant": [11, 12], "complic": 15, "compon": 21, "compress": [4, 5], "compression_opt": [4, 5], "conda": 15, "config": 15, "configur": [8, 15, 20, 21], "conjug": 10, "consist": 15, "contact": 15, "contain": [4, 5, 8, 14, 16, 20, 21], "context": 15, "contrib": 15, "contribut": 17, "contributor": 15, "convers": [4, 5], "coordin": [4, 5], "correct": 17, "correspond": [4, 5, 6, 8, 13], "creat": 21, "credit": 15, "current": [8, 17, 20, 21], "cycl": 15, "data": [8, 11, 12, 14, 15, 16, 17, 20, 21], "dataobj": [4, 5, 16], "dataset": [4, 6, 8, 13, 17, 21], "decompos": 10, "decomposit": 10, "default": [1, 12, 13, 20], "defin": [12, 15], "definit": 10, "deform": [8, 17, 21], "delimit": 14, "delv": 16, "depend": [15, 17], "deploy": 15, "deriv": [8, 17], "determinist": [8, 20, 21], "detrend": 14, "develop": 17, "dict": [8, 14], "dictionari": 14, "diffus": [4, 8, 11, 12, 17, 20, 21], "diffusionkurtosismodel": [11, 12], "dimension": 17, "dipi": [11, 12, 17, 18], "direct": [4, 21], "directori": 20, "disk": [4, 5], "displac": 4, "distort": [4, 8, 17, 21], "dki": [11, 12, 15], "dkimodel": [11, 12, 16], "dmri": [3, 6, 8, 12, 16, 17, 21], "do": [11, 12, 15, 16], "doc": [15, 16], "docker": 15, "docstr": 15, "document": [15, 17], "download": 21, "dpy": 15, "drop": 15, "dti": [11, 12, 15, 17], "dtimodel": [11, 12, 16], "due": [17, 21], "durat": 5, "dw": [14, 17], "dwdata": 8, "dwi": [4, 6, 8, 13, 15, 16, 17, 20, 21], "dwi_data": 21, "dwi_ful": 21, "e": [4, 14, 16, 17], "each": [5, 8, 21], "earliest": 17, "easier": 12, "eddi": [8, 17, 21], "eddymot": [15, 16, 18], "eddymotioncorrect": 15, "eddymotionestim": [8, 15, 16, 21], "effect": 17, "either": 21, "em_affin": [4, 5, 7, 8, 15, 16], "emploi": 21, "encapsul": 21, "encod": [8, 21], "enh": 15, "enhanc": 15, "ensur": 21, "entri": 2, "environ": [16, 18], "equal": 15, "error": 15, "estim": [15, 16, 17, 20, 21], "estimated_affin": 21, "et": 17, "everi": [15, 16], "exampl": [13, 21], "execut": 15, "extern": 17, "factori": [11, 12, 15], "fals": [6, 10, 13, 14], "field": 4, "fieldmap": [4, 16], "file": [4, 5, 14, 15, 20, 21], "filenam": [4, 5], "filepath": [4, 5, 7, 14], "find": 21, "first": [15, 16, 21], "fit": [11, 12, 15, 16, 21], "fix": 15, "fixtur": 15, "flag": 14, "flake8": 15, "float": 5, "fmap_fil": 4, "fold": 6, "folder": 16, "follow": [12, 15, 18, 21], "format": [4, 15, 21], "formatt": 15, "found": 16, "frame_dur": 5, "frame_tim": [5, 16], "framework": 17, "freesurf": 14, "from": [4, 5, 6, 8, 12, 13, 15, 17, 18, 21], "from_filenam": [4, 5, 16, 21], "front": 17, "fsl": 17, "fulldkimodel": 15, "function": [14, 15, 16, 18, 21], "further": 1, "fyi": 15, "g": 14, "garyfallidi": 17, "gaussian": 17, "gener": [8, 13, 15, 16, 17, 20, 21], "get": 4, "get_filenam": [4, 16], "get_segment_label": [14, 16], "gh": 16, "gha": 15, "git": 16, "github": [15, 16], "given": [10, 13], "go": 8, "gradient": [4, 5, 6, 8, 11, 12, 14, 15, 16, 21], "gradient_fil": 21, "gradients_fil": [4, 21], "gradientt": 14, "grammar": 15, "gridspec": 14, "group": 14, "grow": 13, "gtab": [11, 12, 14], "guidelin": 16, "gz": 21, "h": 20, "h5": [15, 21], "ha": 17, "habitu": 18, "hard": 4, "harmon": 17, "have": [15, 16, 20, 21], "hdf5": [4, 5, 20, 21], "head": [8, 17, 21], "header": [4, 5], "helper": 6, "hglc": 12, "high": 17, "hold": 1, "honor": 15, "housekeep": 15, "how": 17, "html": 16, "http": [12, 16], "i": [4, 8, 10, 12, 13, 16, 17, 21], "ii": 17, "imag": [8, 11, 12, 13, 14, 15, 17, 20, 21], "img": 15, "implement": [12, 15, 17], "implicitli": 17, "import": [18, 21], "improv": 15, "includ": 21, "incorpor": 17, "index": [4, 5, 6, 13, 14, 21], "index_posit": 14, "indic": 21, "individu": [8, 20, 21], "inform": [15, 16, 21], "inherit": 12, "init": [11, 12, 16], "initi": [13, 15], "input": 20, "input_fil": 20, "instal": [15, 16, 17], "instanc": [13, 15, 21], "instanti": [11, 12, 21], "instead": 12, "int": [6, 8, 13, 14], "integ": 14, "integr": [15, 17], "interfac": [11, 12, 17], "intern": [8, 21], "intl": 17, "is_positive_definit": [10, 16], "issu": 17, "iter": [8, 13, 15, 21], "its": [8, 10, 15], "j": [15, 17], "job": [8, 15, 20, 21], "joblib": 15, "just": 15, "keyword": [8, 14], "kwarg": [4, 8, 11, 12, 13], "l": 17, "label": 14, "label_posit": 14, "last": 21, "later": 17, "latest": 16, "leav": [6, 15, 17, 21], "left": 6, "length": 15, "less": 17, "level": 15, "librari": 17, "licens": 15, "like": 15, "line": [1, 17, 18], "linear": [4, 5], "linear_iter": [13, 16], "link": 15, "linter": 15, "list": [1, 4, 5, 8, 13, 14, 21], "load": [4, 5, 16, 21], "loader": 15, "local": [15, 16], "lovo": [6, 21], "lovo_split": [6, 16], "lower": 10, "m": [16, 17, 18], "mag": 17, "magnet": 17, "mai": [8, 17, 20, 21], "main": [2, 15, 16], "maint": 15, "maintain": [12, 16], "mainten": 15, "major": 16, "make": [15, 16, 18], "manag": 15, "manual": 16, "map": [4, 6, 8, 11, 12, 14, 15, 21], "mask": [11, 12, 14], "match": 15, "math": [16, 17], "matplotlib": 14, "matric": [8, 21], "matrix": [10, 15], "maximum": [8, 20, 21], "med": 17, "medicin": 17, "memori": 4, "merg": 16, "method": [12, 15, 16, 17, 21], "midpoint": 5, "migrat": 15, "minor": [15, 16], "miscelan": 15, "miscellan": 15, "miss": 15, "mix": 15, "mm2": 17, "mm\u00b2": 21, "model": [8, 15, 16, 17, 20, 21], "modelfactori": [8, 11, 12, 15, 16], "modul": [0, 3, 9, 11, 16, 17], "more": [15, 17], "motion": [8, 17, 21], "movement": 17, "mr": 17, "mri": [17, 21], "multi": 17, "multipl": 17, "myself": 15, "n_ctrl": [11, 12], "n_iter": 8, "n_job": [8, 12, 21], "name": [14, 15, 17], "namespac": 1, "natur": 17, "ndarrai": [4, 5, 7, 8, 10], "necessari": [8, 21], "need": [16, 17], "neuroimag": 17, "neuroinformat": 17, "new": 17, "nice": 15, "nifti": [4, 5, 21], "nifti1imag": [7, 14], "nii": [7, 14, 21], "nii_t_img": 7, "niprep": [15, 16], "nitransform": [4, 5], "niworkflow": 14, "njob": 20, "node": 15, "none": [1, 2, 4, 5, 7, 8, 11, 12, 13, 14], "noth": [4, 5, 11, 12], "np": 10, "nthread": 20, "number": [5, 8, 13, 20, 21], "numpi": [4, 5, 8, 15], "nx4x4": [7, 21], "object": [1, 4, 5, 6, 8, 11, 12, 14, 15, 21], "obtain": 4, "off": 17, "offer": 16, "omp_nthread": [8, 21], "onc": 21, "one": [4, 6, 15, 17, 21], "onli": 16, "onlin": 16, "open": 17, "option": [1, 7, 11, 12], "order": [4, 5, 11, 12, 13], "org": [15, 16], "orient": [6, 13], "origin": [6, 20], "oscil": 17, "osf": 21, "other": 16, "otherwis": 10, "out": [6, 15, 17, 21], "output": [20, 21], "output_dir": 20, "output_fil": 14, "output_filenam": [7, 21], "outsourc": 15, "overli": 15, "ozarslan": 17, "packag": [15, 16, 17, 21], "page": [16, 21], "parallel": [8, 15, 20, 21], "paramet": [1, 6, 7, 8, 10, 11, 12, 13, 14, 15, 20, 21], "pars": 1, "parse_arg": [1, 16], "parser": [0, 15, 16], "particular": 8, "pass": 13, "patch": 16, "path": [14, 15, 20, 21], "pep517": 15, "per": 21, "perform": 10, "pet": [3, 11, 12, 15, 16], "petmodel": [11, 12, 16], "pin": 15, "pip": 18, "place": 8, "plai": 15, "platform": 17, "pleas": 16, "plot": [14, 15, 21], "plot_carpet": [14, 16], "plot_gradi": [4, 15, 16, 21], "plot_mosa": [4, 16, 21], "point": [2, 14, 15], "posit": [10, 14, 17], "post": 16, "prealloc": 15, "predict": [11, 12, 16, 17], "prefer": [4, 21], "preprocess": 17, "principl": 12, "print": 18, "proc": 17, "process": [8, 15, 17, 20, 21], "produc": 6, "product": 10, "program": 17, "progress": 13, "project": [15, 16], "properli": 15, "properti": 8, "propos": 17, "prototyp": 15, "provid": 21, "purpos": [15, 17], "py": 16, "pypi": 15, "pytest": 15, "python": [13, 15, 16, 17, 18], "q": 17, "qsiprep": 17, "r": [17, 21], "ra": [4, 5], "random": [8, 13, 15, 20, 21], "random_iter": [13, 16], "randomli": 13, "randomst": 15, "read": [4, 5, 12, 16], "readm": 15, "realign": [8, 11, 12, 20, 21], "recent": 17, "reconst": [11, 12], "reconstmodel": [11, 12], "reconstruct": 17, "reduc": 15, "refactor": 15, "refer": [4, 15], "regist": 17, "registr": [8, 15, 17, 20, 21], "relat": 15, "releas": [15, 16], "remaind": 17, "remov": 15, "renam": 15, "reorder": 14, "repeat": 8, "replac": [15, 17], "repositori": 16, "repres": [1, 4, 5, 8, 21], "represent": [4, 5], "requir": [15, 18, 21], "reson": 17, "result": 21, "retrospect": 17, "return": [1, 2, 6, 7, 8, 10, 11, 12, 13, 14, 15, 21], "revis": 15, "rigid": [8, 21], "rotat": [8, 15], "row": 21, "ruff": 15, "run": [0, 1, 16, 17, 21], "runner": 2, "s0": [11, 12], "same": [17, 20], "sampl": [5, 21], "save": [7, 14, 21], "scan": 17, "scheme": 17, "script": [15, 17], "secret": 15, "see": [8, 12, 21], "seed": [8, 13, 15, 20, 21], "segment": 14, "segment_label": 14, "select": [8, 20], "seri": 16, "set": [4, 5, 13, 15, 17], "set_transform": [4, 5, 16], "setup": 15, "setuptools_scm": 16, "sever": 21, "shell": 17, "shield": 15, "shore": 17, "shorelin": 17, "should": [4, 21], "side": 13, "signal": 12, "similar": 17, "simpl": 17, "simplifi": 15, "simul": 17, "singl": 17, "size": 13, "smart": 4, "so": 15, "soc": 17, "some": 4, "sort": 13, "sort_by_bv": 14, "sotiropoulo": 17, "sourc": [1, 2, 4, 5, 6, 7, 8, 10, 11, 12, 13, 14, 16], "space": 17, "specif": [16, 21], "specifi": [7, 16, 21], "spectrum": 17, "sphinx": 15, "spline": [11, 12], "split": [3, 16, 21], "splitter": 15, "src": 16, "start": [13, 21], "static": [8, 11, 12], "statu": 15, "step": 21, "stop": 15, "store": 16, "str": [1, 7, 11, 12, 13], "strength": 21, "string": [1, 7, 14], "structur": [4, 5, 15], "sty": 15, "style": 15, "stylist": 15, "subject": 17, "submodul": 16, "suggest": 15, "suppli": 7, "support": 15, "sure": [16, 18], "suscept": 4, "system": 15, "tabl": [4, 21], "tag": 16, "target": [8, 17, 20, 21], "task": 15, "techniqu": 21, "temporari": 15, "tensormodel": [11, 12], "test": [6, 15, 21], "test_data": 6, "test_gradi": 6, "text": 14, "thi": [4, 6, 8, 12, 16, 17, 21], "thread": [8, 20, 21], "threadpoolexecutor": 15, "three": [17, 21], "time": [5, 8, 14, 21], "timepoint": [5, 11, 12], "tmp_path": 15, "tmpdir": 15, "to_filenam": [4, 5, 16, 21], "to_nifti": [4, 5, 16, 21], "togeth": 14, "toml": 16, "too": 16, "tool": [8, 17, 21], "total": 5, "total_dur": [5, 16], "train": 6, "train_data": 6, "train_gradi": 6, "transform": [7, 21], "transpos": 10, "travers": 13, "tree": 16, "triangular": 10, "trivial": [11, 12, 15], "trivialb0model": [11, 12, 16], "true": [10, 13], "tupl": 6, "txt": 15, "type": [1, 2, 7, 8, 10, 11, 12, 13, 14, 15, 21], "typo": 15, "under": 16, "unit": 21, "unnam": 15, "unnecessari": 15, "unus": 15, "unwarp": 4, "up": [15, 17], "updat": [4, 5, 6, 15, 16, 21], "upon": 17, "upstream": 15, "uptak": 15, "us": [8, 14, 15, 17, 18, 20], "usag": [20, 21], "util": [3, 9, 14, 15, 16, 17, 21], "v": 12, "valu": [6, 13, 17], "variabl": 15, "vector": [6, 8], "ventricl": 14, "version": [15, 16], "visual": [4, 14, 21], "viz": [16, 17], "vol": 17, "volum": [4, 5, 6, 13, 21], "voxel": [4, 5], "wa": 17, "want": 8, "warn": 15, "watch": 12, "we": [8, 16], "weight": [17, 21], "well": 8, "what": 17, "when": 8, "whether": 10, "which": [7, 16, 21], "while": 17, "wide": 17, "with_b0": 6, "within": [8, 16, 17, 21], "without": [4, 5, 17], "word": 16, "work": 17, "workflow": 15, "wrapper": [11, 12], "write": [4, 5], "www": [12, 16], "x": 16, "xlim": [11, 12], "yaml": 20, "you": 16, "your": [16, 18, 21], "youtub": 12, "zip": 15}, "titles": ["eddymotion.cli package", "eddymotion.cli.parser module", "eddymotion.cli.run module", "eddymotion.data package", "eddymotion.data.dmri module", "eddymotion.data.pet module", "eddymotion.data.splitting module", "eddymotion.data.utils module", "eddymotion.estimator module", "eddymotion.math package", "eddymotion.math.utils module", "eddymotion.model package", "eddymotion.model.base module", "eddymotion.utils module", "eddymotion.viz module", "What\u2019s new?", "For developers", "Eddymotion", "Installation", "<no title>", "Running Eddymotion", "How to Use"], "titleterms": {"": 15, "0": 15, "1": 15, "12": 15, "13": 15, "15": 15, "2021": 15, "2024": 15, "4": 15, "For": 16, "api": 16, "applic": 16, "april": 15, "argument": 20, "base": 12, "cli": [0, 1, 2], "command": 20, "content": 17, "contribut": 16, "data": [3, 4, 5, 6, 7], "depend": 18, "develop": 16, "dmri": 4, "document": 16, "eddymot": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 17, 20, 21], "estim": 8, "extern": 18, "how": 21, "incorpor": 21, "instal": 18, "interfac": [16, 20], "librari": 16, "line": 20, "mai": 15, "math": [9, 10], "model": [11, 12], "modul": [1, 2, 4, 5, 6, 7, 8, 10, 12, 13, 14, 21], "name": 20, "new": 15, "packag": [0, 3, 9, 11], "parser": 1, "pet": 5, "posit": 20, "program": 16, "python": 21, "run": [2, 20], "script": 21, "split": 6, "submodul": [0, 3, 9, 11], "us": 21, "util": [7, 10, 13], "viz": 14, "what": 15}}) \ No newline at end of file +Search.setIndex({"alltitles": {"0.1.15 (mai 13, 2024)": [[16, "mai-13-2024"]], "0.1.4 (April 12, 2021)": [[16, "april-12-2021"]], "Command line interface": [[21, "command-line-interface"]], "Contents": [[18, "contents"]], "Contributing": [[17, "contributing"]], "Documentation": [[17, "documentation"]], "Eddymotion": [[18, "eddymotion"]], "External Dependencies": [[19, "external-dependencies"]], "For developers": [[17, "for-developers"]], "How to Use": [[22, "how-to-use"]], "Incorporating Eddymotion into a Python module or script": [[22, "incorporating-eddymotion-into-a-python-module-or-script"]], "Installation": [[19, "id1"]], "Library API (application program interface)": [[17, "library-api-application-program-interface"]], "Named Arguments": [[21, "named-arguments"]], "Positional Arguments": [[21, "positional-arguments"]], "Running Eddymotion": [[21, "running-eddymotion"]], "Submodules": [[0, "submodules"], [3, "submodules"], [9, "submodules"], [11, "submodules"]], "What\u2019s new?": [[16, "what-s-new"]], "eddymotion.cli package": [[0, "module-eddymotion.cli"]], "eddymotion.cli.parser module": [[1, "module-eddymotion.cli.parser"]], "eddymotion.cli.run module": [[2, "module-eddymotion.cli.run"]], "eddymotion.data package": [[3, "module-eddymotion.data"]], "eddymotion.data.dmri module": [[4, "module-eddymotion.data.dmri"]], "eddymotion.data.pet module": [[5, "module-eddymotion.data.pet"]], "eddymotion.data.splitting module": [[6, "module-eddymotion.data.splitting"]], "eddymotion.data.utils module": [[7, "module-eddymotion.data.utils"]], "eddymotion.estimator module": [[8, "module-eddymotion.estimator"]], "eddymotion.math package": [[9, "module-eddymotion.math"]], "eddymotion.math.utils module": [[10, "module-eddymotion.math.utils"]], "eddymotion.model package": [[11, "module-eddymotion.model"]], "eddymotion.model.base module": [[12, "module-eddymotion.model.base"]], "eddymotion.model.gradient_utils module": [[13, "module-eddymotion.model.gradient_utils"]], "eddymotion.utils module": [[14, "module-eddymotion.utils"]], "eddymotion.viz module": [[15, "module-eddymotion.viz"]]}, "docnames": ["api/eddymotion.cli", "api/eddymotion.cli.parser", "api/eddymotion.cli.run", "api/eddymotion.data", "api/eddymotion.data.dmri", "api/eddymotion.data.pet", "api/eddymotion.data.splitting", "api/eddymotion.data.utils", "api/eddymotion.estimator", "api/eddymotion.math", "api/eddymotion.math.utils", "api/eddymotion.model", "api/eddymotion.model.base", "api/eddymotion.model.gradient_utils", "api/eddymotion.utils", "api/eddymotion.viz", "changes", "developers", "index", "installation", "links", "running", "usage"], "envversion": {"sphinx": 61, "sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.intersphinx": 1, "sphinx.ext.viewcode": 1}, "filenames": ["api/eddymotion.cli.rst", "api/eddymotion.cli.parser.rst", "api/eddymotion.cli.run.rst", "api/eddymotion.data.rst", "api/eddymotion.data.dmri.rst", "api/eddymotion.data.pet.rst", "api/eddymotion.data.splitting.rst", "api/eddymotion.data.utils.rst", "api/eddymotion.estimator.rst", "api/eddymotion.math.rst", "api/eddymotion.math.utils.rst", "api/eddymotion.model.rst", "api/eddymotion.model.base.rst", "api/eddymotion.model.gradient_utils.rst", "api/eddymotion.utils.rst", "api/eddymotion.viz.rst", "changes.rst", "developers.rst", "index.rst", "installation.rst", "links.rst", "running.rst", "usage.rst"], "indexentries": {"affine (eddymotion.data.dmri.dwi attribute)": [[4, "eddymotion.data.dmri.DWI.affine", false]], "affine (eddymotion.data.pet.pet attribute)": [[5, "eddymotion.data.pet.PET.affine", false]], "apply_affines() (in module eddymotion.data.utils)": [[7, "eddymotion.data.utils.apply_affines", false]], "averagedwmodel (class in eddymotion.model)": [[11, "eddymotion.model.AverageDWModel", false]], "averagedwmodel (class in eddymotion.model.base)": [[12, "eddymotion.model.base.AverageDWModel", false]], "basemodel (class in eddymotion.model.base)": [[12, "eddymotion.model.base.BaseModel", false]], "brainmask (eddymotion.data.dmri.dwi attribute)": [[4, "eddymotion.data.dmri.DWI.brainmask", false]], "brainmask (eddymotion.data.pet.pet attribute)": [[5, "eddymotion.data.pet.PET.brainmask", false]], "bvalue_iterator() (in module eddymotion.utils)": [[14, "eddymotion.utils.bvalue_iterator", false]], "bzero (eddymotion.data.dmri.dwi attribute)": [[4, "eddymotion.data.dmri.DWI.bzero", false]], "centralsym_iterator() (in module eddymotion.utils)": [[14, "eddymotion.utils.centralsym_iterator", false]], "compute_angle() (in module eddymotion.math.utils)": [[10, "eddymotion.math.utils.compute_angle", false]], "compute_pairwise_angles() (in module eddymotion.model.gradient_utils)": [[13, "eddymotion.model.gradient_utils.compute_pairwise_angles", false]], "dataobj (eddymotion.data.dmri.dwi attribute)": [[4, "eddymotion.data.dmri.DWI.dataobj", false]], "dataobj (eddymotion.data.pet.pet attribute)": [[5, "eddymotion.data.pet.PET.dataobj", false]], "dkimodel (class in eddymotion.model)": [[11, "eddymotion.model.DKIModel", false]], "dkimodel (class in eddymotion.model.base)": [[12, "eddymotion.model.base.DKIModel", false]], "dtimodel (class in eddymotion.model)": [[11, "eddymotion.model.DTIModel", false]], "dtimodel (class in eddymotion.model.base)": [[12, "eddymotion.model.base.DTIModel", false]], "dwi (class in eddymotion.data.dmri)": [[4, "eddymotion.data.dmri.DWI", false]], "eddymotion.cli": [[0, "module-eddymotion.cli", false]], "eddymotion.cli.parser": [[1, "module-eddymotion.cli.parser", false]], "eddymotion.cli.run": [[2, "module-eddymotion.cli.run", false]], "eddymotion.data": [[3, "module-eddymotion.data", false]], "eddymotion.data.dmri": [[4, "module-eddymotion.data.dmri", false]], "eddymotion.data.pet": [[5, "module-eddymotion.data.pet", false]], "eddymotion.data.splitting": [[6, "module-eddymotion.data.splitting", false]], "eddymotion.data.utils": [[7, "module-eddymotion.data.utils", false]], "eddymotion.estimator": [[8, "module-eddymotion.estimator", false]], "eddymotion.math": [[9, "module-eddymotion.math", false]], "eddymotion.math.utils": [[10, "module-eddymotion.math.utils", false]], "eddymotion.model": [[11, "module-eddymotion.model", false]], "eddymotion.model.base": [[12, "module-eddymotion.model.base", false]], "eddymotion.model.gradient_utils": [[13, "module-eddymotion.model.gradient_utils", false]], "eddymotion.utils": [[14, "module-eddymotion.utils", false]], "eddymotion.viz": [[15, "module-eddymotion.viz", false]], "eddymotionestimator (class in eddymotion.estimator)": [[8, "eddymotion.estimator.EddyMotionEstimator", false]], "em_affines (eddymotion.data.dmri.dwi attribute)": [[4, "eddymotion.data.dmri.DWI.em_affines", false]], "em_affines (eddymotion.data.pet.pet attribute)": [[5, "eddymotion.data.pet.PET.em_affines", false]], "estimate() (eddymotion.estimator.eddymotionestimator static method)": [[8, "eddymotion.estimator.EddyMotionEstimator.estimate", false]], "fieldmap (eddymotion.data.dmri.dwi attribute)": [[4, "eddymotion.data.dmri.DWI.fieldmap", false]], "fit() (eddymotion.model.averagedwmodel method)": [[11, "eddymotion.model.AverageDWModel.fit", false]], "fit() (eddymotion.model.base.averagedwmodel method)": [[12, "eddymotion.model.base.AverageDWModel.fit", false]], "fit() (eddymotion.model.base.basemodel method)": [[12, "eddymotion.model.base.BaseModel.fit", false]], "fit() (eddymotion.model.base.petmodel method)": [[12, "eddymotion.model.base.PETModel.fit", false]], "fit() (eddymotion.model.base.trivialb0model method)": [[12, "eddymotion.model.base.TrivialB0Model.fit", false]], "fit() (eddymotion.model.petmodel method)": [[11, "eddymotion.model.PETModel.fit", false]], "fit() (eddymotion.model.trivialb0model method)": [[11, "eddymotion.model.TrivialB0Model.fit", false]], "frame_time (eddymotion.data.pet.pet attribute)": [[5, "eddymotion.data.pet.PET.frame_time", false]], "from_filename() (eddymotion.data.dmri.dwi class method)": [[4, "eddymotion.data.dmri.DWI.from_filename", false]], "from_filename() (eddymotion.data.pet.pet class method)": [[5, "eddymotion.data.pet.PET.from_filename", false]], "get_filename() (eddymotion.data.dmri.dwi method)": [[4, "eddymotion.data.dmri.DWI.get_filename", false]], "get_segment_labels() (in module eddymotion.viz)": [[15, "eddymotion.viz.get_segment_labels", false]], "gradients (eddymotion.data.dmri.dwi attribute)": [[4, "eddymotion.data.dmri.DWI.gradients", false]], "init() (eddymotion.model.base.modelfactory static method)": [[12, "eddymotion.model.base.ModelFactory.init", false]], "init() (eddymotion.model.modelfactory static method)": [[11, "eddymotion.model.ModelFactory.init", false]], "is_positive_definite() (in module eddymotion.math.utils)": [[10, "eddymotion.math.utils.is_positive_definite", false]], "linear_iterator() (in module eddymotion.utils)": [[14, "eddymotion.utils.linear_iterator", false]], "load() (in module eddymotion.data.dmri)": [[4, "eddymotion.data.dmri.load", false]], "load() (in module eddymotion.data.pet)": [[5, "eddymotion.data.pet.load", false]], "lovo_split() (in module eddymotion.data.splitting)": [[6, "eddymotion.data.splitting.lovo_split", false]], "main() (in module eddymotion.cli.run)": [[2, "eddymotion.cli.run.main", false]], "modelfactory (class in eddymotion.model)": [[11, "eddymotion.model.ModelFactory", false]], "modelfactory (class in eddymotion.model.base)": [[12, "eddymotion.model.base.ModelFactory", false]], "module": [[0, "module-eddymotion.cli", false], [1, "module-eddymotion.cli.parser", false], [2, "module-eddymotion.cli.run", false], [3, "module-eddymotion.data", false], [4, "module-eddymotion.data.dmri", false], [5, "module-eddymotion.data.pet", false], [6, "module-eddymotion.data.splitting", false], [7, "module-eddymotion.data.utils", false], [8, "module-eddymotion.estimator", false], [9, "module-eddymotion.math", false], [10, "module-eddymotion.math.utils", false], [11, "module-eddymotion.model", false], [12, "module-eddymotion.model.base", false], [13, "module-eddymotion.model.gradient_utils", false], [14, "module-eddymotion.utils", false], [15, "module-eddymotion.viz", false]], "parse_args() (in module eddymotion.cli.parser)": [[1, "eddymotion.cli.parser.parse_args", false]], "pet (class in eddymotion.data.pet)": [[5, "eddymotion.data.pet.PET", false]], "petmodel (class in eddymotion.model)": [[11, "eddymotion.model.PETModel", false]], "petmodel (class in eddymotion.model.base)": [[12, "eddymotion.model.base.PETModel", false]], "plot_carpet() (in module eddymotion.viz)": [[15, "eddymotion.viz.plot_carpet", false]], "plot_gradients() (eddymotion.data.dmri.dwi method)": [[4, "eddymotion.data.dmri.DWI.plot_gradients", false]], "plot_mosaic() (eddymotion.data.dmri.dwi method)": [[4, "eddymotion.data.dmri.DWI.plot_mosaic", false]], "predict() (eddymotion.model.averagedwmodel method)": [[11, "eddymotion.model.AverageDWModel.predict", false]], "predict() (eddymotion.model.base.averagedwmodel method)": [[12, "eddymotion.model.base.AverageDWModel.predict", false]], "predict() (eddymotion.model.base.basemodel method)": [[12, "eddymotion.model.base.BaseModel.predict", false]], "predict() (eddymotion.model.base.petmodel method)": [[12, "eddymotion.model.base.PETModel.predict", false]], "predict() (eddymotion.model.base.trivialb0model method)": [[12, "eddymotion.model.base.TrivialB0Model.predict", false]], "predict() (eddymotion.model.petmodel method)": [[11, "eddymotion.model.PETModel.predict", false]], "predict() (eddymotion.model.trivialb0model method)": [[11, "eddymotion.model.TrivialB0Model.predict", false]], "random_iterator() (in module eddymotion.utils)": [[14, "eddymotion.utils.random_iterator", false]], "set_transform() (eddymotion.data.dmri.dwi method)": [[4, "eddymotion.data.dmri.DWI.set_transform", false]], "set_transform() (eddymotion.data.pet.pet method)": [[5, "eddymotion.data.pet.PET.set_transform", false]], "to_filename() (eddymotion.data.dmri.dwi method)": [[4, "eddymotion.data.dmri.DWI.to_filename", false]], "to_filename() (eddymotion.data.pet.pet method)": [[5, "eddymotion.data.pet.PET.to_filename", false]], "to_nifti() (eddymotion.data.dmri.dwi method)": [[4, "eddymotion.data.dmri.DWI.to_nifti", false]], "to_nifti() (eddymotion.data.pet.pet method)": [[5, "eddymotion.data.pet.PET.to_nifti", false]], "total_duration (eddymotion.data.pet.pet attribute)": [[5, "eddymotion.data.pet.PET.total_duration", false]], "trivialb0model (class in eddymotion.model)": [[11, "eddymotion.model.TrivialB0Model", false]], "trivialb0model (class in eddymotion.model.base)": [[12, "eddymotion.model.base.TrivialB0Model", false]]}, "objects": {"eddymotion": [[0, 0, 0, "-", "cli"], [3, 0, 0, "-", "data"], [8, 0, 0, "-", "estimator"], [9, 0, 0, "-", "math"], [11, 0, 0, "-", "model"], [14, 0, 0, "-", "utils"], [15, 0, 0, "-", "viz"]], "eddymotion.cli": [[1, 0, 0, "-", "parser"], [2, 0, 0, "-", "run"]], "eddymotion.cli.parser": [[1, 1, 1, "", "parse_args"]], "eddymotion.cli.run": [[2, 1, 1, "", "main"]], "eddymotion.data": [[4, 0, 0, "-", "dmri"], [5, 0, 0, "-", "pet"], [6, 0, 0, "-", "splitting"], [7, 0, 0, "-", "utils"]], "eddymotion.data.dmri": [[4, 2, 1, "", "DWI"], [4, 1, 1, "", "load"]], "eddymotion.data.dmri.DWI": [[4, 3, 1, "", "affine"], [4, 3, 1, "", "brainmask"], [4, 3, 1, "", "bzero"], [4, 3, 1, "", "dataobj"], [4, 3, 1, "", "em_affines"], [4, 3, 1, "", "fieldmap"], [4, 4, 1, "", "from_filename"], [4, 4, 1, "", "get_filename"], [4, 3, 1, "", "gradients"], [4, 4, 1, "", "plot_gradients"], [4, 4, 1, "", "plot_mosaic"], [4, 4, 1, "", "set_transform"], [4, 4, 1, "", "to_filename"], [4, 4, 1, "", "to_nifti"]], "eddymotion.data.pet": [[5, 2, 1, "", "PET"], [5, 1, 1, "", "load"]], "eddymotion.data.pet.PET": [[5, 3, 1, "", "affine"], [5, 3, 1, "", "brainmask"], [5, 3, 1, "", "dataobj"], [5, 3, 1, "", "em_affines"], [5, 3, 1, "", "frame_time"], [5, 4, 1, "", "from_filename"], [5, 4, 1, "", "set_transform"], [5, 4, 1, "", "to_filename"], [5, 4, 1, "", "to_nifti"], [5, 3, 1, "", "total_duration"]], "eddymotion.data.splitting": [[6, 1, 1, "", "lovo_split"]], "eddymotion.data.utils": [[7, 1, 1, "", "apply_affines"]], "eddymotion.estimator": [[8, 2, 1, "", "EddyMotionEstimator"]], "eddymotion.estimator.EddyMotionEstimator": [[8, 4, 1, "", "estimate"]], "eddymotion.math": [[10, 0, 0, "-", "utils"]], "eddymotion.math.utils": [[10, 1, 1, "", "compute_angle"], [10, 1, 1, "", "is_positive_definite"]], "eddymotion.model": [[11, 2, 1, "", "AverageDWModel"], [11, 2, 1, "", "DKIModel"], [11, 2, 1, "", "DTIModel"], [11, 2, 1, "", "ModelFactory"], [11, 2, 1, "", "PETModel"], [11, 2, 1, "", "TrivialB0Model"], [12, 0, 0, "-", "base"], [13, 0, 0, "-", "gradient_utils"]], "eddymotion.model.AverageDWModel": [[11, 4, 1, "", "fit"], [11, 4, 1, "", "predict"]], "eddymotion.model.ModelFactory": [[11, 4, 1, "", "init"]], "eddymotion.model.PETModel": [[11, 4, 1, "", "fit"], [11, 4, 1, "", "predict"]], "eddymotion.model.TrivialB0Model": [[11, 4, 1, "", "fit"], [11, 4, 1, "", "predict"]], "eddymotion.model.base": [[12, 2, 1, "", "AverageDWModel"], [12, 2, 1, "", "BaseModel"], [12, 2, 1, "", "DKIModel"], [12, 2, 1, "", "DTIModel"], [12, 2, 1, "", "ModelFactory"], [12, 2, 1, "", "PETModel"], [12, 2, 1, "", "TrivialB0Model"]], "eddymotion.model.base.AverageDWModel": [[12, 4, 1, "", "fit"], [12, 4, 1, "", "predict"]], "eddymotion.model.base.BaseModel": [[12, 4, 1, "", "fit"], [12, 4, 1, "", "predict"]], "eddymotion.model.base.ModelFactory": [[12, 4, 1, "", "init"]], "eddymotion.model.base.PETModel": [[12, 4, 1, "", "fit"], [12, 4, 1, "", "predict"]], "eddymotion.model.base.TrivialB0Model": [[12, 4, 1, "", "fit"], [12, 4, 1, "", "predict"]], "eddymotion.model.gradient_utils": [[13, 1, 1, "", "compute_pairwise_angles"]], "eddymotion.utils": [[14, 1, 1, "", "bvalue_iterator"], [14, 1, 1, "", "centralsym_iterator"], [14, 1, 1, "", "linear_iterator"], [14, 1, 1, "", "random_iterator"]], "eddymotion.viz": [[15, 1, 1, "", "get_segment_labels"], [15, 1, 1, "", "plot_carpet"]]}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "function", "Python function"], "2": ["py", "class", "Python class"], "3": ["py", "attribute", "Python attribute"], "4": ["py", "method", "Python method"]}, "objtypes": {"0": "py:module", "1": "py:function", "2": "py:class", "3": "py:attribute", "4": "py:method"}, "terms": {"": [8, 11, 12, 14, 18, 22], "0": [4, 5, 10, 11, 12, 13, 14, 15, 17, 18, 22], "1": [4, 5, 10, 13, 14, 15, 17, 18], "10": 14, "100": 16, "1000": [14, 18], "102": 16, "103": 16, "104": 16, "105": 16, "106": 16, "1063": [13, 18], "1078": [13, 18], "109": 16, "11": 14, "112": 16, "115": 16, "119": 16, "12": [14, 18], "120": 16, "121": 16, "122": 16, "123": 16, "124": 16, "125": [13, 18], "128": 16, "13": [14, 18], "130": 16, "131": 16, "132": 16, "133": 16, "134": 16, "135": 16, "136": 16, "137": 16, "138": 16, "139": 16, "1396": 18, "14": [14, 15], "141": 16, "1415": [10, 13], "143": 16, "144": 16, "147": 16, "149": 16, "15": [14, 15, 18], "154": 16, "157": 16, "158": 16, "159": 16, "160": 16, "162": 16, "164": 16, "167": 16, "1694": 18, "17": 18, "1702": 18, "172": 16, "173": 16, "175": 16, "177": 16, "179": 16, "18": 18, "182": 16, "183": 16, "185": 16, "190": 16, "1d": 5, "2": [14, 15, 16, 17, 18], "2000": 14, "2009": 18, "2012": 18, "2014": 18, "2016": [13, 18], "2021": 18, "20210324": 14, "2024": 18, "27": 16, "2d": 4, "3": [4, 5, 10, 11, 12, 13, 14, 15, 16, 18, 19], "30": 16, "32": 16, "33": 16, "3d": [4, 6], "3mnvp9": 12, "4": [8, 14, 15, 18, 22], "41": 15, "42": [14, 15, 22], "43": 15, "4d": [14, 21], "5": [14, 18], "50": 4, "518": 16, "6": [14, 17], "67": 18, "7": [14, 18, 19], "700": 14, "72": 15, "775": 18, "778": 18, "8": [14, 16, 18], "82": 16, "83": 16, "84": 16, "85": 16, "87": 16, "88": 16, "9": [14, 16], "91": 16, "92": 16, "96": 16, "97": 16, "98": 16, "A": [4, 5, 8, 11, 12, 16, 21, 22], "For": [18, 22], "If": [4, 14, 22], "In": 17, "It": 22, "On": 19, "One": 22, "The": [6, 8, 10, 14, 16, 17, 21, 22], "To": [17, 22], "With": 17, "_": 5, "__init__": 16, "__version__": 19, "_sort_dwdata_indic": 8, "_version": 17, "ab": 13, "abov": 19, "abstract": 12, "accept": 22, "acquir": 18, "acquisit": [5, 18], "across": [13, 16], "action": [16, 17], "ad": 16, "adapt": 12, "add": 16, "address": 18, "adopt": 16, "advantag": 18, "affin": [4, 5, 7, 8, 16, 17, 22], "al": [13, 18], "algorithm": [8, 21], "align": [4, 5, 22], "align_config": 21, "align_kwarg": [8, 22], "all": [14, 15, 17, 19], "allow": [8, 16], "alongsid": 16, "also": 4, "alternatingli": 14, "alwai": [11, 12], "amitai": 18, "an": [1, 4, 5, 8, 11, 12, 13, 18, 21, 22], "analysi": 18, "andersson": [13, 18], "andersson15": 13, "anew": 16, "angl": [10, 13], "ani": 10, "ant": [16, 19], "antsregistr": 16, "api": 18, "appli": 7, "applic": 18, "apply_affin": [7, 17], "approach": [13, 18], "approxim": [11, 12], "april": 18, "ar": [17, 19, 22], "arcco": 13, "archiv": 17, "arg": [1, 11, 12], "argument": [1, 16, 18, 22], "arrai": [4, 5, 7, 10, 22], "ascend": 14, "asynchron": 12, "asyncio": 16, "attribut": 16, "author": 16, "autom": 16, "automat": 17, "avail": [18, 22], "averag": [4, 11, 12], "averagedw": [11, 12], "averagedwmodel": [11, 12, 17], "avoid": 16, "b": [4, 5, 6, 8, 11, 12, 14, 18, 22], "b0": [8, 16, 22], "b0_file": 4, "b0_thre": 4, "b_0": 4, "b_max": [11, 12], "bad": 16, "badg": 16, "base": [4, 5, 8, 11, 16, 17, 18, 21], "basemodel": [11, 12, 17], "befor": 17, "ben": 18, "besid": 18, "best": [4, 5], "between": [10, 13, 15, 18], "bodi": [8, 22], "bool": [8, 10, 13, 14, 15], "boolean": [4, 5, 15], "both": [10, 18], "brain": 21, "brainmask": [4, 5, 17], "brainmask_fil": [4, 5], "branch": 17, "bring": [4, 5], "build": [16, 17, 18], "built": 22, "bump": 16, "bval": 14, "bval_fil": 4, "bvalu": [14, 15], "bvalue_iter": [14, 17], "bvec": 13, "bvec_fil": 4, "bzero": [4, 17], "c": [17, 19], "cach": 16, "calcul": [11, 12], "call": 16, "can": [10, 16, 19], "carpet": 15, "carpet_plot": [15, 16], "caus": 8, "cd": 17, "center": 14, "centralsym_iter": [14, 17], "cerebral_cortex": 15, "cerebral_white_matt": 15, "cfg": 16, "chang": 16, "check": [1, 10, 16, 19], "choleski": 10, "chunk": 12, "ci": 16, "cieslak": 18, "circleci": 16, "class": [4, 5, 8, 11, 12, 16, 17, 22], "classifi": 16, "classmethod": [4, 5], "cli": [16, 17, 18], "closest_polar": [10, 13], "code": [16, 17], "column": 22, "com": 12, "come": 6, "command": [1, 18, 19], "commit": 17, "commun": 17, "complet": 16, "compliant": [11, 12], "complic": 16, "compon": 22, "compress": [4, 5], "compression_opt": [4, 5], "comput": [10, 13], "compute_angl": [10, 17], "compute_pairwise_angl": [13, 17], "conda": 16, "config": 16, "configur": [8, 16, 21, 22], "conjug": 10, "consid": [10, 13], "consist": 16, "contact": 16, "contain": [4, 5, 8, 15, 17, 21, 22], "context": 16, "contrib": 16, "contribut": 18, "contributor": 16, "convers": [4, 5], "coordin": [4, 5], "correct": [13, 18], "correspond": [4, 5, 6, 8, 14], "creat": 22, "credit": 16, "cross": [10, 13], "current": [8, 18, 21, 22], "cycl": 16, "data": [8, 11, 12, 15, 16, 17, 18, 21, 22], "dataobj": [4, 5, 17], "dataset": [4, 6, 8, 14, 18, 22], "decompos": 10, "decomposit": 10, "default": [1, 12, 14, 21], "defin": [12, 16], "definit": 10, "deform": [8, 18, 22], "delimit": 15, "delv": 17, "depend": [16, 18], "deploy": 16, "deriv": [8, 18], "determinist": [8, 21, 22], "detrend": 15, "develop": 18, "dict": [8, 15], "dictionari": 15, "diffus": [4, 8, 11, 12, 13, 18, 21, 22], "diffusionkurtosismodel": [11, 12], "dimension": 18, "dipi": [11, 12, 18, 19], "direct": [4, 13, 22], "directori": 21, "disk": [4, 5], "displac": 4, "distort": [4, 8, 18, 22], "dki": [11, 12, 16], "dkimodel": [11, 12, 17], "dmri": [3, 6, 8, 12, 17, 18, 22], "do": [11, 12, 16, 17], "doc": [16, 17], "docker": 16, "docstr": 16, "document": [16, 18], "download": 22, "dpy": 16, "drop": 16, "dti": [11, 12, 16, 18], "dtimodel": [11, 12, 17], "due": [18, 22], "durat": 5, "dw": [15, 18], "dwdata": 8, "dwi": [4, 6, 8, 14, 16, 17, 18, 21, 22], "dwi_data": 22, "dwi_ful": 22, "e": [4, 13, 15, 17, 18], "each": [5, 8, 13, 22], "earliest": 18, "easier": 12, "eddi": [8, 18, 22], "eddymot": [16, 17, 19], "eddymotioncorrect": 16, "eddymotionestim": [8, 16, 17, 22], "effect": [13, 18], "either": 22, "em_affin": [4, 5, 7, 8, 16, 17], "emploi": 22, "encapsul": 22, "encod": [8, 13, 22], "enh": 16, "enhanc": 16, "ensur": 22, "entri": 2, "environ": [17, 19], "equal": 16, "error": 16, "estim": [16, 17, 18, 21, 22], "estimated_affin": 22, "et": [13, 18], "everi": [16, 17], "exampl": [10, 13, 14, 22], "execut": 16, "extern": 18, "factori": [11, 12, 16], "fals": [6, 10, 13, 14, 15], "field": 4, "fieldmap": [4, 17], "file": [4, 5, 15, 16, 21, 22], "filenam": [4, 5], "filepath": [4, 5, 7, 15], "find": 22, "first": [10, 16, 17, 22], "fit": [11, 12, 16, 17, 22], "fix": 16, "fixtur": 16, "flag": 15, "flake8": 16, "float": [5, 10], "fmap_fil": 4, "fold": 6, "folder": 17, "follow": [12, 13, 16, 19, 22], "format": [4, 13, 16, 22], "formatt": 16, "found": 17, "frame_dur": 5, "frame_tim": [5, 17], "framework": 18, "freesurf": 15, "from": [4, 5, 6, 8, 10, 12, 13, 14, 16, 18, 19, 22], "from_filenam": [4, 5, 17, 22], "front": 18, "fsl": [13, 18], "fulldkimodel": 16, "function": [15, 16, 17, 19, 22], "further": 1, "fyi": 16, "g": [13, 15], "garyfallidi": 18, "gaussian": 18, "gener": [8, 14, 16, 17, 18, 21, 22], "get": 4, "get_filenam": [4, 17], "get_segment_label": [15, 17], "gh": 17, "gha": 16, "git": 17, "github": [16, 17], "given": [10, 14], "go": 8, "gradient": [4, 5, 6, 8, 11, 12, 13, 15, 16, 17, 22], "gradient_fil": 22, "gradient_util": [11, 17], "gradients_fil": [4, 22], "gradientt": 15, "grammar": 16, "gridspec": 15, "group": 15, "grow": 14, "gtab": [11, 12, 15], "guidelin": 17, "gz": 22, "h": 21, "h5": [16, 22], "ha": 18, "habitu": 19, "hard": 4, "harmon": 18, "have": [16, 17, 21, 22], "hdf5": [4, 5, 21, 22], "head": [8, 18, 22], "header": [4, 5], "helper": 6, "hglc": 12, "high": 18, "hold": 1, "honor": 16, "housekeep": 16, "how": 18, "html": 17, "http": [12, 17], "i": [4, 8, 10, 12, 13, 14, 17, 18, 22], "ii": 18, "imag": [8, 11, 12, 13, 14, 15, 16, 18, 21, 22], "img": 16, "implement": [12, 16, 18], "implicitli": 18, "import": [19, 22], "improv": 16, "includ": 22, "incorpor": 18, "index": [4, 5, 6, 14, 15, 22], "index_posit": 15, "indic": 22, "individu": [8, 21, 22], "inform": [16, 17, 22], "inherit": 12, "init": [11, 12, 17], "initi": [14, 16], "input": 21, "input_fil": 21, "instal": [16, 17, 18], "instanc": [14, 16, 22], "instanti": [11, 12, 22], "instead": 12, "int": [6, 8, 14, 15], "integ": 15, "integr": [13, 16, 18], "interfac": [11, 12, 18], "intern": [8, 22], "intl": 18, "is_positive_definit": [10, 17], "issu": 18, "iter": [8, 14, 16, 22], "its": [8, 10, 16], "j": [13, 16, 18], "job": [8, 16, 21, 22], "joblib": 16, "just": 16, "keyword": [8, 15], "kwarg": [4, 8, 11, 12, 14], "l": [13, 18], "label": 15, "label_posit": 15, "langl": 13, "last": 22, "later": 18, "latest": 17, "leav": [6, 16, 18, 22], "left": 6, "length": 16, "less": 18, "level": 16, "librari": 18, "licens": 16, "like": 16, "line": [1, 10, 13, 18, 19], "linear": [4, 5], "linear_iter": [14, 17], "link": 16, "linter": 16, "list": [1, 4, 5, 8, 14, 15, 22], "load": [4, 5, 17, 22], "loader": 16, "local": [16, 17], "lovo": [6, 22], "lovo_split": [6, 17], "lower": 10, "m": [17, 18, 19], "mag": 18, "magnet": 18, "mai": [8, 18, 21, 22], "main": [2, 16, 17], "maint": 16, "maintain": [12, 17], "mainten": 16, "major": 17, "make": [16, 17, 19], "manag": 16, "manual": 17, "map": [4, 6, 8, 11, 12, 15, 16, 22], "mask": [11, 12, 15], "match": 16, "math": [17, 18], "mathbf": 13, "matplotlib": 15, "matric": [8, 22], "matrix": [10, 16], "maximum": [8, 21, 22], "med": 18, "medicin": 18, "memori": 4, "merg": 17, "method": [12, 16, 17, 18, 22], "midpoint": 5, "migrat": 16, "minor": [16, 17], "miscelan": 16, "miscellan": 16, "miss": 16, "mix": 16, "mm2": 18, "mm\u00b2": 22, "model": [8, 16, 17, 18, 21, 22], "modelfactori": [8, 11, 12, 16, 17], "modul": [0, 3, 9, 11, 17, 18], "more": [16, 18], "motion": [8, 18, 22], "movement": [13, 18], "mr": [13, 18], "mri": [18, 22], "multi": 18, "multipl": 18, "myself": 16, "n_ctrl": [11, 12], "n_iter": 8, "n_job": [8, 12, 22], "name": [15, 16, 18], "namespac": 1, "natur": 18, "ndarrai": [4, 5, 7, 8, 10, 13], "necessari": [8, 22], "need": [17, 18], "neuroimag": [13, 18], "neuroinformat": 18, "new": 18, "nice": 16, "nifti": [4, 5, 22], "nifti1imag": [7, 15], "nii": [7, 15, 22], "nii_t_img": 7, "niprep": [16, 17], "nitransform": [4, 5], "niworkflow": 15, "njob": 21, "node": 16, "none": [1, 2, 4, 5, 7, 8, 11, 12, 14, 15], "noth": [4, 5, 11, 12], "np": 10, "nthread": 21, "number": [5, 8, 14, 21, 22], "numpi": [4, 5, 8, 16], "nx4x4": [7, 22], "object": [1, 4, 5, 6, 8, 11, 12, 15, 16, 22], "obtain": 4, "off": [13, 18], "offer": 17, "omp_nthread": [8, 22], "onc": 22, "one": [4, 6, 16, 18, 22], "onli": 17, "onlin": 17, "open": 18, "option": [1, 7, 11, 12], "order": [4, 5, 11, 12, 14], "org": [16, 17], "orient": [6, 14], "origin": [6, 21], "oscil": 18, "osf": 22, "other": 17, "otherwis": 10, "out": [6, 16, 18, 22], "output": [21, 22], "output_dir": 21, "output_fil": 15, "output_filenam": [7, 22], "outsourc": 16, "overli": 16, "ozarslan": 18, "packag": [16, 17, 18, 22], "page": [17, 22], "pair": 13, "pairwis": 13, "parallel": [8, 16, 21, 22], "paramet": [1, 6, 7, 8, 10, 11, 12, 13, 14, 15, 16, 21, 22], "pars": 1, "parse_arg": [1, 17], "parser": [0, 16, 17], "particular": 8, "pass": 14, "patch": 17, "path": [15, 16, 21, 22], "pep517": 16, "per": 22, "perform": 10, "pet": [3, 11, 12, 16, 17], "petmodel": [11, 12, 17], "pin": 16, "pip": 19, "place": 8, "plai": 16, "platform": 18, "pleas": 17, "plot": [15, 16, 22], "plot_carpet": [15, 17], "plot_gradi": [4, 16, 17, 22], "plot_mosa": [4, 17, 22], "point": [2, 15, 16], "posit": [10, 15, 18], "post": 17, "prealloc": 16, "predict": [11, 12, 17, 18], "prefer": [4, 22], "preprocess": 18, "principl": 12, "print": 19, "proc": 18, "process": [8, 16, 18, 21, 22], "produc": 6, "product": 10, "program": 18, "progress": 14, "project": [16, 17], "properli": 16, "properti": 8, "propos": 18, "prototyp": 16, "provid": 22, "purpos": [16, 18], "py": 17, "pypi": 16, "pytest": 16, "python": [14, 16, 17, 18, 19], "q": 18, "qsiprep": 18, "r": [13, 18, 22], "ra": [4, 5], "radian": 10, "random": [8, 14, 16, 21, 22], "random_iter": [14, 17], "randomli": 14, "randomst": 16, "rangl": 13, "read": [4, 5, 12, 17], "readm": 16, "realign": [8, 11, 12, 21, 22], "recent": 18, "reconst": [11, 12], "reconstmodel": [11, 12], "reconstruct": 18, "reduc": 16, "refactor": 16, "refer": [4, 13, 16], "regist": 18, "registr": [8, 16, 18, 21, 22], "relat": 16, "releas": [16, 17], "remaind": 18, "remov": 16, "renam": 16, "reorder": 15, "repeat": 8, "replac": [16, 18], "repositori": 17, "repres": [1, 4, 5, 8, 22], "represent": [4, 5], "requir": [16, 19, 22], "reson": [13, 18], "result": [10, 13, 22], "retrospect": 18, "return": [1, 2, 6, 7, 8, 10, 11, 12, 13, 14, 15, 16, 22], "revers": [10, 13], "revis": 16, "rigid": [8, 22], "rotat": [8, 16], "row": 22, "ruff": 16, "run": [0, 1, 17, 18, 22], "runner": 2, "s0": [11, 12], "same": [18, 21], "sampl": [5, 22], "save": [7, 15, 22], "scan": 18, "scheme": 18, "script": [16, 18], "second": 10, "secret": 16, "see": [8, 12, 22], "seed": [8, 14, 16, 21, 22], "segment": 15, "segment_label": 15, "select": [8, 21], "seri": 17, "set": [4, 5, 14, 16, 18], "set_transform": [4, 5, 17], "setup": 16, "setuptools_scm": 17, "sever": 22, "shell": 18, "shield": 16, "shore": 18, "shorelin": 18, "should": [4, 22], "side": 14, "signal": 12, "similar": 18, "simpl": 18, "simplifi": 16, "simul": 18, "singl": 18, "size": 14, "smallest": [10, 13], "smart": 4, "so": 16, "soc": 18, "some": 4, "sort": 14, "sort_by_bv": 15, "sotiropoulo": 18, "sourc": [1, 2, 4, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15, 17], "space": 18, "specif": [17, 22], "specifi": [7, 17, 22], "spectrum": 18, "sphinx": 16, "spline": [11, 12], "split": [3, 17, 22], "splitter": 16, "src": 17, "start": [14, 22], "static": [8, 11, 12], "statu": 16, "step": 22, "stop": 16, "store": 17, "str": [1, 7, 11, 12, 14], "strength": 22, "string": [1, 7, 15], "structur": [4, 5, 16], "sty": 16, "style": 16, "stylist": 16, "subject": [13, 18], "submodul": 17, "suggest": 16, "suppli": 7, "support": 16, "sure": [17, 19], "suscept": 4, "system": 16, "tabl": [4, 22], "tag": 17, "target": [8, 18, 21, 22], "task": 16, "techniqu": 22, "temporari": 16, "tensormodel": [11, 12], "test": [6, 16, 22], "test_data": 6, "test_gradi": 6, "text": 15, "theta": 13, "thi": [4, 6, 8, 12, 17, 18, 22], "thread": [8, 21, 22], "threadpoolexecutor": 16, "three": [18, 22], "time": [5, 8, 15, 22], "timepoint": [5, 11, 12], "tmp_path": 16, "tmpdir": 16, "to_filenam": [4, 5, 17, 22], "to_nifti": [4, 5, 17, 22], "togeth": 15, "toml": 17, "too": 17, "tool": [8, 18, 22], "total": 5, "total_dur": [5, 17], "train": 6, "train_data": 6, "train_gradi": 6, "transform": [7, 22], "transpos": 10, "travers": 14, "tree": 17, "triangular": 10, "trivial": [11, 12, 16], "trivialb0model": [11, 12, 17], "true": [10, 13, 14], "tupl": 6, "two": [10, 13], "txt": 16, "type": [1, 2, 7, 8, 10, 11, 12, 13, 14, 15, 16, 22], "typo": 16, "under": 17, "unit": 22, "unnam": 16, "unnecessari": 16, "unus": 16, "unwarp": 4, "up": [16, 18], "updat": [4, 5, 6, 16, 17, 22], "upon": 18, "upstream": 16, "uptak": 16, "us": [8, 15, 16, 18, 19, 21], "usag": [21, 22], "util": [3, 9, 15, 16, 17, 18, 22], "v": 12, "v1": 10, "v2": 10, "valu": [6, 14, 18], "variabl": 16, "vector": [6, 8, 10, 13], "ventricl": 15, "version": [16, 17], "visual": [4, 15, 22], "viz": [17, 18], "vol": 18, "volum": [4, 5, 6, 14, 22], "voxel": [4, 5], "wa": 18, "want": 8, "warn": 16, "watch": 12, "we": [8, 17], "weight": [18, 22], "well": 8, "what": 18, "when": 8, "whether": 10, "which": [7, 17, 22], "while": 18, "wide": 18, "with_b0": 6, "within": [8, 17, 18, 22], "without": [4, 5, 18], "word": 17, "work": 18, "workflow": 16, "wrapper": [11, 12], "write": [4, 5], "www": [12, 17], "x": 17, "xlim": [11, 12], "yaml": 21, "you": 17, "your": [17, 19, 22], "youtub": 12, "zip": 16}, "titles": ["eddymotion.cli package", "eddymotion.cli.parser module", "eddymotion.cli.run module", "eddymotion.data package", "eddymotion.data.dmri module", "eddymotion.data.pet module", "eddymotion.data.splitting module", "eddymotion.data.utils module", "eddymotion.estimator module", "eddymotion.math package", "eddymotion.math.utils module", "eddymotion.model package", "eddymotion.model.base module", "eddymotion.model.gradient_utils module", "eddymotion.utils module", "eddymotion.viz module", "What\u2019s new?", "For developers", "Eddymotion", "Installation", "<no title>", "Running Eddymotion", "How to Use"], "titleterms": {"": 16, "0": 16, "1": 16, "12": 16, "13": 16, "15": 16, "2021": 16, "2024": 16, "4": 16, "For": 17, "api": 17, "applic": 17, "april": 16, "argument": 21, "base": 12, "cli": [0, 1, 2], "command": 21, "content": 18, "contribut": 17, "data": [3, 4, 5, 6, 7], "depend": 19, "develop": 17, "dmri": 4, "document": 17, "eddymot": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 21, 22], "estim": 8, "extern": 19, "gradient_util": 13, "how": 22, "incorpor": 22, "instal": 19, "interfac": [17, 21], "librari": 17, "line": 21, "mai": 16, "math": [9, 10], "model": [11, 12, 13], "modul": [1, 2, 4, 5, 6, 7, 8, 10, 12, 13, 14, 15, 22], "name": 21, "new": 16, "packag": [0, 3, 9, 11], "parser": 1, "pet": 5, "posit": 21, "program": 17, "python": 22, "run": [2, 21], "script": 22, "split": 6, "submodul": [0, 3, 9, 11], "us": 22, "util": [7, 10, 14], "viz": 15, "what": 16}}) \ No newline at end of file diff --git a/main/usage.html b/main/usage.html index 95f38280..be6f6479 100644 --- a/main/usage.html +++ b/main/usage.html @@ -6,7 +6,7 @@ - How to Use - eddymotion 24.0.0.dev24 documentation + How to Use - eddymotion 24.0.0.dev27 documentation @@ -180,7 +180,7 @@
@@ -203,14 +203,14 @@ +