Automatic Measurement of the Distribution of $J_{\rm c}$ and n-Values in Large-Area Superconducting Films Using Third-Harmonic Voltages