Analysis of second-harmonic generation at metal surfaces | Synapse