Skip to content
Snippets Groups Projects
Commit b9b66bfc authored by Jan Dinkelbach's avatar Jan Dinkelbach
Browse files

fix in complex_abs

parent 277a7801
No related branches found
No related tags found
No related merge requests found
......@@ -144,5 +144,5 @@ class TimeSeries:
Assumes the same time steps for both timeseries.
"""
ts_complex = np.vectorize(complex)(ts_real.values, ts_imag.values)
ts_abs = TimeSeries(name, ts_real.time, ts_complex.abs())
ts_abs = TimeSeries(name, ts_real.time, np.absolute(ts_complex))
return ts_abs
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment