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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

basil_core-1.2.1-cp314-cp314-musllinux_1_2_x86_64.whl (234.9 kB view details)

Uploaded CPython 3.14musllinux: musl 1.2+ x86-64

basil_core-1.2.1-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (230.8 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64manylinux: glibc 2.5+ x86-64

basil_core-1.2.1-cp314-cp314-macosx_11_0_arm64.whl (207.1 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

basil_core-1.2.1-cp313-cp313-musllinux_1_2_x86_64.whl (234.6 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

basil_core-1.2.1-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (230.7 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64manylinux: glibc 2.5+ x86-64

basil_core-1.2.1-cp313-cp313-macosx_11_0_arm64.whl (207.0 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

basil_core-1.2.1-cp312-cp312-musllinux_1_2_x86_64.whl (234.6 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

basil_core-1.2.1-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (230.6 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64manylinux: glibc 2.5+ x86-64

basil_core-1.2.1-cp312-cp312-macosx_11_0_arm64.whl (207.0 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

File details

Details for the file basil_core-1.2.1-cp314-cp314-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for basil_core-1.2.1-cp314-cp314-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 57eed6ad8f0da799ca765dd035b8976ad9c0de43cc568f48de696fcc83d16221
MD5 aeac4ab6e2737b4e4c3055f103033aea
BLAKE2b-256 6a98278d96d9891adaae28f163414adc8821b50c20718344488aabb4a5a0c5bc

See more details on using hashes here.

File details

Details for the file basil_core-1.2.1-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for basil_core-1.2.1-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 096c87ea077953ebf8dcd69e22129c60555271a8eedd0cf21e03e567121df632
MD5 f7860ed4b4064a8c3b49c6b813f19172
BLAKE2b-256 2cc3bc9b9454713e5530857563a8a28741307a55deb9e4d0a74b1b58fb55e41d

See more details on using hashes here.

File details

Details for the file basil_core-1.2.1-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for basil_core-1.2.1-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 825d8f797a104ace7c00c7b95a352b8adcf624ccc53f9a0bf45086a3fefa87eb
MD5 7b57297638d71c4a892ec81d861c7a97
BLAKE2b-256 be219ed855ce28dfec617ef8fc358aa697505cce1799cad97aacf2780ea4ff05

See more details on using hashes here.

File details

Details for the file basil_core-1.2.1-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for basil_core-1.2.1-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 48a2d49cb2068167455c9734c29b9389508b64f70ac40a699e6bfb2ae748bb40
MD5 354f454adc5f4b7c69f829f60b1d60aa
BLAKE2b-256 205823b3e0177c2c38c7fe8f8f4d42db80bcb5035bbe43c57928e8f2821e437c

See more details on using hashes here.

File details

Details for the file basil_core-1.2.1-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for basil_core-1.2.1-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 31747ae8d56a2f2b5acc18bb0a96e7c7faf039e8527e3b9ab87da71c342476df
MD5 8875014f05aa2bf2735b0b317e692a4a
BLAKE2b-256 89f551b946d01b8ff144dc864e2de8ef2e285d75011eefa887a7454c7745d4ce

See more details on using hashes here.

File details

Details for the file basil_core-1.2.1-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for basil_core-1.2.1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 dcf49a33768c26eeb1e2e221de21fff649952657218dcfc833a7c80612cdb164
MD5 0e01aba8d357a7a9775049bc4ca77a39
BLAKE2b-256 bf52c9099aa19be84bc04eeaad1b2e3bf70671c3a73a6c4ca2dac020d1803df4

See more details on using hashes here.

File details

Details for the file basil_core-1.2.1-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for basil_core-1.2.1-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 fb9d7bf9c999634d8727c5581cd950a9ca4de6377e9171966da4ee9692f0d699
MD5 05ae98c6cd35e49b6fb6f3a6b04ebf0c
BLAKE2b-256 29ca1921752af5c9abd7649e7eca1947dc2c4ec9146c8eaa240f90646cb05007

See more details on using hashes here.

File details

Details for the file basil_core-1.2.1-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for basil_core-1.2.1-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 f13ce7d5a1cbcd46a41a647c2376a72453349d2d89b0b6135c2c4a93d9bfd179
MD5 8dc4e6b9b79d745e81e1bcd3b3ca18ab
BLAKE2b-256 b18e65cda431255626f2921845237863e4aace336bcff5f5069917a815f92660

See more details on using hashes here.

File details

Details for the file basil_core-1.2.1-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for basil_core-1.2.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2405abbb1658d312fe2dcb4d6c468380436d263e216c0343e8b35d7a1b55b505
MD5 fa66e7abaa0cdf57da79a0eb4b383a04
BLAKE2b-256 1cbd7c1d9472b65e3c074238159b5e959987630f8d62ed6837548130bf3bf5da

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