-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaccess.html
175 lines (160 loc) · 9.94 KB
/
access.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
<!DOCTYPE html>
<html class="writer-html5" lang="en" >
<head>
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Accessing our posterior samples — GW200129-precession 0.1.0 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="_static/panels-main.c949a650a448cc0ae9fd3441c0e17fb0.css" type="text/css" />
<link rel="stylesheet" href="_static/panels-bootstrap.5fd3999ee7762ccc51105388f4a9d115.css" type="text/css" />
<link rel="stylesheet" href="_static/panels-variables.06eb56fa6e07937060861dad626602ad.css" type="text/css" />
<!--[if lt IE 9]>
<script src="_static/js/html5shiv.min.js"></script>
<![endif]-->
<script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script>
<script src="_static/jquery.js"></script>
<script src="_static/underscore.js"></script>
<script src="_static/doctools.js"></script>
<script src="_static/js/theme.js"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="prev" title="General-relativistic precession in a black-hole binary - data release" href="index.html" />
</head>
<body class="wy-body-for-nav">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-scroll">
<div class="wy-side-nav-search" >
<a href="index.html" class="icon icon-home"> GW200129-precession
</a>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
<input type="text" name="q" placeholder="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
<ul class="current">
<li class="toctree-l1 current"><a class="current reference internal" href="#">Accessing our posterior samples</a></li>
</ul>
</div>
</div>
</nav>
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" >
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="index.html">GW200129-precession</a>
</nav>
<div class="wy-nav-content">
<div class="rst-content">
<div role="navigation" aria-label="Page navigation">
<ul class="wy-breadcrumbs">
<li><a href="index.html" class="icon icon-home"></a> »</li>
<li>Accessing our posterior samples</li>
<li class="wy-breadcrumbs-aside">
<a href="_sources/access.rst.txt" rel="nofollow"> View page source</a>
</li>
</ul>
<hr/>
</div>
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">
<section id="accessing-our-posterior-samples">
<h1>Accessing our posterior samples<a class="headerlink" href="#accessing-our-posterior-samples" title="Permalink to this headline"></a></h1>
<p>As part of this data release, we include 3 files,</p>
<ul class="simple">
<li><dl class="simple">
<dt><cite>Nature.xxx.yyy.2022-v1-GW200129_065458_PEDataRelease.h5</cite></dt><dd><ul>
<li><p>This file contains posterior samples obtained in our analysis of GW200129_065458. We store the posterior samples with the label <code class="code docutils literal notranslate"><span class="pre">C01:NRSur7dq4</span></code>.</p></li>
</ul>
</dd>
</dl>
</li>
<li><dl class="simple">
<dt><cite>Nature.xxx.yyy.2022-v1-GW200129_065458_VaryingDetectorNetwork.h5</cite></dt><dd><ul>
<li><p>This file contains posterior samples obtained in our analysis of GW200129_065458 for different detector networks. The <code class="code docutils literal notranslate"><span class="pre">HLV</span></code> dataset presents the posterior samples obtained for a LIGO-Hanford, LIGO-Livingston and Virgo detector network, <code class="code docutils literal notranslate"><span class="pre">HV</span></code> for a LIGO-Hanford and Virgo detector network and <code class="code docutils literal notranslate"><span class="pre">LV</span></code> for a LIGO-Livingston and Virgo detector network.</p></li>
</ul>
</dd>
</dl>
</li>
<li><dl class="simple">
<dt><cite>Nature.xxx.yyy.2022-v1-GW200129_065458_ZeroNoiseInjection.h5</cite></dt><dd><ul>
<li><p>This file contains posterior samples obtained when analysing a theoretical signal from a precessing binary with our best-estimate parameters of GW200129_065458 (i.e. those with the maximum likelihood in our analysis) as it would be observed in a network of detectors with the same frequency-dependent sensitivity, but with no noise. The <code class="code docutils literal notranslate"><span class="pre">HLV</span></code> dataset presents the posterior samples obtained for a LIGO-Hanford, LIGO-Livingston and Virgo detector network, <code class="code docutils literal notranslate"><span class="pre">HV</span></code> for a LIGO-Hanford and Virgo detector network and <code class="code docutils literal notranslate"><span class="pre">LV</span></code> for a LIGO-Livingston and Virgo detector network.</p></li>
</ul>
</dd>
</dl>
</li>
</ul>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>All files contain posterior samples obtained with the <code class="code docutils literal notranslate"><span class="pre">NRSur7dq4</span></code>
waveform model.</p>
</div>
<p>Our posterior samples are stored on <a class="reference external" href="https://zenodo.org/record/6672460#.YrDVr7aZOlN">Zenodo</a>. To
download our posterior samples,</p>
<div class="tabbed-set docutils">
<input checked="checked" id="2050b59c-ab37-41e6-8067-08cafbd5fd34" name="41293c3e-cab8-4e36-8213-3df48c5c469d" type="radio">
</input><label class="tabbed-label" for="2050b59c-ab37-41e6-8067-08cafbd5fd34">
Python</label><div class="tabbed-content docutils">
<p>we recommend using
<a class="reference external" href="https://lscsoft.docs.ligo.org/pesummary/stable_docs/installation.html">PESummary</a>
We can download and read e.g.
<cite>Nature.xxx.yyy.2022-v1-GW200129_065458_PEDataRelease.h5</cite> with the
following,</p>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="kn">from</span> <span class="nn">pesummary.core.fetch</span> <span class="kn">import</span> <span class="n">download_and_read_file</span>
<span class="n">data</span> <span class="o">=</span> <span class="n">download_and_read_file</span><span class="p">(</span>
<span class="s2">"https://zenodo.org/api/files/51eb1ac0-f3ba-41a2-8c1a-2c5107734d4e/Nature.xxx.yyy.2022-v1-GW200129_065458_PEDataRelease.h5"</span><span class="p">,</span>
<span class="n">read_file</span><span class="o">=</span><span class="kc">True</span><span class="p">,</span>
<span class="n">delete_on_exit</span><span class="o">=</span><span class="kc">False</span><span class="p">,</span>
<span class="n">outdir</span><span class="o">=</span><span class="s2">"./"</span><span class="p">,</span>
<span class="n">download_kwargs</span><span class="o">=</span><span class="p">{</span><span class="s2">"timeout"</span><span class="p">:</span> <span class="mi">60</span><span class="p">},</span>
<span class="p">)</span>
</pre></div>
</div>
<p>The file is then downloaded into your current working directory and the
posterior samples can be accessed via the <code class="code docutils literal notranslate"><span class="pre">data</span></code> object. To download
all files in this data release, simply loop over the file names above.</p>
</div>
<input id="4747ef1d-a798-412e-b773-cdc760feaf45" name="41293c3e-cab8-4e36-8213-3df48c5c469d" type="radio">
</input><label class="tabbed-label" for="4747ef1d-a798-412e-b773-cdc760feaf45">
bash</label><div class="tabbed-content docutils">
<p>we recommend using <code class="code docutils literal notranslate"><span class="pre">zenodo_get</span></code>:</p>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>pip install zenodo_get
zenodo_get <span class="m">6672460</span>
</pre></div>
</div>
<p>This will download all files included in this data release. To download a
single file, we recommend using <code class="code docutils literal notranslate"><span class="pre">cURL</span></code>,</p>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>curl https://zenodo.org/api/files/51eb1ac0-f3ba-41a2-8c1a-2c5107734d4e/Nature.xxx.yyy.2022-v1-GW200129_065458_PEDataRelease.h5 -o ./Nature.xxx.yyy.2022-v1-GW200129_065458_PEDataRelease.h5
</pre></div>
</div>
</div>
</div>
<p>Both sets of posterior samples are formatted using
<a class="reference external" href="https://lscsoft.docs.ligo.org/pesummary/index.html">PESummary</a>.</p>
</section>
</div>
</div>
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
<a href="index.html" class="btn btn-neutral float-left" title="General-relativistic precession in a black-hole binary - data release" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
</div>
<hr/>
<div role="contentinfo">
<p>© Copyright 2022, Mark Hannam, Charlie Hoy, Jonathan E. Thompson, Stephen Fairhurst, Vivien Raymond.</p>
</div>
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
<a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a>
provided by <a href="https://readthedocs.org">Read the Docs</a>.
</footer>
</div>
</div>
</section>
</div>
<script>
jQuery(function () {
SphinxRtdTheme.Navigation.enable(true);
});
</script>
</body>
</html>