Reshape the contact distance to square contact maps
Parameters: | distances : np.ndarray, shape=(n_frames, n_pairs)
residue_pairs : np.ndarray, shape=(n_pairs, 2)
|
---|---|
Returns: | contact_maps : np.ndarray, shape=(n_frames, n_residues, n_residues)
|
See also