Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ACS
Public
VILLASframework
Data Processing
Commits
b9b66bfc
Commit
b9b66bfc
authored
Apr 06, 2018
by
Jan Dinkelbach
Browse files
fix in complex_abs
parent
277a7801
Changes
1
Hide whitespace changes
Inline
Side-by-side
dataprocessing/timeseries.py
View file @
b9b66bfc
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment