def get_split_parameters(self, split):
        """
        A helper to return parameters for a given coarse split.

        :params int split:
            the coarse split

        :returns ndarray:
            a matrix of centroids for the coarse model
        :returns list:
            a list of residual means for each cluster
        :returns list:
            a list of rotation matrices for each cluster
        :returns list:
            a list of centroid matrices for each subquantizer in this coarse split
        """
        return self.Cs[split] if self.Cs is not None else None, \
            self.Rs[split] if self.Rs is not None else None, \
            self.mus[split] if self.mus is not None else None, \
            self.subquantizers[split] if self.subquantizers is not None else None
dataset/ETHPy150Open yahoo/lopq/python/lopq/model.py/LOPQModel.get_split_parameters/original