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
5904f4af
Commit
5904f4af
authored
May 20, 2025
by
Vlatko, Carolina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
todo
parent
2c77f34c
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
74 additions
and
0 deletions
+74
-0
CPT_BLADETRAP_CARO.py
analisis/plots/20250519_CPT_bladetrap/CPT_BLADETRAP_CARO.py
+74
-0
000021448-IR_Scan_simple.h5
...s/20250519_CPT_bladetrap/Data/000021448-IR_Scan_simple.h5
+0
-0
000021461-IR_Scan_simple.h5
...s/20250519_CPT_bladetrap/Data/000021461-IR_Scan_simple.h5
+0
-0
000021467-IR_Scan_simple.h5
...s/20250519_CPT_bladetrap/Data/000021467-IR_Scan_simple.h5
+0
-0
000021469-IR_Scan_simple.h5
...s/20250519_CPT_bladetrap/Data/000021469-IR_Scan_simple.h5
+0
-0
000021471-IR_Scan_simple.h5
...s/20250519_CPT_bladetrap/Data/000021471-IR_Scan_simple.h5
+0
-0
000021485-IR_Scan_simple.h5
...s/20250519_CPT_bladetrap/Data/000021485-IR_Scan_simple.h5
+0
-0
000021486-IR_Scan_simple.h5
...s/20250519_CPT_bladetrap/Data/000021486-IR_Scan_simple.h5
+0
-0
000021487-IR_Scan_simple.h5
...s/20250519_CPT_bladetrap/Data/000021487-IR_Scan_simple.h5
+0
-0
No files found.
analisis/plots/20250519_CPT_bladetrap/CPT_BLADETRAP_CARO.py
0 → 100644
View file @
5904f4af
# -*- coding: utf-8 -*-
"""
Created on Tue May 20 10:59:18 2025
@author: Carolina
"""
# -*- coding: utf-8 -*-
"""
Created on Sun May 18 19:12:45 2025
@author: Carolina
"""
import
h5py
import
matplotlib.pyplot
as
plt
import
numpy
as
np
import
sys
import
re
import
ast
from
scipy.optimize
import
curve_fit
import
os
from
scipy
import
interpolate
"""
Primero tengo mediciones de espectros cpt de un ion variando la tension dc_A
"""
#os.chdir('/home/nico/Documents/artiq_experiments/analisis/plots/20231123_CPTconmicromocion3/Data/')
#os.chdir('/home/nico/Documents/artiq_experiments/analisis/plots/20250516_CPT_bladetrap/Data')
os
.
chdir
(
r'C:\Users\Carolina\Documents\artiq_experiments\analisis\plots\20250519_CPT_bladetrap\Data'
)
CPT_FILES
=
os
.
listdir
()
def
SeeKeys
(
files
):
for
i
,
fname
in
enumerate
(
files
.
split
()):
data
=
h5py
.
File
(
fname
+
'.h5'
,
'r'
)
# Leo el h5: Recordar que nuestros datos estan en 'datasets'
print
(
fname
)
print
(
list
(
data
[
'datasets'
]
.
keys
()))
Counts
=
[]
Freqs
=
[]
AmpTisa
=
[]
UVCPTAmp
=
[]
No_measures
=
[]
Voltages
=
[]
for
i
,
fname
in
enumerate
(
CPT_FILES
):
print
(
str
(
i
)
+
' - '
+
fname
)
#print(fname)
data
=
h5py
.
File
(
fname
,
'r'
)
# Leo el h5: Recordar que nuestros datos estan en 'datasets'
# Aca hago algo repugnante para poder levantar los strings que dejamos
# que además tenian un error de tipeo al final. Esto no deberá ser necesario
# cuando se solucione el error este del guardado.
Freqs
.
append
(
np
.
array
(
data
[
'datasets'
][
'IR1_Frequencies'
]))
Counts
.
append
(
np
.
array
(
data
[
'datasets'
][
'counts_spectrum'
]))
#AmpTisa.append(np.array(data['datasets']['TISA_CPT_amp']))
print
(
np
.
array
(
data
[
'datasets'
][
'no_measures'
]))
#%%
index
=
[
7
,
1
,
4
,
6
]
amp
=
[
0.05
,
0.04
,
0.03
,
0.02
]
\ No newline at end of file
analisis/plots/20250519_CPT_bladetrap/Data/000021448-IR_Scan_simple.h5
0 → 100644
View file @
5904f4af
File added
analisis/plots/20250519_CPT_bladetrap/Data/000021461-IR_Scan_simple.h5
0 → 100644
View file @
5904f4af
File added
analisis/plots/20250519_CPT_bladetrap/Data/000021467-IR_Scan_simple.h5
0 → 100644
View file @
5904f4af
File added
analisis/plots/20250519_CPT_bladetrap/Data/000021469-IR_Scan_simple.h5
0 → 100644
View file @
5904f4af
File added
analisis/plots/20250519_CPT_bladetrap/Data/000021471-IR_Scan_simple.h5
0 → 100644
View file @
5904f4af
File added
analisis/plots/20250519_CPT_bladetrap/Data/000021485-IR_Scan_simple.h5
0 → 100644
View file @
5904f4af
File added
analisis/plots/20250519_CPT_bladetrap/Data/000021486-IR_Scan_simple.h5
0 → 100644
View file @
5904f4af
File added
analisis/plots/20250519_CPT_bladetrap/Data/000021487-IR_Scan_simple.h5
0 → 100644
View file @
5904f4af
File added
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