_clean_dihedral

Cartesian._clean_dihedral(buildlist_to_check)[source]

Reindexes the dihedral defining atom if colinear.

Parameters:buildlist (np.array) –
Returns:modified_buildlist
Return type:np.array