Methods for automating and improving the robustness of linear Kramers–Kronig tests for the purposes of validating immittance spectra | Synapse