Periodic and Non-periodic Spatial Correlation Functions for Materials Science Data