dingo-enets
This reposity contains the embedding networks from [1], which are trained for the purpose of gravitational wave parameter estimation. If you find this code useful please cite [1].
Note: This is only a partial release of the code used in [1]. A more comprehensive package will be released in the near future. The present repository will not be maintained once the full package is publicly available.
Usage
Build a virtual environment and install dingo-enets.
$ python3 -m venv venv
$ source venv/bin/activate
$ pip install dingo-enets
Use dingo-enets to download and build a trained embedding network for a particular observing run. The model will be saved in </path/to/model_directory>.
> from dingo_enets import build_enet
> enet = build_enet(run="O1", detectors=["H1", "L1"], model_dir="</path/to/model_directory>")
> import torch
> input = torch.rand(10, 2, 3, 8033)
> output = enet(input)
> print(output.shape)
The function build_enet recognises whether a suitable model is present in the model directory, in which case it is not downloaded but instead loaded directly from disk.
References
[1] M. Dax, S.R. Green, J. Gair, J.H. Macke, A. Buonanno, B. Schölkops, Real-Time Gravitational Wave Science with Neural Posterior Estimation, Phys.Rev.Lett. 127 (2021) 24, 241103. [arXiv] [inspirehep]
Metadata
Release files for dingo-enets 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dingo-enets-0.1.0.tar.gz | 7.1 kB | Without provenance | Details for dingo-enets-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dingo_enets-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for dingo_enets-0.1.0-py3-none-any.whl |
Total release size: 15.1 kB
Release files / dingo-enets-0.1.0.tar.gz
| Download URL | dingo-enets-0.1.0.tar.gz |
|---|---|
| Size | 7.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cbcb4fdb1ff311acdfea00d9923759fc0f1f239ad702c4959f1e6f40cf6cbdf9
|
|
BLAKE2b-256 checksum How to use checksums |
8504eb5acbe64c5771f228f087900b0e41c697e5bc3bfbace33e7eb1541c5c41
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.11
|
Release files / dingo_enets-0.1.0-py3-none-any.whl
| Download URL | dingo_enets-0.1.0-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ddd548ceaa5f073bf511e4426450906cdbdd5175703ef107ef1548b84e844616
|
|
BLAKE2b-256 checksum How to use checksums |
e3c1ba269c91ad3815b54b51cf24b67486b377c44098d864085040a4d7799c08
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.11
|
Security for dingo-enets 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.