Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
artiq_experiments
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nicolas Nunez Barreto
artiq_experiments
Commits
61a9d66c
Commit
61a9d66c
authored
Jan 05, 2024
by
Nicolas Nunez Barreto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xd
parent
b37c1f1b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
12 deletions
+17
-12
CPT_plotter_20231123.py
...plots/20231123_CPTconmicromocion3/CPT_plotter_20231123.py
+17
-12
No files found.
analisis/plots/20231123_CPTconmicromocion3/CPT_plotter_20231123.py
View file @
61a9d66c
...
...
@@ -60,6 +60,7 @@ for i, fname in enumerate(CPT_FILES.split()):
UVCPTAmp
.
append
(
np
.
array
(
data
[
'datasets'
][
'UV_CPT_amp'
]))
No_measures
.
append
(
np
.
array
(
data
[
'datasets'
][
'no_measures'
]))
Voltages
.
append
(
np
.
array
(
data
[
'datasets'
][
'scanning_voltages'
]))
print
(
np
.
array
(
data
[
'datasets'
][
'no_measures'
]))
def
Split
(
array
,
n
):
length
=
len
(
array
)
/
n
...
...
@@ -220,11 +221,11 @@ for selectedcurve in SelectedCurveVec:
pcov_SA_vec
.
append
(
pcov_3_SA
)
FittedEITpi_3_SA_short
,
Detunings_3_SA_short
=
FitEIT_MM_single
(
FreqsDR
,
*
popt_3_SA
,
plot
=
True
)
freqslong
=
np
.
arange
(
min
(
FreqsDR
)
-
0
*
5e6
,
max
(
FreqsDR
)
+
FreqsDR
[
1
]
-
FreqsDR
[
0
]
-
0
*
5e6
,
0.1
*
(
FreqsDR
[
1
]
-
FreqsDR
[
0
]))
freqslong
=
np
.
arange
(
min
(
FreqsDR
)
-
1
*
5e6
,
max
(
FreqsDR
)
+
FreqsDR
[
1
]
-
FreqsDR
[
0
]
-
1
*
5e6
,
0.1
*
(
FreqsDR
[
1
]
-
FreqsDR
[
0
]))
#
popt_3_SA[4]=1
#
popt_3_SA[5]=0
#
popt_3_SA[6]=0
popt_3_SA
[
4
]
=
1
popt_3_SA
[
5
]
=
0
popt_3_SA
[
6
]
=
0
FittedEITpi_3_SA_long
,
Detunings_3_SA_long
=
FitEIT_MM_single
(
freqslong
,
*
popt_3_SA
,
plot
=
True
)
DetuningsUV_vec
.
append
(
popt_3_SA
[
1
])
...
...
@@ -254,16 +255,20 @@ for selectedcurve in SelectedCurveVec:
print
(
popt_3_SA
)
#%%
plt
.
figure
(
figsize
=
(
0.8
*
5
,
0.7
*
3
))
#plt.errorbar(Detunings_3_SA_short, CountsDR, yerr=2*np.sqrt(CountsDR), fmt='o', color='darkgreen', alpha=0.5, capsize=2, markersize=2)
plt
.
plot
(
Detunings_3_SA_long
,
[
100
*
f
for
f
in
FittedEITpi_3_SA_long
],
color
=
'darkolivegreen'
,
linewidth
=
3
,
label
=
f
'med {selectedcurve}'
)
#plt.title(f'Sdop: {round(popt[0], 2)}, Spr: {round(popt[1], 2)}, T: {round(popt[2]*1e3, 2)} mK, detDop: {DetDoppler} MHz')
plt
.
xlabel
(
r'$\Delta_{\mathrm{IR}}$ (MHz)'
,
fontsize
=
10
)
plt
.
ylabel
(
'Fluorescence (arb. units)'
,
fontsize
=
10
)
#plt.legend(loc='upper left', fontsize=20)
plt
.
grid
()
plt
.
xlim
(
-
60
,
18
)
plt
.
tight_layout
()
plt
.
savefig
(
'/home/nico/Nextcloud/G_liaf/Publicaciones/Papers/2023 Micromotion CPT/Drafts/cpt_fig1_v2.pdf'
)
# plt.figure(figsize=(4,3))
# #plt.errorbar(Detunings_3_SA_short, CountsDR, yerr=2*np.sqrt(CountsDR), fmt='o', color='darkgreen', alpha=0.5, capsize=2, markersize=2)
# plt.plot(Detunings_3_SA_long, [100*f for f in FittedEITpi_3_SA_long], color='darkolivegreen', linewidth=3, label=f'med {selectedcurve}')
# #plt.title(f'Sdop: {round(popt[0], 2)}, Spr: {round(popt[1], 2)}, T: {round(popt[2]*1e3, 2)} mK, detDop: {DetDoppler} MHz')
# plt.xlabel('Repump detuning (MHz)')
# plt.ylabel('Fluorescence (arb. units)')
# #plt.legend(loc='upper left', fontsize=20)
# plt.grid()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment