Frequency-dependent estimation of effective spatial degrees of freedom