reference
API Reference › Gamry DTA Files
labkit.dta.getColumn
Extract a named column from a parsed DTA table.
Syntax
col = labkit.dta.getColumn(tbl, name)Description
Finds the first header that matches name without regard to letter case and returns the corresponding numeric data column. The function does not convert units or remove NaN values.
Inputs
tbl- Scalar parsed table or curve structure with headers and data fields. data has one column for each element of headers.
name- Character vector or string scalar naming the requested header.
Outputs
col- Numeric column vector from tbl.data, or [] when no header matches.
Failure Behavior
A missing header returns []. tbl must expose corresponding headers and data fields; malformed structures or an out-of-range data layout raise the originating MATLAB field or indexing error.
Typical Call
timeSec = labkit.dta.getColumn(item.curve, "T");
currentA = labkit.dta.getColumn(item.curve, "Im");Related APIs
labkit.dta.getCurveXY— Extract paired X and Y data from a parsed CV/CT curve.labkit.dta.getMainCurve— Select the transient table containing T, Vf, and Im data.labkit.dta.getZCurve— Select the impedance table from parsed EIS data.labkit.dta.detectPulses— Locate cathodic and anodic pulse windows in chrono data.labkit.dta.detectType— Identify the supported Gamry DTA data family in a file.labkit.dta.findFiles— Find DTA files in a folder and its subfolders.labkit.dta.loadFile— Read one supported Gamry DTA file.labkit.dta.loadFiles— Read a list of Gamry DTA files.
Source
This page is generated from the MATLAB help text in +labkit/+dta/getColumn.m.