Fork me on GitHub

pyhrf.sandbox.func_BMA_consensus_clustering module

pyhrf.sandbox.func_BMA_consensus_clustering.BMA_consensus_cluster_parallel(cfg, remote_path, remote_BOLD_fn, remote_mask_fn, Y, nifti_masker, num_vox, K_clus, K_clusters, parc, alpha, prop, nbItRFIR, onsets, durations, output_sub_parc, rescale=True, averg_bold=False)

Performs all steps for one clustering case (Kclus given, number l of the parcellation given) remote_path: path on the cluster, where results will be stored

pyhrf.sandbox.func_BMA_consensus_clustering.compute_consensus_clusters_parallel(K_clus, consensus_matrices, clustcount_matrices, totalcount_matrices, num_voxels, remote_mask_fn, clusters_consensi)