This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the user guide for the big picture.

3.7.2. nistats.first_level_model.mean_scaling

nistats.first_level_model.mean_scaling(Y, axis=0)

Scaling of the data to have percent of baseline change along the specified axis

Yarray of shape (n_time_points, n_voxels)

The input data.

Yarray of shape (n_time_points, n_voxels),

The data after mean-scaling, de-meaning and multiplication by 100.

meanarray of shape (n_voxels,)

The data mean.