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.1.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.1-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.1-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.1-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.1-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.1-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.1.tar.gz.

File metadata

  • Download URL: basil_core-1.3.1.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.1.tar.gz
Algorithm Hash digest
SHA256 ecf64d5d7e7f960deae27744a4a99273c7b3f669759525b095b17558b74c3d35
MD5 18381db08549d9f892faa8c1e9e05ef2
BLAKE2b-256 e488355cfdeb990ebfbb72a9332fcc5be1b33dfae8110b566fb82523a5e1a439

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for basil_core-1.3.1-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ae8671e5750a85f0c90be17a0c6fab0e7aab472b357fd19cf331dda1d57b116c
MD5 b094a7c7d83acc6328aba4f9e9b9d70a
BLAKE2b-256 4eb9fb464cf672e819963db3e3c78da6bb3e089652cf38b05062629dedca612c

See more details on using hashes here.

File details

Details for the file basil_core-1.3.1-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.1-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 ab1e31ed8ccfaba13cc0f31ccd25d9be58537033b21478fa7392274cd702d11a
MD5 c0ca8ab94afbfe8a527c1508023fd460
BLAKE2b-256 a096bb14f6c5ac06ae57af73603abe33793016c7abf02b92dd32d5a392ee85e2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for basil_core-1.3.1-cp39-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 072f0e97d1c2d20ce6f731d09b1f37a74d5f010fa82dd659cc6d9ae5ff9ad359
MD5 d1216bb698dc519e158e9ca61d13dcb4
BLAKE2b-256 e808a6c8c193c6214f1a47a3bbf5e1a5acc843a13b5040225d3b515d944329e0

See more details on using hashes here.

File details

Details for the file basil_core-1.3.1-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.1-cp39-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 a66a432055812e23fd51ca8048ea1a36aeee27361de53aa91d8ab76af342e433
MD5 5528a4ef6d931916fde4bfc91c227f87
BLAKE2b-256 1cea444ff89ecdba468cd62669d6fdf98b2b5057f691708d5a40892e316c8609

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for basil_core-1.3.1-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3800330a1c4244bcc31973090f46fd7ab76fce8d3e7f4b2401b57851ac833862
MD5 e6ddd048d88ac39e742dc20591c8aaf7
BLAKE2b-256 8691bc5cf23e76da58b54d341524c6e68bb2452014891c21f00bac505f962ebf

See more details on using hashes here.

Release history Release notifications | RSS feed

1.3.2

6 files

This release

1.3.1 This release

6 files

1.3.0

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