m3resp.TimeSeries#
- class m3resp.TimeSeries(values, time, sample_frequency=None, unit=None, name=None, metadata=<factory>)[source]#
A value array paired with its time axis.
values’s leading axis must line up withtime(one entry per timepoint), but there’s no constraint on its remaining dimensions - a 1D array (one scalar per timepoint, e.g. global impedance), a 2D array (one value per timepoint per channel/region), or higher-dimensional arrays (e.g. EIT pixel-impedance frames: time x rows x cols) are all valid.unitis normalized viam3resp.data.units.normalize_unit()(e.g."uV"->"µV"), so equivalent units from different loaders end up comparable instead of drifting into incompatible spellings.Methods
Lightweight, JSON-serializable metadata row (no raw sample arrays).
Attributes
Elapsed time covered by
time, in the same units astime.Number of samples along the time axis.
- Parameters: