Quantifying Spatial Heterogeneity in Streams