Skip to content
Snippets Groups Projects
Commit 11868f5d authored by Moritz Huebner's avatar Moritz Huebner
Browse files

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

parent a4bc9c9d
No related branches found
No related tags found
1 merge request!92Create time series fix
Pipeline #
......@@ -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
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