Skip to main content

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

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.3.0.tar.gz (192.9 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.3.0-cp314-cp314t-musllinux_1_2_x86_64.whl (265.8 kB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ x86-64

basil_core-1.3.0-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (260.7 kB view details)

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

basil_core-1.3.0-cp39-abi3-musllinux_1_2_x86_64.whl (258.5 kB view details)

Uploaded CPython 3.9+musllinux: musl 1.2+ x86-64

basil_core-1.3.0-cp39-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (253.8 kB view details)

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

basil_core-1.3.0-cp39-abi3-macosx_11_0_arm64.whl (229.9 kB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for basil_core-1.3.0.tar.gz
Algorithm Hash digest
SHA256 8b757b74c5e37f42bcaba1aed147c16e45a646f91e3a42aadf2706b121bbd10b
MD5 d351484f94f8188dad35ba3d4ba569b3
BLAKE2b-256 ef6e89d4e8240e92b01bd2e8696903c5909460294d62b6de88848c30121ba5f6

See more details on using hashes here.

File details

Details for the file basil_core-1.3.0-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for basil_core-1.3.0-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8f6ff00a3a8ef1d2091fb03377721bf5851bcba12008d522f69fe80180d1bd06
MD5 f5a4eb7e21d278bc53a6c3888641e355
BLAKE2b-256 218857c3cfd30d7412dfdb8242b447db77019d406fe8bff25a399a6b4dd01b60

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for basil_core-1.3.0-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 ac8c26e276c0379e8baf7e6daec5b6062d23d5846c6b2bb85d8c0f96cc6b5e2b
MD5 d5d65523d9f32245672726148699ea02
BLAKE2b-256 aea735014d6c591d4392b0e759d769e9b732ebe449efa97a6403f1b80051acff

See more details on using hashes here.

File details

Details for the file basil_core-1.3.0-cp39-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for basil_core-1.3.0-cp39-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 4bdf863331bfa5ed1cdf6f8cb1c614d191c36483f6d0fabdd1c792fd577afa4f
MD5 b25529f53d219e1796a196230f7046d6
BLAKE2b-256 560732476576b06c5ac9ddb4349f8bb9afe6c8d072c7cc06d8c07a4c207308c7

See more details on using hashes here.

File details

Details for the file basil_core-1.3.0-cp39-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for basil_core-1.3.0-cp39-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 48353d47f3b05b85e4456114e7697c2a006bdcffea90102354b0e07f6950e2ae
MD5 c5d0d19d0d25a817c3e9c4edde1afc4d
BLAKE2b-256 8bcaa5afc6213318e624e7937eee2d7b7c43978e85dcce6bd872d1acb0e98727

See more details on using hashes here.

File details

Details for the file basil_core-1.3.0-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for basil_core-1.3.0-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 da4563bf6ba2861cd53d68c8953659cc2592fd134bd1ccb7fb657ae103c8cace
MD5 0c985c62459e8553610d251d5cea30f1
BLAKE2b-256 4c96ee734518ba5283693a795e876b7b7e43685e36ee8329ce175648e996abde

See more details on using hashes here.

Release history Release notifications | RSS feed

1.3.2

6 files

1.3.1

6 files

This release

1.3.0 This release

6 files

1.2.4

1 file

1.2.2

10 files

1.2.1

9 files

1.2.0

1 file

1.1.2

1 file

1.1.1

1 file

1.1.0

1 file

1.0.0

1 file

0.3.9

1 file

0.3.8

1 file

0.3.7

1 file

0.3.6

1 file

0.3.5

1 file

0.3.4

1 file

0.3.2

1 file

0.3.0

1 file

0.2.1

1 file

0.2.0

1 file

0.1.1

1 file

0.1.0

1 file

0.0.2

1 file

0.0.1

1 file

0.0.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page