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
fef7ee12
Commit
fef7ee12
authored
Jul 29, 2025
by
Nicolas Nunez Barreto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pendientes
parent
ea2eb710
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
65 additions
and
0 deletions
+65
-0
CPT_BLADETRAP_FRONTALES.py
...250704_CPT_bladetrap_frontales/CPT_BLADETRAP_FRONTALES.py
+65
-0
000022513-IR_Scan_simple.h5
..._CPT_bladetrap_frontales/Data/000022513-IR_Scan_simple.h5
+0
-0
000022558-IR_Scan_simple.h5
..._CPT_bladetrap_frontales/Data/000022558-IR_Scan_simple.h5
+0
-0
000022559-IR_Scan_simple.h5
..._CPT_bladetrap_frontales/Data/000022559-IR_Scan_simple.h5
+0
-0
000022560-IR_Scan_simple.h5
..._CPT_bladetrap_frontales/Data/000022560-IR_Scan_simple.h5
+0
-0
000022561-IR_Scan_simple.h5
..._CPT_bladetrap_frontales/Data/000022561-IR_Scan_simple.h5
+0
-0
000022562-IR_Scan_simple.h5
..._CPT_bladetrap_frontales/Data/000022562-IR_Scan_simple.h5
+0
-0
No files found.
analisis/plots/20250704_CPT_bladetrap_frontales/CPT_BLADETRAP_FRONTALES.py
0 → 100644
View file @
fef7ee12
# -*- 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
os
.
chdir
(
'/home/nico/Documents/artiq_experiments/analisis/plots/20250704_CPT_bladetrap_frontales/Data'
)
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
=
[]
CPT_FILES
=
"000022559-IR_Scan_simple"
for
i
,
fname
in
enumerate
(
CPT_FILES
.
split
()):
print
(
str
(
i
)
+
' - '
+
fname
)
print
(
i
)
print
(
fname
)
#print(fname)
data
=
h5py
.
File
(
fname
+
'.h5'
,
'r'
)
# Leo el h5: Recordar que nuestros datos estan en 'datasets'
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]
index
=
[
6
]
amp
=
[
0.05
,
0.04
,
0.03
,
0.02
]
for
i
in
index
:
plt
.
plot
([
2
*
f
*
1e-6
for
f
in
Freqs
[
i
]],
Counts
[
i
],
'o-'
)
\ No newline at end of file
analisis/plots/20250704_CPT_bladetrap_frontales/Data/000022513-IR_Scan_simple.h5
0 → 100644
View file @
fef7ee12
File added
analisis/plots/20250704_CPT_bladetrap_frontales/Data/000022558-IR_Scan_simple.h5
0 → 100644
View file @
fef7ee12
File added
analisis/plots/20250704_CPT_bladetrap_frontales/Data/000022559-IR_Scan_simple.h5
0 → 100644
View file @
fef7ee12
File added
analisis/plots/20250704_CPT_bladetrap_frontales/Data/000022560-IR_Scan_simple.h5
0 → 100644
View file @
fef7ee12
File added
analisis/plots/20250704_CPT_bladetrap_frontales/Data/000022561-IR_Scan_simple.h5
0 → 100644
View file @
fef7ee12
File added
analisis/plots/20250704_CPT_bladetrap_frontales/Data/000022562-IR_Scan_simple.h5
0 → 100644
View file @
fef7ee12
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