sknano.core.crystallography.Crystal2DLattice.cartesian_to_fractional

Crystal2DLattice.cartesian_to_fractional(ccoords)[source]

Convert cartesian coordinate to fractional coordinate.

Parameters:ccoords : array_like
Returns:ndarray