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
32e8b58d
Commit
32e8b58d
authored
1 year ago
by
Nicolas Nunez Barreto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
agrego todo antes de irme
parent
d2ac3455
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
255 deletions
+33
-255
RDS_CPT2.py
...isis/plots/20230804_RotationalDopplerShift_v2/RDS_CPT2.py
+1
-1
RDS_sidebands2.py
...lots/20230817_RotationalDopplerShift_v5/RDS_sidebands2.py
+21
-246
RDS_piezobeamsizes.py
.../20230912_RotationalDopplerShift_v6/RDS_piezobeamsizes.py
+11
-8
No files found.
analisis/plots/20230804_RotationalDopplerShift_v2/RDS_CPT2.py
View file @
32e8b58d
...
@@ -262,7 +262,7 @@ secular=False
...
@@ -262,7 +262,7 @@ secular=False
plt
.
plot
([
2
*
f
*
1e-6
for
f
in
ExtraIR1_Freqs
[
1
][
1
:]],
[
1e-3
*
c
for
c
in
ExtraCounts
[
1
][
1
:]],
'-o'
,
markersize
=
2
,
label
=
'Colineales'
)
plt
.
plot
([
2
*
f
*
1e-6
for
f
in
ExtraIR1_Freqs
[
1
][
1
:]],
[
1e-3
*
c
for
c
in
ExtraCounts
[
1
][
1
:]],
'-o'
,
markersize
=
2
,
label
=
'Colineales'
)
plt
.
xlabel
(
'Frequency (MHz)'
,
fontname
=
'STIXgeneral'
,
fontsize
=
15
)
plt
.
xlabel
(
'
IR1
Frequency (MHz)'
,
fontname
=
'STIXgeneral'
,
fontsize
=
15
)
plt
.
ylabel
(
'kCounts'
,
fontname
=
'STIXgeneral'
,
fontsize
=
15
)
plt
.
ylabel
(
'kCounts'
,
fontname
=
'STIXgeneral'
,
fontsize
=
15
)
plt
.
xlim
(
425
,
455
)
plt
.
xlim
(
425
,
455
)
plt
.
yticks
([
1
,
1.5
,
2
,
2.5
,
3
],
fontname
=
'STIXgeneral'
,
fontsize
=
15
)
plt
.
yticks
([
1
,
1.5
,
2
,
2.5
,
3
],
fontname
=
'STIXgeneral'
,
fontsize
=
15
)
...
...
This diff is collapsed.
Click to expand it.
analisis/plots/20230817_RotationalDopplerShift_v5/RDS_sidebands2.py
View file @
32e8b58d
This diff is collapsed.
Click to expand it.
analisis/plots/20230912_RotationalDopplerShift_v6/RDS_piezobeamsizes.py
View file @
32e8b58d
...
@@ -46,8 +46,8 @@ def SeeKeys(files):
...
@@ -46,8 +46,8 @@ def SeeKeys(files):
print
(
fname
)
print
(
fname
)
print
(
list
(
data
[
'datasets'
]
.
keys
()))
print
(
list
(
data
[
'datasets'
]
.
keys
()))
def
Lorentzian
(
x
,
A
,
B
,
x0
,
gam
,
C
):
def
Lorentzian
(
x
,
A
,
B
,
x0
,
gam
):
#
C=0
C
=
0
return
A
*
gam
**
2
/
(
gam
**
2
+
(
x
-
x0
)
**
2
)
+
B
-
C
*
(
x
-
x0
)
return
A
*
gam
**
2
/
(
gam
**
2
+
(
x
-
x0
)
**
2
)
+
B
-
C
*
(
x
-
x0
)
...
@@ -598,9 +598,12 @@ Resonancias DD configuracion +2/-2 colineal variando la ubicacion del ion en los
...
@@ -598,9 +598,12 @@ Resonancias DD configuracion +2/-2 colineal variando la ubicacion del ion en los
Alta estadistica
Alta estadistica
"""
"""
def
Lorentzian
(
x
,
A
,
B
,
x0
,
gam
,
C
):
return
A
*
gam
**
2
/
(
gam
**
2
+
(
x
-
x0
)
**
2
)
+
B
-
C
*
(
x
-
x0
)
palette
=
sns
.
color_palette
(
"tab10"
)
palette
=
sns
.
color_palette
(
"rocket"
)
pmlocmedvec
=
np
.
arange
(
0
,
len
(
HS_FILES
),
1
)
pmlocmedvec
=
np
.
arange
(
0
,
len
(
HS_FILES
),
1
)
...
@@ -644,17 +647,17 @@ for med in pmlocmedvec:
...
@@ -644,17 +647,17 @@ for med in pmlocmedvec:
fi
=
775
fi
=
775
if
med
not
in
[
800
]:
if
med
not
in
[
800
]:
plt
.
plot
([
1e3
*
(
2
*
f
*
1e-6
-
435
)
-
fi
for
f
in
PiezoHSFrequencies
[
med
][
1
:]],
[
1e-3
*
c
for
c
in
PiezoHSCounts
[
med
][
1
:]],
'-o'
,
markersize
=
2
,
alpha
=
0.7
)
plt
.
plot
([
1e3
*
(
2
*
f
*
1e-6
-
435
)
-
fi
for
f
in
PiezoHSFrequencies
[
med
][
1
:]],
[
1e-3
*
c
for
c
in
PiezoHSCounts
[
med
][
1
:]],
'-o'
,
markersize
=
2
,
alpha
=
0.7
,
color
=
palette
[
0
]
)
plt
.
plot
([
1e3
*
(
f
-
435
)
-
fi
for
f
in
Freqs
],[
l
*
1e-3
for
l
in
Lorentzian
(
Freqs
,
*
popt
)],
linewidth
=
5
)
plt
.
plot
([
1e3
*
(
f
-
435
)
-
fi
for
f
in
Freqs
],[
l
*
1e-3
for
l
in
Lorentzian
(
Freqs
,
*
popt
)],
linewidth
=
5
,
color
=
palette
[
0
]
)
jj
=
jj
+
1
jj
=
jj
+
1
plt
.
xlabel
(
'
Frequency (kHz)'
,
fontname
=
'STIXgeneral'
,
fontsize
=
5
0
)
plt
.
xlabel
(
'
IR1 Frequency (kHz)'
,
fontname
=
'STIXgeneral'
,
fontsize
=
4
0
)
plt
.
ylabel
(
'kCounts'
,
fontname
=
'STIXgeneral'
,
fontsize
=
5
0
)
plt
.
ylabel
(
'kCounts'
,
fontname
=
'STIXgeneral'
,
fontsize
=
4
0
)
plt
.
xticks
([
-
50
,
-
25
,
0
,
25
,
50
],
fontname
=
'STIXgeneral'
,
fontsize
=
35
)
plt
.
xticks
([
-
50
,
-
25
,
0
,
25
,
50
],
fontname
=
'STIXgeneral'
,
fontsize
=
35
)
plt
.
yticks
([
3.5
,
4
,
4.5
],
fontname
=
'STIXgeneral'
,
fontsize
=
35
)
plt
.
yticks
([
3.5
,
4
,
4.5
],
fontname
=
'STIXgeneral'
,
fontsize
=
35
)
plt
.
tight_layout
()
plt
.
tight_layout
()
plt
.
grid
()
plt
.
grid
()
plt
.
savefig
(
'/home/nico/Nextcloud/Nico/Doctorado/Charlas/2023 Europe/DDresonancesexperimental_fine.pdf'
)
plt
.
savefig
(
'/home/nico/Nextcloud/Nico/Doctorado/Charlas/2023 Europe/DDresonancesexperimental_fine.pdf'
)
# plt.legend()
# plt.legend()
#plt.title
(f'Ancho: {round(1e3*popt[3],2)} kHz')
print
(
f
'Ancho: {round(1e3*popt[3],2)} kHz'
)
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