... | @@ -14,7 +14,7 @@ |
... | @@ -14,7 +14,7 @@ |
|
|
|
|
|
# Preliminary watermark
|
|
# Preliminary watermark
|
|
|
|
|
|
## Related MRs:
|
|
## Related MRs
|
|
|
|
|
|
* https://git.ligo.org/lscsoft/pesummary/-/merge_requests/463
|
|
* https://git.ligo.org/lscsoft/pesummary/-/merge_requests/463
|
|
|
|
|
... | @@ -29,3 +29,40 @@ To ensure the Preliminary watermark is added when required we generated 4 summar |
... | @@ -29,3 +29,40 @@ To ensure the Preliminary watermark is added when required we generated 4 summar |
|
* [Double analysis, one ready one not](https://ldas-jobs.ligo.caltech.edu/~charlie.hoy/projects/pesummary_review/v0.10.0/watermark/double_one_ready_one_not/home.html): here we ran pesummary with 2 result files. For one analysis, we provided the PSD and configuration file. For the other, we only provided the configuration file. We therefore expect that the Preliminary watermark is only added to the `no_psd` pages as only that run is not reproducible.
|
|
* [Double analysis, one ready one not](https://ldas-jobs.ligo.caltech.edu/~charlie.hoy/projects/pesummary_review/v0.10.0/watermark/double_one_ready_one_not/home.html): here we ran pesummary with 2 result files. For one analysis, we provided the PSD and configuration file. For the other, we only provided the configuration file. We therefore expect that the Preliminary watermark is only added to the `no_psd` pages as only that run is not reproducible.
|
|
|
|
|
|
## Reviewer's Comments
|
|
## Reviewer's Comments
|
|
|
|
|
|
|
|
# Fetch GWTC-2 result files
|
|
|
|
|
|
|
|
## Related MRs
|
|
|
|
|
|
|
|
* https://git.ligo.org/lscsoft/pesummary/-/merge_requests/457
|
|
|
|
|
|
|
|
## Test
|
|
|
|
|
|
|
|
To check that the `fetch` module can accurately fetch the GWTC-2 samples, we ran the following test:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
$ curl https://dcc.ligo.org/public/0169/P2000223/005/GW190412.tar -o GW190412.tar
|
|
|
|
$ tar -xvf GW190412.tar
|
|
|
|
$ curl https://dcc.ligo.org/public/0169/P2000223/005/GW190521.tar -o GW190521.tar
|
|
|
|
$ tar -xvf GW190521.tar
|
|
|
|
```
|
|
|
|
|
|
|
|
```python
|
|
|
|
from pesummary.gw.fetch import fetch_open_data
|
|
|
|
from pesummary.io import read
|
|
|
|
|
|
|
|
for event in ["GW190412", "GW190521"]:
|
|
|
|
f = fetch_open_data(event, path=f"{event}.h5")
|
|
|
|
g = read(f"{event}/{event}.h5")
|
|
|
|
assert sorted(f.labels) == sorted(g.labels)
|
|
|
|
np.testing.assert_almost_equal(f.samples, g.samples)
|
|
|
|
```
|
|
|
|
|
|
|
|
with output:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
## Reviewer comments
|
|
|
|
|