smftools.preprocessing.calculate_pairwise_differences#
Functions
|
Calculate the pairwise differences for a list of h-stacked ndarrays. |
- smftools.preprocessing.calculate_pairwise_differences.calculate_pairwise_differences(arrays)#
Calculate the pairwise differences for a list of h-stacked ndarrays. Ignore N-positions
- Parameters:
arrays (
str) -- A list of ndarrays.- Returns:
a 2D array containing the pairwise differences between all arrays.
- Return type:
distance_matrix (ndarray)