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_punctureLMID-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_punctureLMID-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).

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lm_initial_data-0.1.0.tar.gz (41.4 kB view details)

Uploaded Source

Built Distribution

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

lm_initial_data-0.1.0-py3-none-any.whl (28.5 kB view details)

Uploaded Python 3

File details

Details for the file lm_initial_data-0.1.0.tar.gz.

File metadata

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

File hashes

Hashes for lm_initial_data-0.1.0.tar.gz
Algorithm Hash digest
SHA256 690425e56dc8b5afa7c7f8801295ded7ba4e3cf1498034db2c715fb0eae374e7
MD5 92424f22029fd041a18266528555048f
BLAKE2b-256 91b509fa0b991bab241dfab84af919331d94fbcc096cdfc4e8630e04e513ebb0

See more details on using hashes here.

File details

Details for the file lm_initial_data-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for lm_initial_data-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bb3bddb738583be682378b23c7d72775e730a4a812ed43b867ed96e3cdc1c902
MD5 30154beb62d214828fe5aba71e0c388d
BLAKE2b-256 948bd37a06e5ed8e9e7cba357f035e87c05f3a158aba5417aef38ff63e8222ac

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 Sentry Error logging StatusPage Status page