Dynamics of binary-disk interaction. 1: Resonances and disk gap sizes | Synapse