Skip to main content

BASIL-CORE: Bayesian Analytic Sampling and Integrating Library - Compiled and low-dependency utilities

Project description

Basil Core

BASIL (Bayesian Analytic Sampling and Integrating Library) Core utilities;

Core utilities: A bunch of c functions that are faster than numpy matrix operations (and more conservative of your computer's RAM).

I am using this primarily in gravitational-wave population synthesis, for postprocessing with different binary evolution simulations.

User guide and jupyter notebooks incoming TBD.

stats

basil_core.stats.distance Right now, this includes a Bhattacharyya distance, Helinski distance, and relative entropy calculation The relative entropy calculation has the advantage that it can accept pre-computed log values for P and Q.

Astro

basil_core.astro.coordinates includes many coordinate transforms useful for GW astronomy, including chieff/chiminus transformations and tidal deformability parameters.

basil_core.astro.orbit includes many useful napkin calculations for GW astronomy, such as a timescale for a GW merger as a function of radius. Many of these were adapted from hush

Installation:

python3 -m pip install basil-core

Contributing

We are open to pull requests.

If you would like to make a contribution, please explain what changs your are making and why.

License

MIT

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

basil_core-1.2.0.tar.gz (180.9 kB view details)

Uploaded Source

File details

Details for the file basil_core-1.2.0.tar.gz.

File metadata

  • Download URL: basil_core-1.2.0.tar.gz
  • Upload date:
  • Size: 180.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for basil_core-1.2.0.tar.gz
Algorithm Hash digest
SHA256 127021f2e9fd4910167343df0fe37809d5a5f590c6f608ebaa142275ab62fc1b
MD5 3216c04b5d38875a4382ba08dc4147e6
BLAKE2b-256 d3596d759e710fe061cdae3d257cf2763da359f6b51b3b57b44f61f0abc74e44

See more details on using hashes here.

Supported by

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