mirror of
https://github.com/nqrduck/nqrduck-measurement.git
synced 2024-12-22 15:47:51 +00:00
Working apodization.
This commit is contained in:
parent
0cd27cde86
commit
c9e3dd1f44
2 changed files with 1 additions and 6 deletions
|
@ -6,7 +6,6 @@ import numpy as np
|
|||
from decimal import Decimal
|
||||
from PyQt6.QtCore import pyqtSlot, pyqtSignal
|
||||
from PyQt6.QtWidgets import QApplication
|
||||
from nqrduck_pulseprogrammer.view import OptionsDialog
|
||||
from nqrduck_spectrometer.pulsesequence import PulseSequence
|
||||
from .signalprocessing_options import Apodization
|
||||
from nqrduck.module.module_controller import ModuleController
|
||||
|
@ -223,7 +222,7 @@ class MeasurementController(ModuleController):
|
|||
|
||||
apodized_measurement = dialog.apodization(function)
|
||||
|
||||
dialog = None
|
||||
dialog.deleteLater()
|
||||
|
||||
self.module.model.displayed_measurement = apodized_measurement
|
||||
self.module.model.add_measurement(apodized_measurement)
|
||||
|
|
|
@ -29,9 +29,6 @@ class Apodization(DuckFormBuilder):
|
|||
|
||||
This parameter is used to apply apodization functions to the signal.
|
||||
The apodization functions are used to reduce the noise in the signal.
|
||||
|
||||
Attributes:
|
||||
APODIZATION_FUNCTIONS (str): The name of the apodization functions option.
|
||||
"""
|
||||
|
||||
def __init__(self, measurement: Measurement, parent=None) -> None:
|
||||
|
@ -94,4 +91,3 @@ class Apodization(DuckFormBuilder):
|
|||
)
|
||||
|
||||
return apodized_measurement
|
||||
|
||||
|
|
Loading…
Reference in a new issue