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.2.tar.gz (191.2 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.2-cp314-cp314t-musllinux_1_2_x86_64.whl (262.3 kB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ x86-64

basil_core-1.3.2-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (257.3 kB view details)

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

basil_core-1.3.2-cp39-abi3-musllinux_1_2_x86_64.whl (255.1 kB view details)

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

basil_core-1.3.2-cp39-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (250.4 kB view details)

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

basil_core-1.3.2-cp39-abi3-macosx_11_0_arm64.whl (210.1 kB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: basil_core-1.3.2.tar.gz
  • Upload date:
  • Size: 191.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.6

File hashes

Hashes for basil_core-1.3.2.tar.gz
Algorithm Hash digest
SHA256 d2adba870ef4c7985e4436f4bb67237cf0457a088109850f07c2b57105e97868
MD5 ad6a5a2c4bb231b4ce70e3c4420d2d6f
BLAKE2b-256 9b8b05b22ccecc28c6b88b99d0a4cfc75bd13527dfb060e2b6a71265354344ba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for basil_core-1.3.2-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d2647ea3c9c4747891f494a51e1734f01fbc434cdc0c4f5f53db5213da4922ac
MD5 3f0332d882278b700bcff4b84ef00dd0
BLAKE2b-256 6e90ef0a75d85ea464e355a7738221b7da408be5eecec36f9662dcf72e8ea9d2

See more details on using hashes here.

File details

Details for the file basil_core-1.3.2-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.2-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 cd366954563f5f00f8b1d637ecfab53b52c9457f611e41a017a673bece8f2d62
MD5 b17c311abe05d41b8c83fd7fdc2a773d
BLAKE2b-256 699e8a5a69d3b2202a9935d3f093172a82e1eb3165e89447989dbcde01da554c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for basil_core-1.3.2-cp39-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 762ea28f302e0ce8c0541204ae1b9b617ec246429ad43b793d8266c5d832e205
MD5 dd1c7deca615a9d89dc73a870918eb0d
BLAKE2b-256 82578c0b54f1a17ddc1c55b08973c4187603c4177047a51942ab5353245762eb

See more details on using hashes here.

File details

Details for the file basil_core-1.3.2-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.2-cp39-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 2170278a8c586061fcfb2863905a1f16950dd4909fcae6cf6a5db907248cc700
MD5 5022d14c05db80496e09255503439d4e
BLAKE2b-256 8a63672b2620511c89f9801969bfd0b10dd62cdcd7183f9715642a3c2c14b3e0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for basil_core-1.3.2-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ba4fddaf6a1c81edfebc556d92f17bf735dd926b7a88fdbe4c30c4049dda465e
MD5 080adb96973a3bc8b3aa09c09196eb42
BLAKE2b-256 ffe16592ef287863a35f09b10559d3ab38c6b5dbd748a968b64d98156240e6f9

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.3.2 This release

6 files

1.3.1

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