app
Chrono Overlay
Chrono Overlay compares voltage and current transients from multiple Gamry DTA files on a common pulse-centered time axis and exports the aligned curves.
Requirements And Launch
Each source must contain a readable chrono curve with time, voltage, and current data.
labkit_ChronoOverlay_app
Inputs
Use Add DTA files to select one or more .DTA files from one directory. The app parses each file as chrono data and reports unreadable items. The file list controls curve order, legend labels, and removal; selection does not discard other loaded curves. Saved projects preserve the ordered file list and reopen it through portable source references.
Basic Workflow
- Add the DTA files to compare.
- Inspect the overlaid voltage and current plots.
- Choose seconds, milliseconds, or sample number for the X axis.
- Set line width, legend visibility, and grid visibility.
- Export the aligned curves CSV.
Plot styling does not alter exported values. Removing a file removes its curves from both plots and the next export.
Alignment Algorithm
For each valid transient, the app uses the detected cathodic/anodic blank interval and defines time zero at its center. If pulse detection or the gap center is unavailable, it explicitly falls back to the first recorded sample and reports that fallback in the app log.
If files use different sample times, export constructs a merged aligned-time axis and interpolates each voltage/current series onto that axis. Missing coverage remains missing; the app does not extrapolate a transient beyond its recorded time range.
Parameters
| Parameter | Default | Effect |
|---|---|---|
| X axis | Time (s) | plot coordinate only; alternatives are Time (ms) and Sample # |
| Line width | 1.3 | rendered curve width |
| Show file-name legend | on | legend visibility |
| Show grid | on | axes grid visibility |
Output
Export curves CSV writes TimeGapCenterAligned_s followed by paired voltage and current columns for each source. Column names retain a sanitized source identity. The app also writes a result manifest containing source references, current parameters, and the CSV output role.
Use Without The GUI
[items, status] = labkit.dta.loadFiles(["run01.DTA", "run02.DTA"], ...
"chrono");
assert(all([status.ok]), "One or more DTA files could not be read.");
aligned = arrayfun(@(item) ...
chrono_overlay.sourceFiles.alignByPulseGap(item), items);
tableOut = chrono_overlay.resultFiles.buildOverlayExportTable(aligned);
These app-owned helpers expose the workflow to scripts but are not currently listed as stable public APIs; reusable DTA reading is supported through labkit.dta.
Errors And Limitations
- A source without a detectable biphasic gap is aligned to its first sample; review the log before comparing it with gap-centered files.
- Interpolation enables a common export table but does not make differently sampled instruments scientifically identical.
- Compare only experiments whose control mode, scale, and units are compatible.
Related Topics
Change history
- 2026-07-20 - App actions require explanatory hover helpfeat | compatible
- 2026-07-19 - App SDK explicit contract replaces the retired UI runtimerefactor | breaking
- 2026-07-17 - Explicit layout action contractrefactor | compatible
- 2026-07-16 - Electrochemistry source-field validation boundaryfix | compatible
- 2026-07-16 - Runtime-owned project shape validationrefactor | compatible
- 2026-07-16 - Chrono Overlay removes App-owned source identity bookkeepingfix | compatible
- 2026-07-16 - Electrochem Apps stop reading portable referencesrefactor | compatible
- 2026-07-16 - Chrono Overlay adopts one version-aware project migration entryrefactor | compatible
- 2026-07-16 - UI 7 public runtime boundaryrefactor | breaking
- 2026-07-15 - Runtime V2 lifecycle ownership across the app fleetrefactor | breaking
- 2026-07-13 - Managed scientific and conversion constantsrefactor | compatible
- 2026-07-06 - UI 5 facade redesign, app migration, and plot refreshrefactor | breaking
- 2026-07-03 - CSC export and viewport policyfeat | compatible
- 2026-07-03 - UI groups migrationrefactor | compatible
- 2026-07-03 - Declarative app runtimerefactor | compatible
- 2026-07-01 - Debug sample packsfeat | compatible
- 2026-06-30 - App alerts through UI facadefeat | compatible
- 2026-06-24 - File-panel migrationrefactor | breaking
- 2026-06-23 - Version metadata baselinefeat | compatible