mescla.mixing.geometric.uspace_solve

mescla.mixing.geometric.uspace_solve(scores, endmember_scores)[source]

Mixing ratios directly from U-space geometry.

With k+1 end-members in a k-dimensional mixing subspace the system is square, and the barycentric coordinates of a sample are its mixing ratios. This is the cleanest statement of why EMMA and mixing-ratio calculation are the same geometry seen from two sides.

Parameters:
  • scores (ndarray, shape (n_samples, n_components))

  • endmember_scores (ndarray, shape (n_components + 1, n_components))

Returns:

ndarray, shape (n_samples, n_components + 1)

Return type:

ndarray