Check out the Hyperspy Workshop May 13-17, 2024 Online

column_mean#

pyxem.utils.vectors.column_mean(vectors, columns)[source]#

Calculate the mean of the columns of a set of vectors. Useful for calculating the mean using the map_vectors method.

Parameters:
  • vectors (numpy.ndarray) – The vectors to be used to calculate the mean

  • columns – The columns to be used to calculate the mean.

Examples using column_mean#

Clustering Vectors

Clustering Vectors