From 6bcb2b4ec17624137cf68e807868afb2f10aa22e Mon Sep 17 00:00:00 2001
From: Markus Mirz <mmirz@eonerc.rwth-aachen.de>
Date: Mon, 13 Aug 2018 12:49:06 +0200
Subject: [PATCH] removed static dyn phasor shift function

---
 dataprocessing/timeseries.py | 17 +----------------
 1 file changed, 1 insertion(+), 16 deletions(-)

diff --git a/dataprocessing/timeseries.py b/dataprocessing/timeseries.py
index 8ab1966..300c0b5 100644
--- a/dataprocessing/timeseries.py
+++ b/dataprocessing/timeseries.py
@@ -104,22 +104,7 @@ class TimeSeries:
         imagValues = interp1d(interpl_time, self.values.imag)
         ts_return = TimeSeries(name, time, np.vectorize(complex)(realValues, imagValues))
         return timeseries
-
-    @staticmethod
-    def sep_dynphasor_shift_to_emt(name, real, imag, freq):
-        """ Shift dynamic phasor values to EMT by frequency freq.
-            Assumes the same time steps for both timeseries.
-        :param name: name of returned time series
-        :param real: timeseries with real values
-        :param imag: timeseries with imaginary values
-        :param freq: shift frequency
-        :return: new timeseries with shifted time domain values
-        """
-        ts_shift = TimeSeries(name, real.time,
-                              real.values * np.cos(2 * np.pi * freq * real.time) - imag.values * np.sin(
-                                  2 * np.pi * freq * real.time))
-        return ts_shift
-
+    
     @staticmethod
     def check_node_number_comp(ts_list_comp, node):
         """
-- 
GitLab