- Add nuclear_data.py module for paceENSDF integration and JSON input - Add DecayInfo and BranchInfo dataclasses for parsed nuclear data - Implement get_decay_info_from_paceENSDF() to retrieve decay parameters - Implement load_json_input() and json_to_config() for custom JSON input - Add create_config_from_source() unified interface for both sources - Add bs_pnpi CLI with --nuclide, --input, --output, --plot, and detector options - Add 23 comprehensive tests for nuclear_data module - Add sample JSON input file - Update __init__.py and pyproject.toml with new exports and entry point - Add paceENSDF as optional dependency
58 lines
925 B
TOML
58 lines
925 B
TOML
[build-system]
|
|
requires = ["setuptools>=61.0"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "beta-spectrum"
|
|
version = "0.3.0"
|
|
description = "High-precision beta spectrum calculation for nuclear physics"
|
|
authors = [
|
|
{ name = "Evgeniy Unzhakov" }
|
|
]
|
|
requires-python = ">=3.10"
|
|
|
|
dependencies = [
|
|
"numpy",
|
|
"scipy",
|
|
"matplotlib",
|
|
"pandas"
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
ensdf = ["paceENSDF"]
|
|
dev = [
|
|
"pytest",
|
|
"nbmake",
|
|
"black",
|
|
"ruff",
|
|
"mypy",
|
|
"mdformat",
|
|
"mdformat-frontmatter",
|
|
"mdformat-footnote",
|
|
"mdformat-tables"
|
|
]
|
|
|
|
[project.scripts]
|
|
bs_pnpi = "beta_spectrum.cli:main"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["."]
|
|
|
|
[tool.mypy]
|
|
python_version = "3.10"
|
|
strict = true
|
|
|
|
[tool.black]
|
|
line-length = 88
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests", "notebooks"]
|
|
|
|
[tool.ruff]
|
|
line-length = 88
|
|
|
|
[tool.mdformat]
|
|
line-length = 88
|
|
wrap = false
|
|
number = true
|