Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PTAInterpretation
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
CI / CD
CI / CD
Pipelines
Schedules
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Hannah Middleton
PTAInterpretation
Commits
24406d18
Commit
24406d18
authored
Jul 18, 2023
by
Hannah Middleton (Physics and Astronomy)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changing from up to z 1p5 to z 5
parent
5c1980b3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
run_sampler.py
models/galaxy_model/run_sampler.py
+2
-2
No files found.
models/galaxy_model/run_sampler.py
View file @
24406d18
...
...
@@ -73,7 +73,7 @@ def log_prior(par):
def
log_likelihood
(
par
):
M1
=
np
.
linspace
(
9
,
12
,
25
)
q
=
np
.
linspace
(
0.25
,
1
,
10
)
z
=
np
.
linspace
(
0.
,
1.5
,
5
)
z
=
np
.
linspace
(
0.
,
5.
,
1
5
)
f
=
np
.
atleast_1d
([
np
.
log10
(
fi
)
for
fi
in
frequencies
])
initpar
=
dict
(
Phi0
=
par
[
0
],
PhiI
=
par
[
1
],
...
...
@@ -129,7 +129,7 @@ bounds=[(-3.4,-2.4),
# read in the data
numberOfFrequencyBinsToUse
=
5
numberOfFrequencyBinsToUse
=
9
frequencies
,
samples
=
readChains
(
numberOfFrequencyBinsToUse
)
# make the kdes
...
...
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