Skip to main content

Package to perform astrophysical population modelling using gravitational waves,

Project description

gravpop

Documentation PyPI version

This library allows one to perform a gravitational wave population analysis, (Hussain et al., Thrane et al.) that allows exploration of population features even in narrow regions near the edges of a bounded domain.

Feel free to jump to the tutorial here

The approach splits parameter space into two sectors:

  • An analytic sector ($\theta^a$), where the population model is represented as a weighted sum of multivariate truncated normal distributions, allowing for an analytical computation of the population likelihood.
  • A sampled sector ($\theta^s$), which accommodates more general population models and utilizes Monte Carlo estimates of the population likelihood.

This technique represents posterior samples using a truncated Gaussian mixture model (TGMM), where the population likelihood, $p(x)$, is expressed as a sum of truncated multivariate Gaussian components:

$$ p(x) = \sum_k w_k , \phi_{[a,b]}(x \mid \mu_k, \Sigma_k). $$

This form of the posterior allows analytic evaluation in the analytic sector, and falls back to using Monte-Carlo based estimation in the sampled sector.

For implementing the Truncated Gaussian Mixture Model fit, see truncatedgaussianmixtures, a package designed to fit data to mixtures of truncated Gaussians.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gravpop-0.1.1.tar.gz (45.5 kB view details)

Uploaded Source

Built Distribution

gravpop-0.1.1-py3-none-any.whl (65.5 kB view details)

Uploaded Python 3

File details

Details for the file gravpop-0.1.1.tar.gz.

File metadata

  • Download URL: gravpop-0.1.1.tar.gz
  • Upload date:
  • Size: 45.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for gravpop-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a09214db8818789c7d74649537724c9e039dc8bf231075130b48b38a419ca4eb
MD5 57bd8b61e91e999ae1e9b27e27ea87f7
BLAKE2b-256 8e1b31c32d15a6c48b7419ed17231bf1cde1535c7edc1840d5ebb73f0dcd387a

See more details on using hashes here.

File details

Details for the file gravpop-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: gravpop-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 65.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for gravpop-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9bc8363bf6a91556a2115e557637e5a01b6e6c8a66242ddd75ee8ab4e9b0bf3a
MD5 7af1409429cb95ec0c14abcf97ccfd6c
BLAKE2b-256 f282c7d1595ba3597cc80e41f7bc81b58e74f7135acc36529af42fa168959cae

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page