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
a9499f0b
Commit
a9499f0b
authored
Oct 17, 2022
by
Nicolas Nunez Barreto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ahora si
parent
97b28e17
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
IonStatistics.py
analisis/plots/20221017_IonStatistics/IonStatistics.py
+6
-2
No files found.
analisis/plots/20221017_IonStatistics/IonStatistics.py
View file @
a9499f0b
...
...
@@ -8,7 +8,7 @@ from scipy.optimize import curve_fit
import
os
import
scipy.stats
as
sts
# Solo levanto algunos experimentos
Stat_files
=
[
8731
,
873
7
,
8738
,
8740
]
Stat_files
=
[
8731
,
873
8
,
8745
]
def
expo
(
T
,
tau
,
N0
,
C
):
global
T0
...
...
@@ -55,11 +55,15 @@ for i, fname in enumerate(Stat_files):
bins1
=
np
.
arange
(
100
,
350
,
1
)
bins2
=
np
.
arange
(
10
,
50
,
1
)
bins3
=
np
.
arange
(
30
,
100
,
1
)
plt
.
figure
()
plt
.
hist
(
Stat_Heigths
[
0
],
bins
=
bins1
,
histtype
=
'step'
,
density
=
True
)
#plt.hist(Stat_Heigths[1], bins=bins2, histtype='step',density = True)
plt
.
hist
(
Stat_Heigths
[
1
],
bins
=
bins2
,
histtype
=
'step'
,
density
=
True
)
plt
.
hist
(
Stat_Heigths
[
2
],
bins
=
bins2
,
histtype
=
'step'
,
density
=
True
)
#plt.hist(Stat_Heigths[3], bins=bins2, histtype='step',density = True)
#plt.hist(Stat_Heigths[4], bins=bins2, histtype='step',density = True)
plt
.
hist
(
Stat_Heigths
[
2
],
bins
=
bins3
,
histtype
=
'step'
,
density
=
True
)
#%%
poisson
=
sts
.
poisson
.
pmf
(
bins
,
np
.
mean
(
Stat_Heigths
))
...
...
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