fixed evil tab/spaces
This commit is contained in:
parent
059c059de7
commit
aed38c1c89
@ -5,9 +5,14 @@ import autophase
|
||||
class DamarisFFT:
|
||||
def clip(self, start=None, stop=None):
|
||||
"""
|
||||
Method for clipping data, only the timesignal between start and stop
|
||||
:param float start: beginning of clipping
|
||||
:param float stop: end of clipping
|
||||
|
||||
Method for clipping data, returns only the timesignal
|
||||
between start and stop
|
||||
is returned.
|
||||
start and stop can be either time or frequency. The unit is automatically determined
|
||||
start and stop can be either time or frequency.
|
||||
The unit is automatically determined
|
||||
"""
|
||||
# check if start/stop order is properly
|
||||
if start > stop:
|
||||
@ -50,6 +55,8 @@ class DamarisFFT:
|
||||
Correct the baseline of your data by subtracting the mean of the
|
||||
last_part fraction of your data.
|
||||
|
||||
:param float last_part: last section of your timesignal used to calculate baseline
|
||||
|
||||
last_part defaults to 0.1, i.e. last 10% of your data
|
||||
"""
|
||||
# TODO baselinecorrection for spectra after:
|
||||
@ -80,7 +87,14 @@ class DamarisFFT:
|
||||
"""
|
||||
def exp_window(self, line_broadening=10):
|
||||
"""
|
||||
exponential window
|
||||
Exponential window function
|
||||
|
||||
:param float line_broadening: Applies apodization to time signal
|
||||
|
||||
.. math::
|
||||
|
||||
\\exp\\left(-\\pi\\cdot \\textsf{line_broadening} \\cdot t\\right)
|
||||
|
||||
"""
|
||||
apod = numpy.exp(-self.x*numpy.pi*line_broadening)
|
||||
for i in range(2):
|
||||
|
@ -2639,7 +2639,6 @@ class MonitorWidgets:
|
||||
# va='top',
|
||||
# backgroundcolor='white')
|
||||
#
|
||||
|
||||
# Draw it!
|
||||
self.matplot_canvas.draw_idle()
|
||||
del in_result
|
||||
|
Loading…
Reference in New Issue
Block a user