The phases and magnitudes of the structure factors