stiffgwpy-fast 0.2.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. stiffgwpy_fast-0.2.0/CHANGELOG.md +19 -0
  2. stiffgwpy_fast-0.2.0/CONTRIBUTING.md +26 -0
  3. stiffgwpy_fast-0.2.0/LICENSE.md +674 -0
  4. stiffgwpy_fast-0.2.0/MANIFEST.in +14 -0
  5. stiffgwpy_fast-0.2.0/PACKAGING.md +64 -0
  6. stiffgwpy_fast-0.2.0/PKG-INFO +395 -0
  7. stiffgwpy_fast-0.2.0/README.md +359 -0
  8. stiffgwpy_fast-0.2.0/README_zh.md +108 -0
  9. stiffgwpy_fast-0.2.0/pyproject.toml +84 -0
  10. stiffgwpy_fast-0.2.0/setup.cfg +4 -0
  11. stiffgwpy_fast-0.2.0/stiffgwpy_fast/LCDM_stiff_Neff.py +203 -0
  12. stiffgwpy_fast-0.2.0/stiffgwpy_fast/__init__.py +8 -0
  13. stiffgwpy_fast-0.2.0/stiffgwpy_fast/_metrics.py +42 -0
  14. stiffgwpy_fast-0.2.0/stiffgwpy_fast/_resources.py +14 -0
  15. stiffgwpy_fast-0.2.0/stiffgwpy_fast/cobaya/__init__.py +3 -0
  16. stiffgwpy_fast-0.2.0/stiffgwpy_fast/cobaya/likelihoods/LIGO_SGWB/C_O1_O2_O3.dat +54594 -0
  17. stiffgwpy_fast-0.2.0/stiffgwpy_fast/cobaya/likelihoods/LIGO_SGWB/LVK_SGWB_CC.py +71 -0
  18. stiffgwpy_fast-0.2.0/stiffgwpy_fast/cobaya/likelihoods/LIGO_SGWB/LVK_SGWB_CC.yaml +45 -0
  19. stiffgwpy_fast-0.2.0/stiffgwpy_fast/cobaya/likelihoods/LIGO_SGWB/__init__.py +1 -0
  20. stiffgwpy_fast-0.2.0/stiffgwpy_fast/cobaya/likelihoods/PTA/EPTAdr2/EPTA_dr2new_mock.dat +29990 -0
  21. stiffgwpy_fast-0.2.0/stiffgwpy_fast/cobaya/likelihoods/PTA/EPTAdr2/freqs_dr2new.txt +20 -0
  22. stiffgwpy_fast-0.2.0/stiffgwpy_fast/cobaya/likelihoods/PTA/IPTA.py +93 -0
  23. stiffgwpy_fast-0.2.0/stiffgwpy_fast/cobaya/likelihoods/PTA/IPTA.yaml +60 -0
  24. stiffgwpy_fast-0.2.0/stiffgwpy_fast/cobaya/likelihoods/PTA/NANOGrav.py +93 -0
  25. stiffgwpy_fast-0.2.0/stiffgwpy_fast/cobaya/likelihoods/PTA/NANOGrav.yaml +61 -0
  26. stiffgwpy_fast-0.2.0/stiffgwpy_fast/cobaya/likelihoods/PTA/NANOGrav15yr/density_mock.npy +0 -0
  27. stiffgwpy_fast-0.2.0/stiffgwpy_fast/cobaya/likelihoods/PTA/NANOGrav15yr/freqs.npy +0 -0
  28. stiffgwpy_fast-0.2.0/stiffgwpy_fast/cobaya/likelihoods/PTA/NANOGrav15yr/log10rhogrid.npy +0 -0
  29. stiffgwpy_fast-0.2.0/stiffgwpy_fast/cobaya/likelihoods/PTA/__init__.py +2 -0
  30. stiffgwpy_fast-0.2.0/stiffgwpy_fast/cobaya/likelihoods/__init__.py +0 -0
  31. stiffgwpy_fast-0.2.0/stiffgwpy_fast/cobaya/stiffGW.py +293 -0
  32. stiffgwpy_fast-0.2.0/stiffgwpy_fast/cobaya/stiffGW.yaml +82 -0
  33. stiffgwpy_fast-0.2.0/stiffgwpy_fast/config.py +54 -0
  34. stiffgwpy_fast-0.2.0/stiffgwpy_fast/exact_background.py +281 -0
  35. stiffgwpy_fast-0.2.0/stiffgwpy_fast/fast_sgwb.py +1370 -0
  36. stiffgwpy_fast-0.2.0/stiffgwpy_fast/fd_table.npz +0 -0
  37. stiffgwpy_fast-0.2.0/stiffgwpy_fast/freq_adaptive.py +145 -0
  38. stiffgwpy_fast-0.2.0/stiffgwpy_fast/functions.py +108 -0
  39. stiffgwpy_fast-0.2.0/stiffgwpy_fast/global_param.py +100 -0
  40. stiffgwpy_fast-0.2.0/stiffgwpy_fast/reference.py +596 -0
  41. stiffgwpy_fast-0.2.0/stiffgwpy_fast/stiff_SGWB.py +618 -0
  42. stiffgwpy_fast-0.2.0/stiffgwpy_fast/th.dat +693 -0
  43. stiffgwpy_fast-0.2.0/stiffgwpy_fast.egg-info/SOURCES.txt +40 -0
