def get_labels_turbine(self, turbine, feature_window, horizon, padding = 0):

        timesteps = len(turbine.measurements) - (feature_window + horizon + padding - 1)

        labels = zeros(timesteps, dtype = float32)
        for t in range(padding, timesteps):
            offset = t + feature_window + horizon - 1
            labels[t] = turbine.measurements[cs][offset]

        return labels
Queries activities belonging to the viewpoint (up to 'limit' total) for
dataset/ETHPy150Open cigroup-ol/windml/windml/mapping/power_mapping.py/PowerMapping.get_labels_turbine--crossover with--dataset/ETHPy150Open viewfinderco/viewfinder/backend/db/viewpoint.py/Viewpoint.QueryActivities