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.1.1.tar.gz (177.3 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: basil_core-1.1.1.tar.gz
  • Upload date:
  • Size: 177.3 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.1.1.tar.gz
Algorithm Hash digest
SHA256 e6ce4c41b9206bb734292f77f276eabcad0df6e12faa0353a4059238e67fb6e2
MD5 ee73dd9153357c42cb26d84eec3c6637
BLAKE2b-256 a6434b3b380286535c8ff4f22a58ab4417657694c0707daa9653d442f899278a

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