@@ -0,0 +1,19 @@
1
+ # Changelog
2
+
3
+ ## 0.2.0 — 2026-09-04
4
+
5
+ - Added immutable per-call fast-solver configuration with `fast` plain-grid as
6
+ the default high-level profile; `production` remains an explicit precision mode.
7
+ - Added package-resource loading and an installed-wheel smoke test covering core,
8
+ Cobaya, LIGO, and PTA data.
9
+ - Added Python-version CI coverage, a scheduled/on-demand slow numerical job,
10
+ coverage reporting, and validation-manifest schema checks.
11
+ - Fixed optional-Cobaya test collection and capped adapter thread requests to
12
+ the runner's available Numba budget.
13
+ - Fixed the installed-wheel smoke probe so optional Cobaya resources are
14
+ checked only when Cobaya is installed.
15
+ - Kept the independent continuous-sigma reference as the precision anchor;
16
+ existing `NOT VERIFIED` and `FAIL` validation results remain unchanged.
17
+
18
+ Verification for this release line is documented in
19
+ `docs/engineering_audit.md` and `docs/reproducibility.md`.
@@ -0,0 +1,26 @@
1
+ # Contributing
2
+
3
+ Install the development dependencies with `pip install .[dev]`. The normal
4
+ local gate is:
5
+
6
+ ```bash
7
+ python scripts/validate_manifest.py
8
+ ruff check stiffgwpy_fast/__init__.py stiffgwpy_fast/cobaya/__init__.py stiffgwpy_fast/cobaya/stiffGW.py stiffgwpy_fast/_metrics.py stiffgwpy_fast/_resources.py stiffgwpy_fast/config.py stiffgwpy_fast/global_param.py stiffgwpy_fast/exact_background.py stiffgwpy_fast/freq_adaptive.py stiffgwpy_fast/reference.py scripts tests
9
+ python -m mypy
10
+ python -m pytest -q
11
+ python -m pytest -q -m slow
12
+ python -m build --sdist --wheel
13
+ python scripts/verify_distribution.py dist
14
+ python scripts/smoke_installed_wheel.py dist/stiffgwpy_fast-*.whl
15
+ ```
16
+
17
+ The independent continuous-sigma reference is the precision anchor. LSODA is
18
+ for regression and runtime comparison only. Do not turn a `NOT VERIFIED` or
19
+ `FAIL` artifact into a passing claim by changing documentation alone; update
20
+ the executable validation and its provenance together.
21
+
22
+ Generated build/cache files, local credentials, and unfinished research
23
+ outputs are ignored. Keep PyPI tokens outside version control and inspect
24
+ `git status --short` before every commit. This checkout's progress is pushed to
25
+ the `fast` remote; do not push unrelated changes to `origin` without an
26
+ explicit request.