A class of extremal functions for the Fourier transform