std

Luo_Suppe2026-08-15

gma.math.stretch.std

function std(data, min_label = None, max_label = None, ignore_value = None, num_of_std = 2):

Standard deviation stretch. This method is used to emphasize how much feature values vary from the mean value; it is best when used on normally distributed data.

Parameters:

data: array.

The data to be stretched.

Optional:

min_label = float||None. Default None.

Minimum value after stretching. Default(None) is the minimum value of the input data.

max_label = float||None. Default None.

Maximum value after stretching. Default(None) is the maximum value of the input data.

ignore_value = float||None. Default None.

The value that is not involved in the calculation.

num_of_std = float. Default 2.

Number of standard deviation.

Returns:

Type: array.


Last Updated 8/15/2026, 8:42:21 AM