Yappari JS help
Yet Another Program for Analysis and Research in Impedance: one equivalent circuit fitted to one or to thousands of impedance spectra, in the browser.
Getting started
- Read data with File (Auto detects the format) or drop files on the window. New datasets appear at the top of the Datasets list. To try the program, use File, Load 24 demo spectra.
- Build a circuit in the Model tab: click elements in the palette, insert a template, or type a circuit code such as
R(RQ)(RQ)and press Enter. - Set start values in the Parameters side panel: type a value, or turn the mouse wheel over a parameter. Tick fit for the parameters to fit.
- Fit: click Fit in the top bar or press F9. Several selected datasets are fitted in parallel, each on its own; switch the mode to Global (Fit side panel) for one fit with shared parameters.
- Many spectra: fit one, copy its values to all datasets (Parameters panel, Copy these values to: All datasets), select all with Ctrl+A in the list and fit.
- Save the project from File (Ctrl+S), parameters and data from Data, or an HTML report from Analysis.
Not sure which circuit to use? Analysis, Search models fits a catalogue of circuits to one spectrum and ranks them.
Running it: web server or local file
Yappari JS is a set of static files (index.html, js/, catalog/, config/). Fits run in Web Workers built inside the page, so most of the program also works when index.html is opened directly from disk.
file://) read other local files, so the circuit catalogue (catalog/models_*_elements.txt), the prior file (catalog/priors.txt) and the XML presets (config/definitions/) cannot be loaded that way: Search models stops with “Failed to fetch”, and File, Auto and Custom format use only the built-in readers.Any static web server works. For a local copy, run in the program folder:
python -m http.server 8000
then open http://localhost:8000. On a public server (GitHub Pages, an institute web space) nothing else is needed.
Reading data
File menu entries read one or more files; dropping files on the window is the same as Auto. A project file (.json saved by Yappari JS) dropped or read with Open project replaces the circuit and datasets.
| Entry | Reads |
|---|---|
| Auto: detect the format | Presets with detection rules (config/definitions, served only), then the built-in recognisers below. An XML definition dropped together with data files is used to read them. |
| 3 columns: f, Zr, Zi | One dataset per file; text lines are skipped. Separator from Settings (automatic by default); decimal commas are accepted when the separator is not a comma. |
| Table with column headers | Every header line with a frequency, a real and an imaginary column starts a dataset. Headings such as freq/Hz, Zr, Re(Z)/Ohm, -Im(Z)/Ohm, Z'', Zreal are recognised; -Im and -Z'' are negated. Units in headings (kHz, MHz, kΩ, mΩ …) are converted. Without real and imaginary columns, |Z| and phase columns are used. Standard-deviation columns (sigma_Zr, stddev …) and a masked column (1 = masked) or left_out column (true = masked) are read; a chunk column (LabOne) splits sweeps into datasets. |
| ZView .z / .txt | ZView and MFLI ZView exports: each run of numeric lines is a dataset (Z′, Z″ in columns 5 and 6). |
| BioLogic MPT | EC-Lab ASCII exports (.mpt; binary .mpr is not supported); cycles become datasets. |
| Gamry DTA | ZCURVE tables of Gamry .DTA files. |
| VersaStudio .par | Segments with Z, or with E and I (Z = E/I). |
| SP2M HP 4192A workbench CSV | Read by Auto (preset SP2M_HP4192a.xml). See SP2M formats below. |
| SP2M Z-MFLI-HT4 workstation CSV points | Read by Auto (preset SP2M_ZHT_Mfli.xml). See SP2M formats below. |
| Custom format, xml | A dialog to choose or write an XML definition (columns, units, separators, polar or Cartesian, repeated headers, end markers …), preview it on a file, save it, and read files with it. With the layout Table with column headers, Group rows by column splits the rows into datasets by the value of a column, and Name datasets by column with Name suffix names them, as the two SP2M presets do (see SP2M formats). Presets are listed in config/definitions/index.json; see config/definitions/README.md for the schema. |
Zi is stored as measured: negative for capacitive behaviour. Files written in UTF-16 (“Unicode text” from Excel) are decoded automatically. Rows with a missing or non-numeric value are skipped and reported.
SP2M formats
The CSV files of two impedance setups of the SP2M laboratory are recognised by Auto (also Custom format, xml with their preset). Frequency, Zr and Zi are taken by column heading; the other columns are not read. Below, file is the file name without its extension; a name met a second time gets the dataset number added (_1, _2 …).
HP 4192A workbench CSV (preset SP2M_HP4192a.xml), written by the hp4192a-workbench program: # header: and # footer: JSON lines, then the headings index,outer_index,inner_index,frequency_hz,bias_v,…,z_re_ohm,z_im_ohm,… and one row per point. One dataset per frequency sweep (outer_index), named by its bias (bias_v).
| Measurement | Datasets |
|---|---|
| Frequency sweep, bias off | one: file |
| Frequency sweep at a fixed bias | one: file_1.5V |
| Frequency sweep inside a bias sweep | one per bias: file_0V, file_1.5V, file_3V |
| Frequency sweep inside a level sweep | one per level: file_0, file_1 … (or file_1.5V, file_1.5V_1 … at a fixed bias) |
Z-MFLI-HT4 workstation CSV points (preset SP2M_ZHT_Mfli.xml), saved with CSV points on the Data page of the MFIA impedance workstation (MFIA with Lake Shore temperature control): the headings run,seq,spectrum,label,step,repeat,measurement,point,…,f_Hz,Z_re_ohm,Z_im_ohm,…,left_out,… and one row per point. One dataset per spectrum (spectrum), named file_<label>: the workstation writes in label the mean temperature measured during the spectrum (to 0.1 K) when there is one, the bias (0V with the bias off), and the measurement step (m1, m2) when the plan has several. Points left out on the workstation (left_out true) are read as masked points.
| Measurement | Datasets |
|---|---|
| Setpoints 200 and 220 K, bias list 0 and 1.5 V | file_200.0K_0V, file_200.0K_1.5V, file_220.0K_0V … |
| Temperature ramp, bias off | file_250.2K_0V, file_260.4K_0V … |
| Three spectra at a steady temperature, bias off | file_294.2K_0V, file_294.2K_0V_1, file_294.2K_0V_2 |
| Two measurement steps at 300 K, 1 V | file_300.0K_1V_m1, file_300.0K_1V_m2 |
| No temperature controller, bias list | file_0V, file_1.5V … |
Datasets
The Datasets side panel lists the spectra, newest first. Click to select, Ctrl+click to add one, Shift+click for a range, Ctrl+A for all; arrows move the selection. Double-click or F2 renames, Delete deletes, drag a row to reorder. The dot on the right shows the fit state: green converged, amber a warning (iteration limit, stalled, singular, at limits), red failed. Commands act on the selected datasets.
Each dataset keeps its own parameter values for the one circuit; limits and the shared flags of the global fit are common to all.
Plots
The Plots tab shows Nyquist, Zr and Zi versus frequency (with residuals), |Z| and phase, and a 3D view of many spectra. Measured points are drawn as markers (masked points hollow), the model as lines. Drag to zoom, Shift-drag or right-drag to pan, wheel to zoom, double-click to autoscale. Click a legend entry to hide or show it. Save PNG saves the plot on screen.
For 2D spectra, choose Scale to data (default), Scale to model or Scale to both. Curves outside the chosen limits are clipped; if the chosen source has no visible, usable points, the other source is used. Residual panels scale to residuals. The Autoscale checkbox updates limits automatically when on and holds them when off. Zooming or panning turns it off; double-clicking turns it back on. Changing the scale source while Autoscale is off takes effect when it is enabled again. These choices are saved with settings. On startup, the scale source always resets to Scale to data; Autoscale keeps its saved setting. The 3D view has a separate Reset view button.
On the Nyquist plot: Label frequency marks the point nearest to a frequency (1k, 2.5M, 10m are accepted), Click labels a point labels by clicking, Square gives a square frame. Show contributions (Model tab) draws each part of the series chain in its own colour as dashed curves, and colours the circuit drawing the same way.
Settings choose absolute or relative residuals, degrees or radians, equal Nyquist axes, and how many datasets are drawn at most (larger selections are thinned out for drawing only).
Circuits: the circuit code
A circuit is written as a Boukamp circuit description 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.
| Code | Circuit |
|---|---|
R(RQ) | Rs + (R ‖ Q): one depressed semicircle |
R(Q[RW]) | Randles: Rs + Q ‖ (Rct + W) |
R(RQ)(RQ) | Rs + two R ‖ Q in series (Voigt) |
R(Q[R(RQ)]) | ladder: Rs + Q ‖ (R + R ‖ Q), e.g. a coating over a corroding metal |
Numbers name the elements (R1, Q2) and are added for you; they keep parameter names stable when the circuit is edited, so values of elements that remain are kept. Spaces, commas, dashes and plus signs between elements are ignored.
In the Model tab, click an element of the drawing to select it, choose In series, In parallel or Replace, and click an element of the palette. Delete removes the selection, Undo last action goes back, Clear empties the circuit. The template list inserts common circuits. The circuit cannot change while a fit runs.
Elements
ω = 2πf. Parameter names are the element name plus the suffix shown (Q1, Q1_n, Wo1_A, Wo1_B …). Defaults below are the built-in start values and limits; Settings, Start values for new elements changes them. A new C, Q or L of a dataset with data starts from the data instead: the value whose impedance equals the typical |Z| at the middle of the frequency range (L = |Z|/ω, C = Q = 1/(ω|Z|)), so that it is visible in the measured window whether it is a lead inductance of 10⁻⁶ H or an inductive loop of 10³ H (L ≈ R·τ). n of a CPE is fitted by default.
| Element | Impedance | Parameters (default limits) |
|---|---|---|
| R resistor | Z = R | R /Ω (10⁻⁷ … 10¹⁰) |
| C capacitor | Z = 1/(jωC) | C /F (10⁻¹⁴ … 10⁵) |
| L inductor | Z = jωL | L /H (10⁻¹⁰ … 10⁸) |
| Q constant phase element | Z = 1/(Q (jω)n) | Q /F·sn−1 (10⁻¹⁴ … 10⁵); _n (0 … 1.2, held fixed at 1 by default) |
| W Warburg, semi-infinite | Z = Aw/√ω − j Aw/√ω | Aw /Ω·s−½ (10⁻⁶ … 10¹⁰) |
| Wo Warburg, open (reflective) | Z = Aw/√(jω) · coth(B √(jω)) | _A Aw; _B B /s½ (10⁻⁴ … 10³) |
| Ws Warburg, short (transmissive) | Z = Aw/√(jω) · tanh(B √(jω)) | _A Aw; _B B |
| G Gerischer | Z = R/√(1 + jωτ) | _R R; _tau τ /s (10⁻⁹ … 10⁴) |
| HN Havriliak–Negami | Z = R/(1 + (jωτ)α)β | _R, _tau; _a α and _b β (0.01 … 1, held fixed at 1 by default) |
Parameters and limits
The Parameters side panel shows the values of the first selected dataset (← → show the others of the selection); an edit applies to all selected datasets. Mouse wheel or arrow keys change a value: ×1.02 per step for parameters that span decades, ±0.005 for n, α, β; Shift for larger steps, Alt or Ctrl for finer ones. The tick on the right decides whether a parameter is fitted. After a fit, the standard error is shown next to the value (see statistics).
Limits (Settings, Parameter limits for the current circuit) are common to all datasets; bounded methods keep every parameter between them. The same table holds the shared flag of each parameter for the global fit. Limit edits, shared flags and renames can be undone like any other change.
Copy these values to copies the values and fit ticks of the first selected dataset to all datasets or to the other selected ones.
Fitting
The fit minimises the weighted sum of squares of the real and imaginary residuals:
χ²w = Σk wk [(Zrcalc − Zr)² + (Zicalc − Zi)²]
| Weight | wk | Use |
|---|---|---|
| 1/|Z| | 1/|Zk| | default; a compromise between equal and relative weights |
| 1/|Z|² | 1/|Zk|² | relative errors; matches noise proportional to |Z| |
| 1 | 1 | absolute errors; dominated by the largest |Z| |
| measured σ | 1/σ² for each part | Settings, Use measured standard deviations, when the file has them; points without one get the median relative error of the others |
| Method | |
|---|---|
| Trust-region dogleg, bounded | default; robust with limits |
| Levenberg–Marquardt, bounded | classical, with limits |
| Levenberg–Marquardt, no bounds | ignores the limits |
| Nelder–Mead, bounded | derivative-free simplex; slower, useful from poor start values |
Parameters that span decades (R, C, L, Q, Aw, B, τ) are fitted as ln p, which keeps them positive and handles values from 10⁻¹² to 10⁹ alike. Max iterations (1 to 65535) and Min χ² step (relative change between iterations) end the fit. A fit that ends with tiny steps is checked with one more Gauss–Newton step: if χ² can still decrease, it is reported as stalled rather than converged.
Messages starting with converged are normal ends. Iteration limit reached, stopped: no further progress, singular system and all fitted parameters are at their limits are warnings. Stop (Fit side panel, shown while a fit runs) ends a batch at once; datasets not yet fitted keep their values.
Global fit
Mode Global (Fit side panel) fits all selected datasets at once. Parameters ticked shared get one value for all datasets; the others one value per dataset. The fit ticks and the start values of shared parameters come from the dataset shown in the Parameters panel. In Global mode a padlock next to each parameter switches shared and local. The global fit uses Levenberg–Marquardt (bounded unless the method is the unbounded one) with a Schur complement on the shared block, so hundreds of datasets with local parameters stay fast.
Fit statistics
| Value | Definition |
|---|---|
| χ²w | the minimised weighted sum of squares |
| χ²red | χ²w / (2N − p): N frequencies, real and imaginary parts both counted, p fitted parameters; about 1 when σ weights are right |
| R² | 1 − χ²w/SStot, with the weights of the fit and Zr, Zi each around their own weighted mean (written R^2 in parameter files) |
| SE % | standard error in % of the value, from s² (JᵀJ)⁻¹ with s² = χ²red and the Jacobian J of the weighted residuals at the solution. Parameters on a limit get no SE. |
Data operations (Data menu)
| Command | What it does |
|---|---|
| Mask points in the current view | zoom on points in a plot, then mask them: they are left out of fits (drawn hollow) but kept; Unmask brings them back |
| Delete points in the current view | removes the points in view, masked or not |
| Normalize | Z × A (Ω·cm²), Z × A/L (Ω·cm) or a correction factor; parameters are converted so the fit still matches (R in Ω·cm², C and Q per cm² …); None goes back to the measured values |
| Negate Zi | changes the sign of Zi |
| Add random noise | uniform noise up to ±x % of |Z| on Zr, Zi or both (or on the frequencies, for tests) |
| Spline to a log frequency grid | new datasets sp_…: cubic spline of Zr and Zi versus log f |
| Smooth (Savitzky–Golay) | new datasets sm_…; assumes log-spaced frequencies |
| Average selected datasets | point-by-point mean of datasets measured at the same frequencies |
| Simulate spectrum | new dataset from the circuit and the current values, over the range set in Settings |
Distribution of relaxation times (DRT tab)
Z(ω) = R∞ + Rpol ∫ g(τ) / (1 + jωτ) d ln τ, ∫ g d ln τ = 1
R∞ is fitted with the distribution, Rpol is the area of g. Methods: Tikhonov with non-negativity (regularisation λ), Fisk (iterated Tikhonov), Gold (multiplicative deconvolution; fewer iterations = smoother). The data can be Zr and Zi, Zi only or Zr only; masked points are used. Search λ scans the regularisation and suggests the strongest one whose misfit stays within 10 % of the best. Views: the distribution, the rebuilt spectrum, the residuals and the peaks (R, τ, f, C = τ/R and share of Rpol of each peak). Save DRT writes distributions, spectra and peaks of all selected datasets.
Z-HIT and Kramers–Kronig test (Analysis menu)
Z-HIT rebuilds ln|Z| from the phase (integral plus derivative corrections); the measured |Z| should match it. Deviations point to drift or artefacts, but can also reflect noise, the ends of the range or sharp resonances. New datasets zh_… hold the rebuilt values. A range needs at least 10 points and two decades; gaps split the data into ranges checked separately.
Kramers–Kronig test (Lin-KK, Boukamp; Schönleber et al.) fits a chain of RC elements with log-spaced time constants, which obeys the Kramers–Kronig relations, and reports the residuals in % of |Z|. The number of RC elements is chosen where more stop improving the fit (or given with the command kk>>M). Residuals above the noise, or with a trend, point to drift, non-linearity or artefacts. New datasets kk_… hold the fit.
Model search
Analysis, Search models fits every circuit of a catalogue to the selected dataset (one dataset, Individual fit mode) and ranks them. It needs a web server.
Catalogue
catalog/models_N_elements.txt list all series/parallel topologies with N elements, without duplicates by order or grouping and without directly repeated R, C, L or W (which reduce to one). They are written by script/generate_models.py; the default files use R, C, L, Q, W, and the script can include Wo, Ws, G and HN. The counts grow fast (R, C, L, Q, W: 1106 circuits with 4 elements, 9632 with 5, 89 670 with 6, 873 588 with 7), so restrict the elements and the size: the time is roughly the number of circuits × starts.
Options
| Option | |
|---|---|
| Maximum elements, allowed elements | which circuits of the catalogue are fitted |
| Ranking | Bayesian (default, below) or BIC with an extra penalty λ per element |
| Random starts per circuit | 4 to 32 (default 8). Start values are drawn so that every element is visible in the measured window: a random frequency inside the data range and a random |Z| around the measured ones (n of Q between 0.6 and 1). Starts run in rounds of 4; a circuit stops early once two starts reach the same minimum. |
| Seed | the same seed gives the same starts, whatever the number of workers |
| Discard circuits with … | off by default: converged fits are kept, and parameters at a limit or with a large standard error are only listed in Notes |
Your fit settings (method, weights, iterations, tolerance, measured σ) are used. Each circuit gets one refinement fit from its best start. Stop keeps the results so far.
The results table
| Column | |
|---|---|
| Circuit | the representative of a class of equivalent circuits |
| Equivalent | the other circuits of the class: same elements, and model curves that differ on these data by less than 10 % of the residuals (Voigt and ladder forms, which give the same spectra). Choose one in the list to apply it instead. A class is ranked as one model: the highest prior among its forms, and the mean evidence of the forms. |
| P % | posterior probability of the class among all classes searched |
| Δ ln P | log posterior against the best class (−2.3 = ten times less probable); the tooltip gives ln evidence and ln prior |
| Prior | weight of the circuit in the prior file (tooltip: the literature note) |
| RMS % | rms residual relative to |Z| |
| Same minimum | starts that reached the best fit, of those run: 1 / 8 means the best fit was found once, so a better one may exist |
| Notes | parameters at a limit, without a standard error, or with one above the chosen % (poorly determined) |
| Residuals | Zr (blue) and Zi (red) residuals in % of |Z| versus log f |
Select a row and Apply circuit: the circuit becomes the current one (the limits already set for a parameter of the same name are kept when the fitted value lies inside them, otherwise the limits used by the search apply), the dataset gets the fitted values, and the step can be undone.
Bayesian ranking
Circuits are ranked by their posterior probability given the spectrum D:
P(M | D) ∝ P(D | M) · P(M)
P(M), the prior of the circuit, is its weight in catalog/priors.txt: circuits used in the literature get more weight than the many unlisted topologies.
P(D | M), the evidence, integrates the fit over the prior of the parameters. It is computed with the Laplace approximation at the fitted optimum θ* (coordinates ln p for R, C, L, Q, Aw, B, τ; p for n, α, β):
ln P(D | M) ≈ ln L(θ*) + ln π(θ*) + (k/2) ln 2π − ½ ln det(JᵀJ / s² + Σπ−1)
With measured σ, ln L = −χ²/2. Otherwise the common noise scale is integrated out: ln L = −N ln χ²w (N frequencies, 2N values), with s² = χ²w/2N. The parameter priors π are scaled to the data: a resistance between |Z|min/30 and 10 |Z|max, a capacitance whose impedance falls in that range inside the measured frequencies, and so on, as a log-normal spanning ± 2 standard deviations over that range; n of a CPE has a normal prior around 0.85.
The result works as an Occam factor: a parameter sharply determined by the data costs the ratio of its prior width to its posterior width, a parameter the data do not determine costs little but gains nothing, and an element that does not improve the fit lowers the evidence. Unlike BIC, the penalty depends on how well each parameter is determined, not only on how many there are.
The prior file: catalog/priors.txt
A text file next to the catalogue, read when a search starts; edit it with any text editor (fields separated by a TAB or two or more spaces; # starts a comment). Without it, every circuit gets the same prior.
default 0.5
circuit R(C[RW]) 10 Randles (literature and reviews)
circuit R(RQ) 5
circuit LR(RQ) 0 weight 0 excludes a circuit
param * window 2
param Q_n normal 0.85 0.15
| Line | Meaning |
|---|---|
default w | prior weight of every circuit not listed |
circuit code w [comment] | relative weight of a circuit. Element numbers, order, grouping and directly repeated R, C, L, W do not matter: R(RQ), (QR)R and R1(Q1R2) are the same entry. ln w is added to the log evidence: weight 10 against the default 0.5 is a factor 20. |
param name window k | log-normal prior of a decade-spanning parameter, centred on the range the data can show, which spans ± k standard deviations (* = all of them) |
param name normal mean sd | normal prior of n, α or β |
Parameter names: R, C, L, Q, Q_n, W, Wo_A, Wo_B, Ws_A, Ws_B, G_R, G_tau, HN_R, HN_tau, HN_a, HN_b. Lines that cannot be read are reported in the status line of the search and skipped.
The shipped draft weights each circuit as 1 + its occurrences in the literature list of Van Haeverbeke et al. (circuits from published studies in seven domains, with their DOIs in the comments) + 2 × the reviews and benchmarks that present it as a standard model (Lazanas & Prodromidis; Gamry; Zhang et al.; Schaeffer, Gasper et al.). Adapt it to your field: raise the circuits your community uses, set 0 for those that make no physical sense for your system.
Saving and reports
| Entry | Writes |
|---|---|
| Save project | a .json file with the circuit, limits, settings, all datasets (data, masks, σ, labels, values, fit statistics, normalisation) and the Log; File, Open project or a drop reads it back |
| Save parameters of selected | a tab-separated table: one line per dataset with R^2, χ²w, χ²red, then each parameter and its SE % (at limit, fixed or NaN when none) |
| Save data of selected | one block per dataset: measured and/or model Zr, Zi, σ, the mask, and optionally the contribution of each part of the series chain; Auto or Table with column headers reads it back |
| Report of selected datasets | an HTML report with the circuit drawing, settings, statistics, parameters with standard errors and six plots per dataset (opened in a new tab up to 30 datasets, saved as a file above) |
Settings, Save settings / Load settings keep the fit, data and plot settings and the start values of new elements in a file.
Undo and Log
Before every action that changes datasets, the circuit, limits or shared flags, a restore point is kept (up to 256 MB; unchanged data are stored once). Data, Undo the last command (or the command undo, or Ctrl+Z in the circuit drawing) goes back one step; repeat to go further. The Log tab lists every message, with a Restore before button on each action still kept: it brings back the datasets, the selection and the circuit as they were just before, and can itself be undone.
Command line
Type commands in the field at the bottom of the window (↑ ↓ recall earlier ones). They act on the selected datasets. The ? button next to it, or the command help, lists them.
| Command | |
|---|---|
rndz>>x | noise up to ±x % of |Z| on Zr and Zi; rndzr>>x, rndzi>>x on one part; rndf>>x on the frequencies |
negate_zi | change the sign of Zi |
spline>>n | new datasets on n log-spaced frequencies |
smooth>>s&d | Savitzky–Golay, s points on each side, degree d |
average | mean of the selected datasets |
fit, globalfit | fit the selected datasets one by one, or together |
clone_all, clone_active | copy the parameters of the first selected dataset to all, or to the selected ones |
mask, unmask | mask the points inside the current plot view, or show them all again |
mask>>f1&f2 | mask the points from frequency f1 to f2 (Hz), whatever the plot shows |
simulate | new dataset from the circuit and the current parameters |
select>>text | select the datasets whose name contains text (regular expressions work) |
demo | add 24 simulated spectra |
undo | go back one step |
label>>f, unlabel | label the point nearest to f on the Nyquist plot, or remove the labels |
contrib | show or hide the contributions of the parts in series |
drt, drt_save, drt_search | show, save, or search the regularisation of the DRT |
zhit | Z-HIT check |
kk, kk>>M | Kramers–Kronig test, with M RC elements (chosen automatically when omitted) |
help | the list of commands |
Mouse and keys
| Where | |
|---|---|
| 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 a plot with Tab: arrows pan (Shift small steps), + and − zoom, x and y zoom in on one axis (X, Y zoom out; both axes on the Nyquist plot while Same scale on both Nyquist axes is on), 0 autoscale; . and , step through the points and show their values, 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 larger steps, Alt 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 |
| Circuit 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 the selected datasets, Ctrl+S save the project |
| Side panel | drag its left edge to resize (← → when it has the focus), double-click to reset |
| Menus, tabs | ↑ ↓ in a menu, ← → the next menu or tab, Esc closes a menu. A greyed button or menu entry says why it cannot run when it is activated |
Settings
The Settings button (top right) opens fit settings (method, weights, iterations, tolerance), data settings (column separator, measured standard deviations), simulation range and points, plot settings, the parameter limits and shared flags of the current circuit, and the start values and limits used for new elements. Settings are stored in this browser; Save settings writes them to a file. The switch next to it chooses a light or dark theme.
Citing and references
N. Dragoe, Materials Lab 2024, 3, 230031, doi:10.54227/mlab.20230031. Browser version of Yappari 5.1 (LabVIEW), Université Paris-Saclay, ICMMO.
This Help file and major parts of the Web version are written by an AI.
DRT and Kramers–Kronig references:
- B. A. Boukamp, J. Electrochem. Soc. 142 (1995) 1885 (Kramers–Kronig test); M. Schönleber, D. Klotz, E. Ivers-Tiffée, Electrochim. Acta 131 (2014) 20 (Lin-KK).
- B. A. Boukamp, Distribution (function) of relaxation times, successor to complex nonlinear least squares analysis of electrochemical impedance spectroscopy?, J. Phys. Energy 2 (2020) 042001, doi:10.1088/2515-7655/aba9e0.
- K. T. Malkow, Reply to 'A comment on "On the futility of the Fuoss–Kirkwood relation" by Gradišar & Boškoski (Electrochem. Commun. 182 (2026) 108100)', SSRN (2026), ssrn.com/abstract=6952403; Ž. Gradišar, P. Boškoski, Electrochem. Commun. 182 (2026) 108100, doi:10.1016/j.elecom.2025.108100.
Model search priors and background:
- M. Van Haeverbeke, M. Stock, B. De Baets, Equivalent electrical circuits and their use across electrochemical impedance spectroscopy application domains, IEEE Access 10 (2022) 51363, doi:10.1109/ACCESS.2022.3174067 (literature circuit list, as shipped with EquivalentCircuits.jl).
- A. Ch. Lazanas, M. I. Prodromidis, Electrochemical impedance spectroscopy — a tutorial, ACS Meas. Sci. Au 3 (2023) 162, doi:10.1021/acsmeasuresciau.2c00070.
- R. Zhang et al., Bayesian assessment of commonly used equivalent circuit models for corrosion analysis in electrochemical impedance spectroscopy, npj Mater. Degrad. 8 (2024) 120, doi:10.1038/s41529-024-00537-8.
- J. Schaeffer, P. Gasper et al., Machine learning benchmarks for the classification of equivalent circuit models from solid-state electrochemical impedance spectra, J. Electrochem. Soc. (2023), arXiv:2302.03362.
- M. Sadeghi et al., AutoEIS: automated Bayesian model selection and analysis for electrochemical impedance spectroscopy, arXiv:2305.04841.
- B. A. Boukamp, J. Electrochem. Soc. 142 (1995) 1885 (Kramers–Kronig test); M. Schönleber, D. Klotz, E. Ivers-Tiffée, Electrochim. Acta 131 (2014) 20 (Lin-KK).