Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Gregory Ashton
PyFstat
Commits
00b0e770
Commit
00b0e770
authored
Jan 10, 2018
by
Gregory Ashton
Browse files
Minor changes to glitch grid example
parent
b7875932
Changes
1
Hide whitespace changes
Inline
Side-by-side
examples/glitch_examples/semicoherent_glitch_robust_directed_grid_search_on_1_glitch.py
View file @
00b0e770
...
...
@@ -14,10 +14,10 @@ label = 'semicoherent_glitch_robust_directed_grid_search_on_1_glitch'
plt
.
style
.
use
(
'paper'
)
Nstar
=
1
0
0
Nstar
=
1
5
0
F0_width
=
np
.
sqrt
(
Nstar
)
*
np
.
sqrt
(
12
)
/
(
np
.
pi
*
duration
)
F1_width
=
np
.
sqrt
(
Nstar
)
*
np
.
sqrt
(
180
)
/
(
np
.
pi
*
duration
**
2
)
N
=
4
1
N
=
6
1
F0s
=
[
F0
-
F0_width
/
2.
,
F0
+
F0_width
/
2.
,
F0_width
/
N
]
F1s
=
[
F1
-
F1_width
/
2.
,
F1
+
F1_width
/
2.
,
F1_width
/
N
]
F2s
=
[
F2
]
...
...
@@ -25,7 +25,7 @@ Alphas = [Alpha]
Deltas
=
[
Delta
]
max_delta_F0
=
1e-5
tglitchs
=
[
tstart
+
0.1
*
duration
,
tstart
+
0.9
*
duration
,
float
(
duration
)
/
N
]
tglitchs
=
[
tstart
+
0.1
*
duration
,
tstart
+
0.9
*
duration
,
0.8
*
float
(
duration
)
/
N
]
delta_F0s
=
[
0
,
max_delta_F0
,
max_delta_F0
/
N
]
delta_F1s
=
[
0
]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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