Determination of phases by the conditions of non-crystallographic symmetry