Commit 4a56f411 authored by Sauerwein Nick Jacob's avatar Sauerwein Nick Jacob
Browse files

after scan of charge

parent c33ab658
......@@ -32,7 +32,7 @@ class FaradayCup:
time = datetime.datetime.now()
measurement = {}
measurement = {'time': time,'sig_time': sig_time, 'sig_uvolt': sig_uvolt}
measurement = {'time': time,'sig_time': sig_time, 'sig_uvolt': sig_uvolt, 'peak_uvolt': np.min(sig_uvolt) }
return measurement
def plot_measure(self, measurement, config = None):
......
......@@ -213,7 +213,7 @@ def ft(D):
kx = np.r_[-lx/2.:lx/2.]/lx
F0=np.fft.fft(D,axis=0)
F0=np.fft.fftshift(F0, axes=0)
F0[lx/2:,:]=0.
F0[int(lx/2):,:]=0.
F0=np.transpose(np.transpose(F0)*Ga(kx))
IF0=np.fft.ifft(F0,axis=0)
return IF0
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment