Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/source/algorithm.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Each voxel inside the mask gets one of four roles, chosen as pyAFQ's tracker cho
| white matter | WM PVE > 0.4 | **transient**: walkers move here |
| grey matter | otherwise, where GM PVE ≥ CSF PVE | **absorbing**, a valid end |
| CSF | otherwise | **blocked**: never entered; a hop into CSF has probability 0 |
| edge | the mask's inner boundary | **absorbing**, a valid end (fibres leaving the field of view) |
| edge | the mask's inner boundary | **absorbing**, a valid end (fibres leaving the field of view; for example, in the corticospinal tract) |

A walker on its way through white matter remembers which way it is going. A state of the
chain is therefore a pair
Expand Down Expand Up @@ -156,7 +156,7 @@ scatter $Q^\top x$, and backward steps gather $Qx$ (`mpat.chain.Chain`).
Order the states as white-matter (transient) states and absorbing voxels. One step of the
chain is
$$
\begin{pmatrix} Q & R \\ 0 & I \end{pmatrix},
\begin{pmatrix} I & 0 \\ Q & R \end{pmatrix},
$$
with $Q$ the transient-to-transient block and $R$ the transient-to-absorbing block. Each
row of $[\,Q\;R\,]$ plus the row's death probability sums to 1. Mass $x$ spread over the
Expand Down
Loading