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

Uploaded Source

Built Distributions

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

basil_core-1.2.2-cp314-cp314-musllinux_1_2_x86_64.whl (237.5 kB view details)

Uploaded CPython 3.14musllinux: musl 1.2+ x86-64

basil_core-1.2.2-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (233.4 kB view details)

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

basil_core-1.2.2-cp314-cp314-macosx_11_0_arm64.whl (209.7 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

basil_core-1.2.2-cp313-cp313-musllinux_1_2_x86_64.whl (237.2 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

basil_core-1.2.2-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (233.3 kB view details)

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

basil_core-1.2.2-cp313-cp313-macosx_11_0_arm64.whl (209.6 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

basil_core-1.2.2-cp312-cp312-musllinux_1_2_x86_64.whl (237.2 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

basil_core-1.2.2-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (233.2 kB view details)

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

basil_core-1.2.2-cp312-cp312-macosx_11_0_arm64.whl (209.5 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: basil_core-1.2.2.tar.gz
  • Upload date:
  • Size: 185.4 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.2.tar.gz
Algorithm Hash digest
SHA256 2db79a91cb0364b71e6c6c54535bbc04dea6fc8a577087129c5d968f8d2fd1ca
MD5 4f09701109fa327fc6d7f1d179101567
BLAKE2b-256 02f3bf4d6dff9a13507748512dd13b8e8898188fe664b843f3cd96d7bec838ac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for basil_core-1.2.2-cp314-cp314-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 077bd146c6a72edec3aa66aeda8fca82e75e02ff111d525d8f807a7bef29c969
MD5 b421af8dcaf2e9e573e721d69bb014e3
BLAKE2b-256 bbb79a75c4b3ce8b8b256a5199134b7050b8aef5e8f9aad583016a5502dad5c6

See more details on using hashes here.

File details

Details for the file basil_core-1.2.2-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.2-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 71f5ce4a07099106d9e3fe125e3bc6f9fcb0d628fa3b682a0f2d204a3ef0b36b
MD5 2d497fc1e9e66f511321da33e678f284
BLAKE2b-256 29563854eef3fce245522336d5b8e05e3ea0bcb37eb9ee469311247318e018ba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for basil_core-1.2.2-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8c0d26e62d48212c2af5c6987de7ef0214262eeeaedae667fb29fdbfc8c16f4b
MD5 c69f55ce3070cce7f421f96a8ebbc8a4
BLAKE2b-256 663f96e6919b0ab89027052d08118c6832104339ba87e0e915a86cb222801018

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for basil_core-1.2.2-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7a5acb0ea2a497b14df2a97a0dc7834c2398d1ecb8e24a9b5b7376b314783dc9
MD5 ce57192661822d1479e4b54698b55303
BLAKE2b-256 cc9dd3b19ddc84285b6ca71faee48c7e571566b19cc7880c2dac4bbc2b2aa3fa

See more details on using hashes here.

File details

Details for the file basil_core-1.2.2-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.2-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 dd2122ae27b083f44c1ddb54e7a52ffc50991294288dd69bef9da81a7eea158e
MD5 e261227d7213b1f7d79ea1e9767d9639
BLAKE2b-256 93c25a0225639eb3e35baaaad36a2ca033dab94249cada3664023476c543df56

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for basil_core-1.2.2-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1c5657f80e23e113b0bfc054427979872b54234d9c39e236f0f2b472b1689c33
MD5 3b4aa2f1be4ca70fb85a40299a9e99a9
BLAKE2b-256 0166bfb02bb0d14df8393a7faecafea11eaee2ed20cd7023c7a358d79fd7ce1c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for basil_core-1.2.2-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8ddbbe5281617e0ffb9bccfb17568511607e9130fde0e012f807a811ba2a8a16
MD5 6d58ba4a819c7bf91d513b807df87598
BLAKE2b-256 46fd80b7501fcf059be51a85fdad6635b6bc5a788f66c898d30e68fe69ba2faa

See more details on using hashes here.

File details

Details for the file basil_core-1.2.2-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.2-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 2aa16c7e13b12ab77f239211da00f748fb4a19db68c64378763106d5d84d4fc8
MD5 7b15b25e83ce33d1d5a2ae8e096b2d76
BLAKE2b-256 4cf357ff59e1b005d59c5b00e2a4fe0a3a7972de531d531dbbb491be62b007c5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for basil_core-1.2.2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 090a8b839cca16cb21812b2b4b0f977c9c1e388a9997bac0e8657e72ef541044
MD5 bb81618cc27bd7a6b842bd0158ca89b5
BLAKE2b-256 58465b0b3ca61ecae16ae2f044692e16253f9011a6e47d2b8bd1d814cb25d718

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