Yappari JS

Arrow right and left select the next or previous element or group, arrow up the group around it, arrow down its first part. Delete removes the selection, Escape deselects, Control Z undoes.

Element equations and parameter names

Parameter limits for the current circuit

Bounded methods keep every parameter between these limits. Untick “shared” to give a parameter one value per dataset in a global fit. Parameters that span decades (R, C, L, Q, Aw, B, τ) are varied in relative steps during a fit, which keeps them positive; n, α and β in absolute steps.

Start values for new elements

Used when an element is added to the circuit. Stored in this browser. C, Q and L of a dataset with data start from its data instead (the value whose impedance equals the typical |Z| at the middle of the frequency range), unless you change their start value here.

Settings file

    やっぱり

    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

    1. Drop impedance files on the window, or read them from File (BioLogic .mpt, Gamry .dta, ZView .z, VersaStudio .par, Zurich Instruments MFLI, SP2M hp4192a and Z-MFLI-HT4 CSVs, tables with column headers, three columns, or custom XML presets). To try the program right away, choose File, Load 24 demo spectra (or type demo in the command line at the bottom).
    2. 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.
    3. 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.
    4. 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.
    5. 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 undo in 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

    Plotsdrag 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 focusreach 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
    Parametermouse 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
    Drawingclick 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
    AnywhereF9 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.