やっぱり
Yappari JS
Yet Another Program for Analysis and Research in Impedance. One equivalent circuit is fitted to one or to thousands of impedance spectra. Browser version of Yappari 5.1 (LabVIEW) by Nita Dragoe, Université Paris-Saclay, ICMMO. All calculations run locally in your browser (in parallel Web Workers when available); nothing is uploaded, and settings and the last circuit are remembered by this browser.
Working with it
- Drop impedance files on the window, or read them from File (BioLogic
.mpt, Gamry.dta, ZView.z, VersaStudio.par, Zurich Instruments MFLI, SP2Mhp4192aandZ-MFLI-HT4CSVs, tables with column headers, three columns, or custom XML presets). To try the program right away, choose File, Load 24 demo spectra (or typedemoin the command line at the bottom). - Build the circuit in the Model tab by clicking elements or picking a template, type a circuit code, or run Analysis, Search models on one dataset.
- Select a dataset, set start values (mouse wheel over a parameter), tick the parameters to fit, then click Fit in the top bar (or press F9). Switch the mode to Global for one fit with shared parameters.
- For many spectra: in Parameters, copy the values to all datasets; select all with Ctrl+A in the list; click Fit in the top bar to fit them in parallel.
- Save the project from File (Ctrl+S), parameters and data from Data, and an HTML report from Analysis. Every change keeps a restore point: undo from Data, with
undoin the command line, or with Restore before in the Log tab.
Circuit code
Elements written next to each other are in series. Round brackets put their content in parallel, square brackets put their content in series inside a parallel group: R(RQ)(Q[RW]) is Rs + (R‖Q) + (Q‖(R + W)). Elements: R, C, L, Q (constant phase element), W, Wo, Ws (Warburg), G (Gerischer), HN (Havriliak–Negami). Numbers name the elements (R1, Q2) and are added for you. Show contributions, in the Model tab, colours each part of the series chain on the plots and in the circuit drawing.
DRT, checks and model search
The DRT tab computes the distribution of relaxation times of the selected datasets (Tikhonov with non-negativity, Fisk or Gold, with a λ search and peak estimates of R and C). For spectra with inductive features, mask inductive points before computing DRT, or use the Kramers–Kronig test. Analysis, Z-HIT rebuilds |Z| from the phase to check stationarity; Analysis, Kramers–Kronig test fits a chain of RC elements (Lin-KK) whose residuals above the noise level point to drift or non-linearity. Analysis, Search models fits a catalogue of circuits (1 to 7 elements, multi-start in parallel workers) to one dataset, groups equivalent topologies and ranks them by Bayesian posterior probability (Laplace evidence and literature priors) or by BIC with an element penalty.
Mouse and keys
| Plots | drag to zoom, Shift-drag or right-drag to pan, wheel to zoom, double-click to autoscale; click a legend entry or use Series… to hide or show a curve |
| Plot with the focus | reach with Tab: arrows pan (Shift small steps), + and − zoom, x and y zoom in on one axis (X, Y zoom out; both on the Nyquist plot while “Same scale on both Nyquist axes” is on), 0 autoscale; . and , step through the points, Enter labels the point (Nyquist, with “Click labels a point”) or chooses it (DRT λ search), Esc leaves the points; 3D: arrows rotate |
| Parameter | mouse wheel or arrow keys change the value; Shift for larger steps, Alt for smaller ones |
| Parameters panel | ← → next to the dataset name show the previous or next dataset |
| Dataset list | ↑ ↓ select, Ctrl+A all, Shift+click or Shift+↑ ↓ range, Ctrl+click one more (keys: Ctrl+↑ ↓ move the cursor, Space adds or removes its row), Delete, F2 or double-click to rename, drag or Alt+↑ ↓ to reorder |
| Drawing | click to select, or ← → next and previous element or group, ↑ the group around it, ↓ its first part; Delete to remove, Ctrl+Z to undo, Esc to deselect |
| Anywhere | F9 fit selected, Ctrl+S save project; command line at the bottom (? or help lists commands, ↑ ↓ history); drag the left edge of the side panel to resize (← → when focused, double-click to reset) |
Citing and manual
N. Dragoe, Materials Lab 2024, 3, 230031, doi.org/10.54227/mlab.20230031. Full manual: help.html (also Analysis, Help). Source and documentation: github.com/nitad54448/yappari_js.