Change to quackseq structure.
This commit is contained in:
parent
9b1052bb74
commit
5f126c6953
4 changed files with 9 additions and 6 deletions
|
@ -30,6 +30,7 @@ dependencies = [
|
|||
"nqrduck",
|
||||
"nqrduck-pulseprogrammer",
|
||||
"nqrduck-spectrometer",
|
||||
"quackseq",
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
|
|
|
@ -4,9 +4,11 @@ import logging
|
|||
import json
|
||||
from PyQt6.QtCore import pyqtSlot, pyqtSignal
|
||||
from PyQt6.QtWidgets import QApplication
|
||||
from .signalprocessing_options import Apodization, Fitting
|
||||
|
||||
from nqrduck.module.module_controller import ModuleController
|
||||
from nqrduck_spectrometer.measurement import Measurement
|
||||
from quackseq.measurement import Measurement
|
||||
|
||||
from .signalprocessing_options import Apodization, Fitting
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
@ -231,7 +233,7 @@ class MeasurementController(ModuleController):
|
|||
|
||||
self.module.model.displayed_measurement = apodized_measurement
|
||||
self.module.model.add_measurement(apodized_measurement)
|
||||
|
||||
|
||||
def show_fitting_dialog(self) -> None:
|
||||
"""Show fitting dialog."""
|
||||
logger.debug("Showing fitting dialog.")
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
import logging
|
||||
from PyQt6.QtCore import pyqtSignal
|
||||
from nqrduck_spectrometer.measurement import Measurement
|
||||
from quackseq.measurement import Measurement
|
||||
from nqrduck.module.module_model import ModuleModel
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
import logging
|
||||
import sympy
|
||||
from nqrduck_spectrometer.measurement import Measurement, Fit, T2StarFit, LorentzianFit
|
||||
from nqrduck.helpers.functions import Function, GaussianFunction, CustomFunction
|
||||
from quackseq.measurement import Measurement, Fit, T2StarFit, LorentzianFit
|
||||
from quackseq.functions import Function, GaussianFunction, CustomFunction
|
||||
from nqrduck.helpers.formbuilder import (
|
||||
DuckFormBuilder,
|
||||
DuckFormFunctionSelectionField,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue