Direct Measurement of the Switching Waveform in a DC–SQUID