tedana.utils.dice

dice(arr1, arr2)[source]

Compute Dice’s similarity index between two numpy arrays. Arrays will be binarized before comparison.

Parameters:arr2 (arr1,) – Input arrays, arrays to binarize and compare.
Returns:dsi – Dice-Sorenson index.
Return type:float

References

REF