Seismic-based compartmentalization and dynamic connectivity via spectral inversion