Commit fad1d0f5 authored by Steffen Vogel's avatar Steffen Vogel 🎅🏼
Browse files

support new complex suffixes and released version v0.1.4

parent 6204899a
......@@ -137,9 +137,15 @@ def read_timeseries_dpsim(filename, timeseries_names=None):
timeseries_list[column] = TimeSeries(column, timestamps, pd_df[column])
for column in cmpl_result_columns:
try:
timeseries_list[column] = TimeSeries(column, timestamps,
np.vectorize(complex)(pd_df[column + real_string],
pd_df[column + imaginary_string]))
np.vectorize(complex)(
pd_df[column + real_string],
pd_df[column + imaginary_string]
)
)
except:
pass
else:
# Read in specified time series
......
......@@ -14,7 +14,7 @@ def read(fname):
setup(
name = "acs-dataprocessing",
version = "0.1.3",
version = "0.1.4",
author = "Markus Mirz, Jan Dinkelbach, Steffen Vogel",
author_email = "acs-software@eonerc.rwth-aachen.de",
description = "Several tools for processing simulation results",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment