-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
168 lines (157 loc) · 5.55 KB
/
Copy pathpyproject.toml
File metadata and controls
168 lines (157 loc) · 5.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
[project]
authors = [
{ name = "Meesum Qazalbash", email = "meesumqazalbash@gmail.com" },
{ name = "Muhammad Zeeshan", email = "m.zeeshan5885@gmail.com" },
{ name = "Richard O'Shaughnessy", email = "richardoshaughnessyrossma@gmail.com" },
]
name = "gwkokab"
dynamic = ["version"]
maintainers = [
{ name = "Meesum Qazalbash", email = "meesumqazalbash@gmail.com" },
]
description = "A JAX-based gravitational-wave population inference toolkit for parametric models"
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.11"
classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"RIFT>=0.0.15.11",
"arviz>=0.20.0",
"chex>=0.1.87",
"corner>=2.2.3",
"equinox>=0.11.3",
"flowMC==0.4.5",
"glasbey>=0.3.0",
"h5py>=3.12.1",
"ipykernel>=7.2.0",
"jaxtyping>=0.2.36",
"jenkspy==0.4.1",
"loguru>=0.7.0",
"matplotlib>=3.9.0",
"mplcursors>=0.6",
"nbconvert>=7.17.1",
"numpy<3",
"numpyro>=0.19.0",
"optax<0.2.7",
"pandas>=2.2.0",
"papermill>=2.7.0",
"plotly>=6.7.0",
"popsummary>=0.1.0",
"pydantic>=2.12.0",
"quadax>=0.2.5",
"rich>=14.0.0",
"scipy>=1.12",
"seaborn>=0.13.0",
"tqdm>=4.60.0",
]
keywords = [
"astrophysics",
"bayesian-inference",
"bbh",
"binary-black-holes",
"binary-neutron-stars",
"bns",
"compact-binaries",
"gravitational-waves",
"jax",
"neutron-star-black-hole",
"nsbh",
"population-inference",
]
[project.urls]
Changelog = "https://github.com/kokabsc/gwkokab/blob/main/CHANGELOG.md"
Discussion = "https://github.com/kokabsc/gwkokab/discussions"
Homepage = "https://github.com/kokabsc/gwkokab"
Issues = "https://github.com/kokabsc/gwkokab/issues"
[project.scripts]
analytical_ecc_matters = "gwkokab.analysis.ecc_matters.analytical:main"
analytical_multisource = "gwkokab.analysis.multisource.analytical:main"
analytical_n_pls_m_gs = "gwkokab.analysis.n_pls_m_gs.analytical:main"
analytical_subpopulation = "gwkokab.analysis.subpopulation.analytical:main"
discrete_ecc_matters = "gwkokab.analysis.ecc_matters.discrete:main"
discrete_multisource = "gwkokab.analysis.multisource.discrete:main"
discrete_n_pls_m_gs = "gwkokab.analysis.n_pls_m_gs.discrete:main"
discrete_subpopulation = "gwkokab.analysis.subpopulation.discrete:main"
gwk_analytical_data_loader_cfg_template = "gwkokab.analysis.core.inference_io._analytical:_data_loader_cfg_template"
gwk_delete_chains = "gwkokab_scripts.delete_chains:main"
gwk_diag_mass_matrix = "gwkokab_scripts.diag_mass_matrix:main"
gwk_discrete_data_loader_cfg_template = "gwkokab.analysis.core.inference_io._discrete:_data_loader_cfg_template"
gwk_flowMC_cfg_template = "gwkokab.analysis.core.inference_io._sampler:_dump_flowMC_cfg"
gwk_flowMC_info = "gwkokab_scripts.flowMC_info:main"
gwk_h5repack = "gwkokab_scripts.h5repack:main"
gwk_numpyro_cfg_template = "gwkokab.analysis.core.inference_io._sampler:_dump_numpyro_cfg"
gwk_numpyro_dense_mass_structure = "gwkokab_scripts.numpyro_dense_mass_structure:main"
gwk_param_lens = "gwkokab_scripts.param_lens:main"
gwk_report = "gwkokab.analysis.report.generate_report:generate_report"
synthetic_analytical_pe = "gwkokab.analysis.core.synthetic_pe:synthetic_analytical_pe_main"
synthetic_discrete_pe = "gwkokab.analysis.core.synthetic_pe:synthetic_discrete_pe_main"
synthetic_events_ecc_matter = "gwkokab.analysis.ecc_matters.synthetic_events:main"
synthetic_events_n_pls_m_gs = "gwkokab.analysis.n_pls_m_gs.synthetic_events:main"
[project.optional-dependencies]
cpu = ["jax>=0.7.0"]
cuda12 = ["jax[cuda12]>=0.7.0"]
cuda13 = ["jax[cuda13]>=0.7.0"]
tpu = ["jax[tpu]>=0.7.0"]
[dependency-groups]
dev = ["prek>=0.2.30", "ruff>=0.8.0", "setuptools>=75.6.0"]
doc = [
"astroid<5",
"furo",
"ipython!=8.7.0",
"myst-nb",
"setuptools_scm",
"sphinx>=2.0",
"sphinx-autoapi",
"sphinx-copybutton",
"sphinx_design",
"sphinx-togglebutton",
"sphinxcontrib-bibtex",
]
test = ["astropy>=6.0.0", "pytest>=8.3.0", "tfp-nightly"]
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[tool.docformatter]
# The ``summaries`` are not (yet) 75 characters because the summary lines can't be
# automatically wrapped and must be re-written, which should be done at some point.
recursive = true
wrap-summaries = 88
wrap-descriptions = 88
syntax = "numpy"
[tool.pytest.ini_options]
addopts = ["-v", "--color=yes"]
doctest_optionflags = [
"ELLIPSIS",
"NORMALIZE_WHITESPACE",
"IGNORE_EXCEPTION_DETAIL",
]
filterwarnings = [
"error",
"ignore:numpy.ufunc size changed,:RuntimeWarning",
"ignore:Using a non-tuple sequence:FutureWarning",
"ignore:jax.tree_structure is deprecated:FutureWarning",
"ignore:numpy.linalg support is experimental:UserWarning",
"ignore:scipy.linalg support is experimental:UserWarning",
"once:No GPU:UserWarning",
"once::DeprecationWarning",
]
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages]
find = { where = ["src/"] }
[tool.setuptools.dynamic]
version = { attr = "gwkokab.version.__version__" }
[tool.setuptools.package-data]
"gwkokab.analysis.report" = ["template_report.ipynb"]