Numpy is now used in functions scale_read_data and convert_sampling_rate_to_measurement_times to improve performance.
Since these functions are time critical, the execution speed should be as fast as possible. With numpy, the performance can almost be doubled here.
Output of performance.txt:
measurement times new: 2.313504457473755measurement times old: 5.265141010284424scale read data new: 5.61890435218811scale read data old: 8.594855070114136
Numpy is now used in functions
scale_read_data
andconvert_sampling_rate_to_measurement_times
to improve performance.Since these functions are time critical, the execution speed should be as fast as possible. With numpy, the performance can almost be doubled here.
Output of performance.txt:
measurement times new: 2.313504457473755
measurement times old: 5.265141010284424
scale read data new: 5.61890435218811
scale read data old: 8.594855070114136
performance.txt