brainstat.stats.utils

Utilities for the stats functions.

Functions

apply_mask(Y, mask[, axis])

Masks the data along a specified axis

colon(start, stop[, increment])

Generates a range of numbers including the stop number.

interp1(x, y, ix[, kind])

Interpolation between datapoints.

ismember(A, B[, rows])

Tests whether elements of A appear in B.

row_ismember(a, b)

Tests whether rows of a occur in b.

undo_mask(Y, mask[, axis, missing_value])

Restores the original dimensions of masked data.