Skip to main content

lemaitre.initial_data (LM-initial-data)

The initial-data domain of the Lemaitre package family: certified, differentiable, parametric binary-black-hole initial data.

This repository is the umbrella. It owns the lemaitre.initial_data namespace level and ships no science — the models live in the two submodules below, each its own repository and its own installable distribution.

import lemaitre as lm

lm.initial_data.conformally_flat_puncture    # the published Bowen–York puncture model
lm.initial_data.curved_puncture              # its non-conformally-flat successor

The two puncture models

conformally_flat_puncture — LMID-conformally-flat-puncture

Distribution LMID-conformally-flat-puncture. The paper package.

Certified, differentiable, parametric reduced-order model of the constraint solve for quasi-circular Bowen–York punctures, up to the 8-D general-spin model θ₈ = (b, q, χ_A, χ_B): a spectral xCFC solver on the Ansorg–Brügmann–Tichy prolate chart, matrix-free Newton–Krylov, and a Smolyak/Hermite/POD parameter-space ROM exposing solve(θ, guess) and the tangent dU/dθ. Ships paper/ — the code and the paper together.

curved_puncture — LMID-curved-puncture

Distribution LMID-curved-puncture. Skeleton — no physics yet.

The non-conformally-flat successor: the same ABT chart, the same Newton–Krylov solver, and the same parametric layer, with the conformally flat background replaced by an attenuated superposition of quasi-isotropic conformally-Kerr and Lorentz-boosted-Schwarzschild 3-metrics. The motivation is spin: above χ ≈ 0.93 conformally flat data does not exist at all, which is the published model's own stated limitation. It reuses conformally_flat_puncture directly — the chart, the Newton–Krylov solver and the ROM — and so depends on it.

Install

E="--config-settings editable_mode=compat"
pip install -e . $E                                  # this umbrella (pulls `lemaitre`)
pip install -e LMID-conformally-flat-puncture $E     # the published model
pip install -e LMID-curved-puncture $E               # the successor skeleton

python -c "import lemaitre as lm; lm.initial_data.conformally_flat_puncture"

The umbrella depends only on the lemaitre core. The solver stack (jax, numpy, scipy, matplotlib) comes with whichever model you install; both are self-contained beyond it, enforced by a test guard.

Each submodule builds, tests and releases on its own — see its README.md for the acceptance suite and, for conformally_flat_puncture, the paper-reproduction targets.

License

GPL-3.0 (see LICENSE).

Metadata

Release files for LM-initial-data 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for LM-initial-data 0.1.0
File Size Uploaded
lm_initial_data-0.1.0.tar.gz 41.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for LM-initial-data 0.1.0
File Interpreter ABI Platform
lm_initial_data-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 69.9 kB

Release files / lm_initial_data-0.1.0.tar.gz

Download URL lm_initial_data-0.1.0.tar.gz
Size 41.4 kB
Tags Source
SHA-256 checksum
How to use checksums
690425e56dc8b5afa7c7f8801295ded7ba4e3cf1498034db2c715fb0eae374e7
BLAKE2b-256 checksum
How to use checksums
91b509fa0b991bab241dfab84af919331d94fbcc096cdfc4e8630e04e513ebb0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release files / lm_initial_data-0.1.0-py3-none-any.whl

Download URL lm_initial_data-0.1.0-py3-none-any.whl
Size 28.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bb3bddb738583be682378b23c7d72775e730a4a812ed43b867ed96e3cdc1c902
BLAKE2b-256 checksum
How to use checksums
948bd37a06e5ed8e9e7cba357f035e87c05f3a158aba5417aef38ff63e8222ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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