SGVB PSD Estimator
This repository contains the code for the papers
- "Variational inference for correlated gravitational wave detector network noise" by Jianan Liu et al. 2024
- "Variational Bayesian Inference for the Spectral Structure of LISA Noise" (arXiv link to be added)
Documentation is available at https://nz-gravity.github.io/sgvb_psd/
Inference modes
Version 2.0.0 keeps the original non-eigenbasis joint SGVB method as the default and adds joint and factorized eigenbasis methods.
from sgvb_psd.psd_estimator import PSDEstimator
# Original joint SGVB with the blocked Whittle likelihood (default)
legacy = PSDEstimator(x=data)
# Joint SGVB with the blocked eigenbasis likelihood
eigen_joint = PSDEstimator(
x=data,
use_eigenbasis=True,
posterior_mode="joint",
)
# Factorized (componentwise) SGVB with the blocked eigenbasis likelihood
eigen_factorized = PSDEstimator(
x=data,
use_eigenbasis=True,
posterior_mode="factorized",
)
Development
Install in editable mode with dev dependencies
pip install -e ".[dev]"
pre-commit install
Ensure unit tests are passing locally and on the CI!
pytest tests/
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sgvb_psd-2.0.0.tar.gz.
File metadata
- Download URL: sgvb_psd-2.0.0.tar.gz
- Upload date:
- Size: 15.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ffcd86a4029a0b2fa5df8b5d946cdcd613a7a66dad2ac5258ed404f3d9132672
|
|
| MD5 |
0e52f64b17cd5cc42c2d83e20a511f44
|
|
| BLAKE2b-256 |
2cb87fa7be59550d18792ae575fd2af42fa86701118ba2a285f11d7eccf8a21c
|
Provenance
The following attestation bundles were made for sgvb_psd-2.0.0.tar.gz:
Publisher:
publish.yml on nz-gravity/sgvb_psd
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sgvb_psd-2.0.0.tar.gz -
Subject digest:
ffcd86a4029a0b2fa5df8b5d946cdcd613a7a66dad2ac5258ed404f3d9132672 - Sigstore transparency entry: 2580001385
- Sigstore integration time:
-
Permalink:
nz-gravity/sgvb_psd@0caece54ff747a210fbca6178bb13f64a6717c7a -
Branch / Tag:
refs/tags/v2.0.0 - Owner: https://github.com/nz-gravity
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@0caece54ff747a210fbca6178bb13f64a6717c7a -
Trigger Event:
push
-
Statement type:
File details
Details for the file sgvb_psd-2.0.0-py3-none-any.whl.
File metadata
- Download URL: sgvb_psd-2.0.0-py3-none-any.whl
- Upload date:
- Size: 49.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
437b26c1399785459ced77fef57396b2ccd2df92f7397d80613971bc093686e8
|
|
| MD5 |
12bd7f3638cdb4b9a488a2ff76573d46
|
|
| BLAKE2b-256 |
fae590e20e6c4e24bc630f7b87a594abba32a0ab835b668cf4a01ad7d5dc647c
|
Provenance
The following attestation bundles were made for sgvb_psd-2.0.0-py3-none-any.whl:
Publisher:
publish.yml on nz-gravity/sgvb_psd
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sgvb_psd-2.0.0-py3-none-any.whl -
Subject digest:
437b26c1399785459ced77fef57396b2ccd2df92f7397d80613971bc093686e8 - Sigstore transparency entry: 2580001391
- Sigstore integration time:
-
Permalink:
nz-gravity/sgvb_psd@0caece54ff747a210fbca6178bb13f64a6717c7a -
Branch / Tag:
refs/tags/v2.0.0 - Owner: https://github.com/nz-gravity
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@0caece54ff747a210fbca6178bb13f64a6717c7a -
Trigger Event:
push
-
Statement type: