Commit 2adbc61e authored by Nicolas Nunez Barreto's avatar Nicolas Nunez Barreto

agrego arhcivo para hacer el ploteo de los scaneos

parent b1154c79
......@@ -8,7 +8,7 @@ from scipy.optimize import curve_fit
import os
# Solo levanto algunos experimentos
ALL_FILES = """000001853-IR_Scan.h5"""
ALL_FILES = """000002011-IR_Scan.h5"""
#000001514-SingleLine.h5 #este tiene amplitud 0.08 que es muy poquito
......@@ -69,3 +69,14 @@ for i, fname in enumerate(ALL_FILES.split()):
print(measurements)
print(freqs)
print(n)
SumaTotal = np.zeros(len(freqs))
for i in range(len(measurements)):
SumaTotal[i%len(freqs)] = SumaTotal[i%len(freqs)] + measurements[i]
plt.plot([f*1e-6 for f in freqs], SumaTotal, 'o')
plt.xlabel('Frecuencia AOM (MHz)')
plt.ylabel('Cuentas')
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