Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CW Inference in Python
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Charlie Hoy
CW Inference in Python
Commits
e8bfddb3
Commit
e8bfddb3
authored
1 year ago
by
Matthew David Pitkin
Browse files
Options
Downloads
Patches
Plain Diff
Update hierarchical.rst: minor fix to hierarchical example
parent
8e3e9b1c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/hierarchical.rst
+2
-3
2 additions, 3 deletions
docs/hierarchical.rst
with
2 additions
and
3 deletions
docs/hierarchical.rst
+
2
−
3
View file @
e8bfddb3
...
...
@@ -230,7 +230,6 @@ uses the default nested sampling routine to draw the samples from :math:`\mu`.
# set the sampler keyword arguments
sampler_kwargs = {
"sample": "unif",
"nlive": 500,
"gzip": True,
"outdir": "exponential_distribution",
...
...
@@ -249,7 +248,7 @@ uses the default nested sampling routine to draw the samples from :math:`\mu`.
)
# run the sampler
res = mqd.sample()
res = mqd.sample(
sample="unif"
)
The ``res`` value returned by :meth:`~cwinpy.hierarchical.MassQuadrupoleDistribution.sample` will be
a :class:`~bilby.core.result.Result` object containing the posterior samples for :math:`\mu`.
...
...
@@ -648,4 +647,4 @@ Hierarchical analysis references
**98**, 063001 (2018).
.. [3] `D. W. Hogg, A. D. Myers & J. Bovy
<https://ui.adsabs.harvard.edu/abs/2010ApJ...725.2166H/abstract>`_, *ApJ*,
**725**, 2166-2175 (2010).
\ No newline at end of file
**725**, 2166-2175 (2010).
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment