We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ff3fb4 commit 25bbc25Copy full SHA for 25bbc25
funscript_editor/ui/postprocessing.py
@@ -181,12 +181,15 @@ def update_plot(self):
181
additional_points_algorithms,
182
additional_points_repetitions = runs
183
)
184
+
185
categorized = signal.categorize_points(self.raw_score, self.result_idx)
- self.result_val = []
186
187
score = copy.deepcopy(self.raw_score)
188
score_min, score_max = min(score), max(score)
189
190
for idx in categorized['upper']:
191
score[idx] = max(( score_min, min((score_max, score[idx] + offset_upper)) ))
192
193
for idx in categorized['lower']:
194
score[idx] = max(( score_min, min((score_max, score[idx] - offset_lower)) ))
195
0 commit comments