Commit 11868f5d authored by Moritz Huebner's avatar Moritz Huebner

Implemented starting_time as a property so that the time_array is automatically updated with it

parent a4bc9c9d
Pipeline #23117 passed with stages
in 11 minutes and 17 seconds
......@@ -250,3 +250,12 @@ class WaveformGenerator(object):
self.__sampling_frequency = sampling_frequency
self.__frequency_array_updated = False
self.__time_array_updated = False
@property
def starting_time(self):
return self.__starting_time
@starting_time.setter
def starting_time(self, starting_time):
self.__starting_time = starting_time
self.__time_array_updated = False
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