Inferring Spectral and Spatiotemporal Dependencies from Data and its Application to Epilepsy