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
4733fe7b
Commit
4733fe7b
authored
Dec 21, 2023
by
Nicolas Nunez Barreto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
para muri
parent
2c74777d
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
214 additions
and
22 deletions
+214
-22
CPT_plotter_20220615.py
.../20220615_CPTvariandocompensacion/CPT_plotter_20220615.py
+3
-2
CPT_plotter_20231123.py
...plots/20231123_CPTconmicromocion3/CPT_plotter_20231123.py
+211
-20
No files found.
analisis/plots/20220615_CPTvariandocompensacion/CPT_plotter_20220615.py
View file @
4733fe7b
...
@@ -293,11 +293,11 @@ def FitEIT_MM_SA(Freqs, offset, DetDoppler, SG, SP, SCALE1, SCALE2, OFFSET, BETA
...
@@ -293,11 +293,11 @@ def FitEIT_MM_SA(Freqs, offset, DetDoppler, SG, SP, SCALE1, SCALE2, OFFSET, BETA
#return ScaledFluo1
#return ScaledFluo1
popt_SA
,
pcov_SA
=
curve_fit
(
FitEIT_MM_SA
,
FreqsDR
,
CountsDR
,
p0
=
[
425
,
-
13
,
0.9
,
7.5
,
4e3
,
5e3
,
4000
,
3.8
,
0.8
,
0.2e-3
,
32e6
],
bounds
=
((
0
,
-
50
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
28e6
),
(
1000
,
0
,
2
,
20
,
5e6
,
5e6
,
1e4
,
10
,
10
,
20e-3
,
40e6
)))
popt_SA
,
pcov_SA
=
curve_fit
(
FitEIT_MM_SA
,
FreqsDR
,
CountsDR
,
p0
=
[
425
,
-
13
,
0.9
,
7.5
,
4e3
,
5e3
,
2500
,
3.8
,
0.8
,
0.2e-3
,
32e6
],
bounds
=
((
0
,
-
50
,
0
,
0
,
0
,
0
,
1500
,
0
,
0
,
0
,
28e6
),
(
1000
,
0
,
2
,
20
,
5e6
,
5e6
,
6000
,
10
,
10
,
20e-3
,
40e6
)))
FittedEITpi_short_SA
,
Detunings_short_SA
=
FitEIT_MM_SA
(
FreqsDR
,
*
popt_SA
,
plot
=
True
)
FittedEITpi_short_SA
,
Detunings_short_SA
=
FitEIT_MM_SA
(
FreqsDR
,
*
popt_SA
,
plot
=
True
)
freqslong
=
np
.
arange
(
min
(
FreqsDR
),
max
(
FreqsDR
)
+
FreqsDR
[
1
]
-
FreqsDR
[
0
],
0.1
*
(
FreqsDR
[
1
]
-
FreqsDR
[
0
]))
freqslong
=
np
.
arange
(
1
*
min
(
FreqsDR
),
1
*
max
(
FreqsDR
)
+
FreqsDR
[
1
]
-
FreqsDR
[
0
],
0.1
*
(
FreqsDR
[
1
]
-
FreqsDR
[
0
]))
FittedEITpi_long_SA
,
Detunings_long_SA
=
FitEIT_MM_SA
(
freqslong
,
*
popt_SA
,
plot
=
True
)
FittedEITpi_long_SA
,
Detunings_long_SA
=
FitEIT_MM_SA
(
freqslong
,
*
popt_SA
,
plot
=
True
)
plt
.
figure
()
plt
.
figure
()
...
@@ -306,6 +306,7 @@ plt.plot(Detunings_long_SA, FittedEITpi_long_SA, color='darkolivegreen', linewid
...
@@ -306,6 +306,7 @@ plt.plot(Detunings_long_SA, FittedEITpi_long_SA, color='darkolivegreen', linewid
plt
.
title
(
'2 ion model'
)
plt
.
title
(
'2 ion model'
)
plt
.
xlabel
(
'Detuning (MHz)'
)
plt
.
xlabel
(
'Detuning (MHz)'
)
plt
.
ylabel
(
'Counts'
)
plt
.
ylabel
(
'Counts'
)
plt
.
xlim
(
-
100
,
100
)
#plt.legend(loc='upper left', fontsize=20)
#plt.legend(loc='upper left', fontsize=20)
plt
.
grid
()
plt
.
grid
()
...
...
analisis/plots/20231123_CPTconmicromocion3/CPT_plotter_20231123.py
View file @
4733fe7b
This diff is collapsed.
Click to expand it.
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