golconda.moments module

golconda.moments.get_moments_from_map(map_values)[source]

Calculates the moments (mean, variance, skewness, kurtosis) from a 2D map.

Parameters:

map_values (numpy.ndarray) – A 2D array representing the map values (e.g., convergence, density field).

Returns:

Contains mean, variance, skewness, kurtosis of the map values.

Return type:

tuple