dev #291

Merged
dominik merged 32 commits from dev into master 2024-09-29 17:21:40 +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