perda.analyzer.concat_helpers#
- perda.analyzer.concat_helpers.concat(first, second, gap=1)[source]#
Concatenate two Analyzers sequentially in time.
Variables are matched by cpp_name. Unmatched variables are kept with data from only the run that has them. If the two runs use different timestamp units the ms run is upscaled to us.
- Parameters:
- Returns:
New Analyzer containing the concatenated data
- Return type:
Examples
>>> from perda.analyzer import concat >>> merged = concat(aly1, aly2) >>> fig = merged.plot("bms.pack.voltage")