Differences from implementation at github.com/asoroosh/DVARS:
The matrix is transposed.
We center and scale the matrix differently (see scale_med
)
We set all zero-variance voxels to zero during centering & scaling. This means that when we remove constant 0 or NA voxels, constant non-zero voxels are also removed.
We use a tolerance of 1e-8 to detect non-zero voxels.
1 |
X |
a T x N numeric matrix representing an fMRI run. |
normalize |
Normalize the data as proposed in the original paper? Default is
|
norm_I |
The value to scale to. Default is |
verbose |
Should occasional updates be printed? Default is |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.