The junction of an open and a closed waveguide for periodic media | Synapse