fixed imports by running as a module

This commit is contained in:
Félix Boisselier
2024-04-20 19:15:24 +02:00
parent 94e110736a
commit 99b719051c
10 changed files with 25 additions and 21 deletions

View File

@@ -21,14 +21,14 @@ import numpy as np
matplotlib.use('Agg')
from helpers.common_func import (
from ..helpers.common_func import (
compute_mechanical_parameters,
detect_peaks,
identify_low_energy_zones,
parse_log,
setup_klipper_import,
)
from helpers.locale_utils import print_with_c_locale, set_locale
from ..helpers.locale_utils import print_with_c_locale, set_locale
PEAKS_DETECTION_THRESHOLD = 0.05
PEAKS_RELATIVE_HEIGHT_THRESHOLD = 0.04