A full measurement of the four-dimensional coherence function from an undulator beam line is reported. The analysis is based on the observation that the data are consistent with a coherence function that is mathematically separable. The effective source size can be altered by changing the width of the exit slit, and the complete coherence function is presented for two settings. We find, to within experimental error, that the four-dimensional complex degree of coherence can be described as a real Gaussian function that depends only on the difference of the spatial coordinates.