Modelling superconducting nanowire single photon detectors in a waveguide-based ring resonator | IEEE Conference Publication | IEEE Xplore