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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file basil_core-1.1.2.tar.gz.
File metadata
- Download URL: basil_core-1.1.2.tar.gz
- Upload date:
- Size: 177.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6fb24add6164b457cea90e548a37c1bb61bdf0f68b6377949f3c2e45d5ef8774
|
|
| MD5 |
3cac48b7a6cb71c891226681291b4026
|
|
| BLAKE2b-256 |
9c26720922860ce15025fd47983e25e4ba225ff3db1b7becf784f6032d0610fd
|