dev #295

Merged
dominik merged 38 commits from dev into master 2024-11-13 13:02:05 +00:00
2 changed files with 7 additions and 2 deletions
Showing only changes of commit a8fcd658d9 - Show all commits

View File

@ -10,7 +10,7 @@ class FitToolbar(QtWidgets.QToolBar):
limit_menu: QtWidgets.QMenu,
parent=None,
):
super().__init__(parent=parent)
super().__init__('Fit', parent=parent)
self.fit_action = fitaction
self.region = RegionItem()

View File

@ -3,7 +3,12 @@ from ctypes import c_double, cast, pointer, c_void_p
import numpy as np
from scipy import LowLevelCallable
from scipy.integrate import quad, simps as simpson
from scipy.integrate import quad
try:
from scipy.integrate import simps as simpson
except ImportError:
from scipy.integrate import simpson
from .base import Distribution
from ..lib.utils import ArrayLike