Autonomous and Scalable Computation of Spatial Correlation Function from Spatiotemporal Materials Data