sknano.structures.get_Ch_indices

sknano.structures.get_Ch_indices(Ch)[source][source]

Return the chiral indicies n and m.

Parameters:

Ch : str

string of the form ‘NNMM’ or “(n, m)”. Extra spaces are acceptable.

Returns:

sequence

2-tuple of chiral indices n and m