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
6de94fd0
Commit
6de94fd0
authored
Oct 17, 2022
by
Muriel Bonetto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
agrego cambios a ion statistics
parent
5aed6073
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
IonStatistics.py
analisis/plots/20221017_IonStatistics/IonStatistics.py
+11
-2
No files found.
analisis/plots/20221017_IonStatistics/IonStatistics.py
View file @
6de94fd0
...
...
@@ -6,7 +6,7 @@ import re
import
ast
from
scipy.optimize
import
curve_fit
import
os
import
scipy.stats
as
sts
# Solo levanto algunos experimentos
Stat_files
=
[
8731
]
...
...
@@ -53,8 +53,17 @@ for i, fname in enumerate(Stat_files):
#plt.figure()
#plt.plot(Stat_Bins[0][:-1], Stat_Heigths[0])
bins
=
np
.
arange
(
100
,
350
,
1
)
plt
.
figure
()
plt
.
hist
(
Stat_Heigths
[
0
],
bins
=
np
.
arange
(
100
,
350
,
1
),
histtype
=
'step'
)
plt
.
hist
(
Stat_Heigths
[
0
],
bins
=
bins
,
histtype
=
'step'
,
density
=
True
)
poisson
=
sts
.
poisson
.
pmf
(
bins
,
np
.
mean
(
Stat_Heigths
))
plt
.
plot
(
bins
+
0.5
,
poisson
)
poissoneidad
=
np
.
var
(
Stat_Heigths
)
/
np
.
mean
(
Stat_Heigths
)
plt
.
title
(
'Varianza/media = {:.4f}'
.
format
(
poissoneidad
))
...
...
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