Fourier expansion of deformed nuclear shapes expressed as the deviation from a spheroid