forked from IPKM/nmreval
work on edit signals
This commit is contained in:
commit
cb2bc78a2a
@ -777,12 +777,18 @@ class SignalContainer(ExperimentContainer):
|
|||||||
if apod[0] is not None:
|
if apod[0] is not None:
|
||||||
self._data.apod(*apod)
|
self._data.apod(*apod)
|
||||||
|
|
||||||
if fourier[0] is not None:
|
# ft with three options: None, True, False
|
||||||
if fourier[0]:
|
if fourier[0] is None:
|
||||||
if phase[0] is not None:
|
# ft None -> only phase correct
|
||||||
self._data.manual_phase(*phase)
|
if phase[0] is not None:
|
||||||
self.fourier()
|
self._data.manual_phase(*phase)
|
||||||
else:
|
elif fourier[0] == True:
|
||||||
self.fourier()
|
# ft True -> first phase correct then fft
|
||||||
if phase[0] is not None:
|
if phase[0] is not None:
|
||||||
self._data.manual_phase(*phase)
|
self._data.manual_phase(*phase)
|
||||||
|
self.fourier()
|
||||||
|
else:
|
||||||
|
# ft False -> first fft then phase correct
|
||||||
|
self.fourier()
|
||||||
|
if phase[0] is not None:
|
||||||
|
self._data.manual_phase(*phase)
|
@ -53,8 +53,6 @@ class QPreviewDialog(QtWidgets.QDialog, Ui_ApodEdit):
|
|||||||
pl.hideButtons()
|
pl.hideButtons()
|
||||||
pl.setMenuEnabled(False)
|
pl.setMenuEnabled(False)
|
||||||
|
|
||||||
self.time_graph.setLogMode(x=True)
|
|
||||||
|
|
||||||
self._all_time = None
|
self._all_time = None
|
||||||
self._all_freq = None
|
self._all_freq = None
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user