lsst-desc-dsf 0.1.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 (82) hide show
  1. lsst_desc_dsf-0.1.0/LICENSE +21 -0
  2. lsst_desc_dsf-0.1.0/PKG-INFO +77 -0
  3. lsst_desc_dsf-0.1.0/README.md +42 -0
  4. lsst_desc_dsf-0.1.0/pyproject.toml +313 -0
  5. lsst_desc_dsf-0.1.0/setup.cfg +4 -0
  6. lsst_desc_dsf-0.1.0/src/dsf/__init__.py +17 -0
  7. lsst_desc_dsf-0.1.0/src/dsf/covariance/__init__.py +0 -0
  8. lsst_desc_dsf-0.1.0/src/dsf/covariance/cov_builder.py +886 -0
  9. lsst_desc_dsf-0.1.0/src/dsf/covariance/ingredients/__init__.py +0 -0
  10. lsst_desc_dsf-0.1.0/src/dsf/covariance/ingredients/cov_blocks.py +418 -0
  11. lsst_desc_dsf-0.1.0/src/dsf/covariance/ingredients/galaxy_bias.py +63 -0
  12. lsst_desc_dsf-0.1.0/src/dsf/covariance/ingredients/geometry.py +513 -0
  13. lsst_desc_dsf-0.1.0/src/dsf/covariance/ingredients/noise.py +101 -0
  14. lsst_desc_dsf-0.1.0/src/dsf/covariance/ingredients/power_spectrum.py +60 -0
  15. lsst_desc_dsf-0.1.0/src/dsf/covariance/ingredients/sigma_crit.py +338 -0
  16. lsst_desc_dsf-0.1.0/src/dsf/data_vector/__init__.py +0 -0
  17. lsst_desc_dsf-0.1.0/src/dsf/data_vector/ccl_integration.py +99 -0
  18. lsst_desc_dsf-0.1.0/src/dsf/data_vector/delta_sigma_builder.py +349 -0
  19. lsst_desc_dsf-0.1.0/src/dsf/data_vector/profiles.py +129 -0
  20. lsst_desc_dsf-0.1.0/src/dsf/delta_sigma_forecast_builder.py +422 -0
  21. lsst_desc_dsf-0.1.0/src/dsf/hankel/__init__.py +0 -0
  22. lsst_desc_dsf-0.1.0/src/dsf/hankel/hankel_transform.py +281 -0
  23. lsst_desc_dsf-0.1.0/src/dsf/hankel/hankel_transform_base.py +188 -0
  24. lsst_desc_dsf-0.1.0/src/dsf/hankel/hankel_transform_fftlog.py +257 -0
  25. lsst_desc_dsf-0.1.0/src/dsf/hankel/hankel_transform_matrix_direct.py +187 -0
  26. lsst_desc_dsf-0.1.0/src/dsf/hankel/hankel_transform_matrix_zeros.py +652 -0
  27. lsst_desc_dsf-0.1.0/src/dsf/hankel/hankel_utils.py +370 -0
  28. lsst_desc_dsf-0.1.0/src/dsf/modelling/__init__.py +28 -0
  29. lsst_desc_dsf-0.1.0/src/dsf/modelling/baryons.py +74 -0
  30. lsst_desc_dsf-0.1.0/src/dsf/modelling/combinations.py +180 -0
  31. lsst_desc_dsf-0.1.0/src/dsf/modelling/cosmology.py +88 -0
  32. lsst_desc_dsf-0.1.0/src/dsf/modelling/hod.py +200 -0
  33. lsst_desc_dsf-0.1.0/src/dsf/modelling/mag_bias.py +332 -0
  34. lsst_desc_dsf-0.1.0/src/dsf/modelling/nla.py +88 -0
  35. lsst_desc_dsf-0.1.0/src/dsf/tomography/__init__.py +0 -0
  36. lsst_desc_dsf-0.1.0/src/dsf/tomography/tomo_builder.py +280 -0
  37. lsst_desc_dsf-0.1.0/src/dsf/utils/__init__.py +0 -0
  38. lsst_desc_dsf-0.1.0/src/dsf/utils/colors.py +65 -0
  39. lsst_desc_dsf-0.1.0/src/dsf/utils/converters.py +266 -0
  40. lsst_desc_dsf-0.1.0/src/dsf/utils/integrators.py +117 -0
  41. lsst_desc_dsf-0.1.0/src/dsf/utils/interpolators.py +83 -0
  42. lsst_desc_dsf-0.1.0/src/dsf/utils/thread_limits.py +35 -0
  43. lsst_desc_dsf-0.1.0/src/dsf/utils/types.py +36 -0
  44. lsst_desc_dsf-0.1.0/src/dsf/utils/validators.py +871 -0
  45. lsst_desc_dsf-0.1.0/src/lsst_desc_dsf.egg-info/PKG-INFO +77 -0
  46. lsst_desc_dsf-0.1.0/src/lsst_desc_dsf.egg-info/SOURCES.txt +80 -0
  47. lsst_desc_dsf-0.1.0/src/lsst_desc_dsf.egg-info/dependency_links.txt +1 -0
  48. lsst_desc_dsf-0.1.0/src/lsst_desc_dsf.egg-info/requires.txt +12 -0
  49. lsst_desc_dsf-0.1.0/src/lsst_desc_dsf.egg-info/top_level.txt +1 -0
  50. lsst_desc_dsf-0.1.0/tests/test_cov_cov_builder.py +658 -0
  51. lsst_desc_dsf-0.1.0/tests/test_cov_ingr_cov_blocks.py +741 -0
  52. lsst_desc_dsf-0.1.0/tests/test_cov_ingr_galaxy_bias.py +190 -0
  53. lsst_desc_dsf-0.1.0/tests/test_cov_ingr_geometry.py +449 -0
  54. lsst_desc_dsf-0.1.0/tests/test_cov_ingr_noise.py +150 -0
  55. lsst_desc_dsf-0.1.0/tests/test_cov_ingr_power_spectrum.py +205 -0
  56. lsst_desc_dsf-0.1.0/tests/test_cov_ingr_sigma_crit.py +326 -0
  57. lsst_desc_dsf-0.1.0/tests/test_datavec_ccl_integration.py +359 -0
  58. lsst_desc_dsf-0.1.0/tests/test_datavec_delta_sigma_builder.py +554 -0
  59. lsst_desc_dsf-0.1.0/tests/test_datavec_profiles.py +268 -0
  60. lsst_desc_dsf-0.1.0/tests/test_dsf_dsf_builder.py +574 -0
  61. lsst_desc_dsf-0.1.0/tests/test_hankel_benchmarking.py +284 -0
  62. lsst_desc_dsf-0.1.0/tests/test_hankel_fftlog.py +303 -0
  63. lsst_desc_dsf-0.1.0/tests/test_hankel_hankel_utils.py +344 -0
  64. lsst_desc_dsf-0.1.0/tests/test_hankel_matrix_direct.py +69 -0
  65. lsst_desc_dsf-0.1.0/tests/test_hankel_matrix_zeros.py +561 -0
  66. lsst_desc_dsf-0.1.0/tests/test_hankel_public.py +128 -0
  67. lsst_desc_dsf-0.1.0/tests/test_hankel_radial_binning_comparison.py +63 -0
  68. lsst_desc_dsf-0.1.0/tests/test_modelling_baryons.py +451 -0
  69. lsst_desc_dsf-0.1.0/tests/test_modelling_combinations.py +787 -0
  70. lsst_desc_dsf-0.1.0/tests/test_modelling_cosmology.py +645 -0
  71. lsst_desc_dsf-0.1.0/tests/test_modelling_hod.py +619 -0
  72. lsst_desc_dsf-0.1.0/tests/test_modelling_mag_bias.py +526 -0
  73. lsst_desc_dsf-0.1.0/tests/test_modelling_nla.py +325 -0
  74. lsst_desc_dsf-0.1.0/tests/test_src_sitecustomize.py +95 -0
  75. lsst_desc_dsf-0.1.0/tests/test_tomography_tomo_builder.py +289 -0
  76. lsst_desc_dsf-0.1.0/tests/test_utils_colors.py +164 -0
  77. lsst_desc_dsf-0.1.0/tests/test_utils_converters.py +187 -0
  78. lsst_desc_dsf-0.1.0/tests/test_utils_integrators.py +116 -0
  79. lsst_desc_dsf-0.1.0/tests/test_utils_interpolators.py +62 -0
  80. lsst_desc_dsf-0.1.0/tests/test_utils_thread_limits.py +63 -0
  81. lsst_desc_dsf-0.1.0/tests/test_utils_types.py +80 -0
  82. lsst_desc_dsf-0.1.0/tests/test_utils_validators.py +513 -0
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 LSST Dark Energy Science Collaboration
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,77 @@
1
+ Metadata-Version: 2.4
2
+ Name: lsst-desc-dsf
3
+ Version: 0.1.0
4
+ Summary: Delta Sigma forecasting tools for LSST DESC galaxy-galaxy lensing analyses.
5
+ Author-email: Nikolina Sarcevic <nikolina.sarcevic@gmail.com>, Ben Levine <benjamin.c.levine@stonybrook.edu>
6
+ Maintainer-email: Nikolina Sarcevic <nikolina.sarcevic@gmail.com>, Ben Levine <benjamin.c.levine@stonybrook.edu>
7
+ License: MIT
8
+ Keywords: cosmology,weak lensing,galaxy-galaxy lensing,delta sigma,forecasting,LSST DESC
9
+ Classifier: Development Status :: 2 - Pre-Alpha
10
+ Classifier: Intended Audience :: Science/Research
11
+ Classifier: License :: OSI Approved :: MIT License
12
+ Classifier: Natural Language :: English
13
+ Classifier: Programming Language :: Python :: 3
14
+ Classifier: Programming Language :: Python :: 3.10
15
+ Classifier: Programming Language :: Python :: 3.11
16
+ Classifier: Programming Language :: Python :: 3.12
17
+ Classifier: Topic :: Scientific/Engineering :: Astronomy
18
+ Classifier: Topic :: Scientific/Engineering :: Physics
19
+ Requires-Python: >=3.10
20
+ Description-Content-Type: text/markdown
21
+ License-File: LICENSE
22
+ Requires-Dist: numpy
23
+ Requires-Dist: scipy
24
+ Requires-Dist: matplotlib
25
+ Requires-Dist: pyyaml
26
+ Requires-Dist: pyccl
27
+ Requires-Dist: astropy
28
+ Requires-Dist: pybinny>=0.6.0
29
+ Requires-Dist: derivkit
30
+ Requires-Dist: cmasher
31
+ Requires-Dist: getdist
32
+ Requires-Dist: tqdm
33
+ Requires-Dist: camb
34
+ Dynamic: license-file
35
+
36
+ # DSF
37
+
38
+ [![CI](https://img.shields.io/github/actions/workflow/status/LSSTDESC/dsf/ci.yml?branch=main&label=CI&color=3b9ab2&style=flat-square)](https://github.com/LSSTDESC/dsf/actions/workflows/ci.yml)
39
+ [![Docs](https://img.shields.io/github/actions/workflow/status/LSSTDESC/dsf/docs.yml?branch=main&label=docs&color=3b9ab2&style=flat-square)](https://lsstdesc.org/dsf/)
40
+ [![License](https://img.shields.io/github/license/LSSTDESC/dsf?color=3b9ab2&style=flat-square)](LICENSE)
41
+
42
+ Delta Sigma forecasting tools for LSST DESC galaxy-galaxy lensing analyses.
43
+
44
+ DSF is a modelling package for projected galaxy-galaxy lensing observables,
45
+ with a focus on $\Delta\Sigma$ data vectors, covariance ingredients, tomography choices,
46
+ and LSST DESC forecasting workflows.
47
+
48
+ The package is currently in early development.
49
+
50
+ ## Contacts
51
+
52
+ For questions about DSF or contributing to the project, please contact:
53
+
54
+ - [Niko Sarcevic](https://github.com/nikosarcevic) — [email](mailto:nikolina.sarcevic@gmail.com)
55
+ - [Ben Levine](https://github.com/bclevine) — [email](mailto:benjamin.c.levine@stonybrook.edu)
56
+
57
+ DSF is developed collaboratively within the LSST Dark Energy Science
58
+ Collaboration. Contributions are welcome.
59
+
60
+ See the [contributing and development guide](https://lsstdesc.org/dsf/contributing.html)
61
+ for information about contributing, the development team, and the development
62
+ workflow.
63
+
64
+ ## Installation
65
+
66
+ Clone the repository:
67
+
68
+ ```bash
69
+ git clone https://github.com/LSSTDESC/dsf.git
70
+ cd dsf
71
+ ````
72
+
73
+ ## Documentation
74
+
75
+ The documentation is available at:
76
+
77
+ https://lsstdesc.org/dsf/
@@ -0,0 +1,42 @@
1
+ # DSF
2
+
3
+ [![CI](https://img.shields.io/github/actions/workflow/status/LSSTDESC/dsf/ci.yml?branch=main&label=CI&color=3b9ab2&style=flat-square)](https://github.com/LSSTDESC/dsf/actions/workflows/ci.yml)
4
+ [![Docs](https://img.shields.io/github/actions/workflow/status/LSSTDESC/dsf/docs.yml?branch=main&label=docs&color=3b9ab2&style=flat-square)](https://lsstdesc.org/dsf/)
5
+ [![License](https://img.shields.io/github/license/LSSTDESC/dsf?color=3b9ab2&style=flat-square)](LICENSE)
6
+
7
+ Delta Sigma forecasting tools for LSST DESC galaxy-galaxy lensing analyses.
8
+
9
+ DSF is a modelling package for projected galaxy-galaxy lensing observables,
10
+ with a focus on $\Delta\Sigma$ data vectors, covariance ingredients, tomography choices,
11
+ and LSST DESC forecasting workflows.
12
+
13
+ The package is currently in early development.
14
+
15
+ ## Contacts
16
+
17
+ For questions about DSF or contributing to the project, please contact:
18
+
19
+ - [Niko Sarcevic](https://github.com/nikosarcevic) — [email](mailto:nikolina.sarcevic@gmail.com)
20
+ - [Ben Levine](https://github.com/bclevine) — [email](mailto:benjamin.c.levine@stonybrook.edu)
21
+
22
+ DSF is developed collaboratively within the LSST Dark Energy Science
23
+ Collaboration. Contributions are welcome.
24
+
25
+ See the [contributing and development guide](https://lsstdesc.org/dsf/contributing.html)
26
+ for information about contributing, the development team, and the development
27
+ workflow.
28
+
29
+ ## Installation
30
+
31
+ Clone the repository:
32
+
33
+ ```bash
34
+ git clone https://github.com/LSSTDESC/dsf.git
35
+ cd dsf
36
+ ````
37
+
38
+ ## Documentation
39
+
40
+ The documentation is available at:
41
+
42
+ https://lsstdesc.org/dsf/
@@ -0,0 +1,313 @@
1
+ [project]
2
+ name = "lsst-desc-dsf"
3
+ version = "0.1.0"
4
+ description = "Delta Sigma forecasting tools for LSST DESC galaxy-galaxy lensing analyses."
5
+ readme = "README.md"
6
+ requires-python = ">=3.10"
7
+ license = { text = "MIT" }
8
+
9
+ authors = [
10
+ { name = "Nikolina Sarcevic", email = "nikolina.sarcevic@gmail.com" },
11
+ { name = "Ben Levine", email = "benjamin.c.levine@stonybrook.edu" },
12
+ ]
13
+
14
+ maintainers = [
15
+ { name = "Nikolina Sarcevic", email = "nikolina.sarcevic@gmail.com" },
16
+ { name = "Ben Levine", email = "benjamin.c.levine@stonybrook.edu" },
17
+ ]
18
+
19
+ keywords = [
20
+ "cosmology",
21
+ "weak lensing",
22
+ "galaxy-galaxy lensing",
23
+ "delta sigma",
24
+ "forecasting",
25
+ "LSST DESC",
26
+ ]
27
+
28
+ classifiers = [
29
+ "Development Status :: 2 - Pre-Alpha",
30
+ "Intended Audience :: Science/Research",
31
+ "License :: OSI Approved :: MIT License",
32
+ "Natural Language :: English",
33
+ "Programming Language :: Python :: 3",
34
+ "Programming Language :: Python :: 3.10",
35
+ "Programming Language :: Python :: 3.11",
36
+ "Programming Language :: Python :: 3.12",
37
+ "Topic :: Scientific/Engineering :: Astronomy",
38
+ "Topic :: Scientific/Engineering :: Physics",
39
+ ]
40
+
41
+ dependencies = [
42
+ "numpy",
43
+ "scipy",
44
+ "matplotlib",
45
+ "pyyaml",
46
+ "pyccl",
47
+ "astropy",
48
+ "pybinny>=0.6.0",
49
+ "derivkit",
50
+ "cmasher",
51
+ "getdist",
52
+ "tqdm",
53
+ "camb",
54
+ ]
55
+
56
+ [dependency-groups]
57
+ dev = [
58
+ "tox>=4.22",
59
+ "bump-my-version>=0.26",
60
+ ]
61
+
62
+ test = [
63
+ "pytest>=8",
64
+ "pytest-cov>=5",
65
+ { include-group = "dev" },
66
+ ]
67
+
68
+ docs = [
69
+ "sphinx<9",
70
+ "sphinx-copybutton",
71
+ "sphinx-design",
72
+ "sphinx-multiversion",
73
+ "sphinxcontrib-bibtex",
74
+ "furo",
75
+ { include-group = "dev" },
76
+ ]
77
+
78
+ lint = [
79
+ "ruff>=0.6",
80
+ { include-group = "dev" },
81
+ ]
82
+
83
+ [build-system]
84
+ requires = ["setuptools>=61"]
85
+ build-backend = "setuptools.build_meta"
86
+
87
+ [tool.setuptools]
88
+ package-dir = { "" = "src" }
89
+
90
+ [tool.setuptools.packages.find]
91
+ where = ["src"]
92
+ include = [
93
+ "dsf*",
94
+ ]
95
+ exclude = [
96
+ "runs*",
97
+ "notebooks*",
98
+ "docs*",
99
+ "tests*",
100
+ "benchmarks*",
101
+ ]
102
+
103
+ [tool.coverage.run]
104
+ branch = true
105
+ parallel = true
106
+ source = ["src"]
107
+
108
+ [tool.coverage.report]
109
+ exclude_lines = [
110
+ "pragma: no cover",
111
+ "if TYPE_CHECKING:",
112
+ "raise NotImplementedError",
113
+ ]
114
+ show_missing = true
115
+ skip_empty = true
116
+
117
+ [tool.pytest.ini_options]
118
+ addopts = "-m 'not slow'"
119
+ markers = [
120
+ "slow: long-running tests (opt-in)",
121
+ "regression: heavier regression / sweep tests (opt-in)",
122
+ ]
123
+ testpaths = ["tests"]
124
+
125
+ [tool.ruff]
126
+ exclude = [
127
+ "benchmarks",
128
+ "docs",
129
+ "runs",
130
+ "notebooks",
131
+ ]
132
+ line-length = 100
133
+ target-version = "py310"
134
+
135
+ [tool.ruff.format]
136
+ indent-style = "space"
137
+ quote-style = "double"
138
+
139
+ [tool.ruff.lint]
140
+ select = ["B", "E", "F", "I", "UP"]
141
+
142
+ [tool.bumpversion]
143
+ current_version = "0.1.0"
144
+ commit = true
145
+ tag = true
146
+
147
+ [[tool.bumpversion.files]]
148
+ filename = "pyproject.toml"
149
+ search = 'current_version = "{current_version}"'
150
+ replace = 'current_version = "{new_version}"'
151
+
152
+ [[tool.bumpversion.files]]
153
+ filename = "pyproject.toml"
154
+ search = 'version = "{current_version}"'
155
+ replace = 'version = "{new_version}"'
156
+
157
+ [tool.tox]
158
+ requires = ["tox>=4.22"]
159
+ labels = { test = ["py310", "py311", "py312"] }
160
+ envlist = [
161
+ "do",
162
+ "docs",
163
+ "docs-releases",
164
+ "lint",
165
+ "py310",
166
+ "py311",
167
+ "py312",
168
+ "cov",
169
+ ]
170
+
171
+ [tool.tox.env_run_base]
172
+ description = "Run tests under {base_python}"
173
+ change_dir = "{tox_root}/tests"
174
+ dependency_groups = ["test"]
175
+ allowlist_externals = ["pytest"]
176
+ commands = [
177
+ ["pytest", "-m", "not slow", { replace = "posargs", extend = true }],
178
+ ]
179
+
180
+ [tool.tox.env_run_base.setenv]
181
+ PIP_CACHE_DIR = "{tox_root}/.cache/pip"
182
+
183
+ [tool.tox.env.cov]
184
+ description = "Run tests with coverage"
185
+ change_dir = "{tox_root}"
186
+ dependency_groups = ["test"]
187
+ commands = [
188
+ [
189
+ "pytest",
190
+ "-q",
191
+ "--cov=dsf",
192
+ "--cov-branch",
193
+ "--cov-report=term-missing:skip-covered",
194
+ { replace = "posargs", extend = true },
195
+ ],
196
+ ]
197
+
198
+ [tool.tox.env.docs]
199
+ description = "Build docs with Sphinx"
200
+ change_dir = "{tox_root}"
201
+ dependency_groups = ["docs"]
202
+ commands = [
203
+ [
204
+ "sphinx-apidoc",
205
+ "-d",
206
+ "2",
207
+ "-o",
208
+ "{tox_root}/docs/api",
209
+ "--tocfile",
210
+ "index",
211
+ "{tox_root}/src/dsf",
212
+ "--separate",
213
+ "-f",
214
+ ],
215
+ [
216
+ "sphinx-build",
217
+ "-c",
218
+ "{tox_root}/docs",
219
+ "-b",
220
+ "{posargs:html}",
221
+ "{tox_root}/docs",
222
+ "{tox_root}/docs/_build/{posargs:html}",
223
+ "--fail-on-warning",
224
+ ],
225
+ ]
226
+
227
+ [tool.tox.env.do]
228
+ description = "(Mac only) Build and test docs and open docs in browser"
229
+ change_dir = "{tox_root}"
230
+ dependency_groups = ["docs"]
231
+ allowlist_externals = ["open"]
232
+ commands = [
233
+ [
234
+ "sphinx-apidoc",
235
+ "-d",
236
+ "2",
237
+ "-o",
238
+ "{tox_root}/docs/api",
239
+ "--tocfile",
240
+ "index",
241
+ "{tox_root}/src/dsf",
242
+ "--separate",
243
+ "-f",
244
+ ],
245
+ [
246
+ "sphinx-build",
247
+ "-c",
248
+ "{tox_root}/docs",
249
+ "-b",
250
+ "doctest",
251
+ "{tox_root}/docs",
252
+ "{tox_root}/docs/_build/doctest",
253
+ "--fail-on-warning",
254
+ { replace = "posargs", extend = true },
255
+ ],
256
+ [
257
+ "sphinx-build",
258
+ "-c",
259
+ "{tox_root}/docs",
260
+ "-b",
261
+ "html",
262
+ "{tox_root}/docs",
263
+ "{tox_root}/docs/_build/html",
264
+ "--fail-on-warning",
265
+ { replace = "posargs", extend = true },
266
+ ],
267
+ [
268
+ "open",
269
+ "{tox_root}/docs/_build/html/index.html",
270
+ ],
271
+ ]
272
+
273
+ [tool.tox.env.docs-releases]
274
+ description = "Build release documentation for deployment"
275
+ change_dir = "{tox_root}"
276
+ dependency_groups = ["docs"]
277
+ commands = [
278
+ [
279
+ "sphinx-apidoc",
280
+ "-d",
281
+ "2",
282
+ "-o",
283
+ "{tox_root}/docs/api",
284
+ "--tocfile",
285
+ "index",
286
+ "{tox_root}/src/dsf",
287
+ "--separate",
288
+ "-f",
289
+ ],
290
+ [
291
+ "sphinx-build",
292
+ "-c",
293
+ "{tox_root}/docs",
294
+ "-b",
295
+ "html",
296
+ "{tox_root}/docs",
297
+ "{tox_root}/docs/_build/html",
298
+ "--fail-on-warning",
299
+ ],
300
+ ]
301
+
302
+ [tool.tox.env.lint]
303
+ description = "Lint DSF using Ruff"
304
+ change_dir = "{tox_root}"
305
+ dependency_groups = ["lint"]
306
+ commands = [
307
+ [
308
+ "ruff",
309
+ "check",
310
+ "{tox_root}",
311
+ { replace = "posargs", extend = true },
312
+ ],
313
+ ]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,17 @@
1
+ """Delta Sigma forecasting tools."""
2
+
3
+ from dsf.delta_sigma_forecast_builder import DeltaSigmaForecastBuilder
4
+ from dsf.utils.colors import (
5
+ DSF_CMAP,
6
+ DSF_CMAP_DISCRETE,
7
+ DSF_COLORS,
8
+ DSF_NORM,
9
+ )
10
+
11
+ __all__ = [
12
+ "DeltaSigmaForecastBuilder",
13
+ "DSF_COLORS",
14
+ "DSF_CMAP",
15
+ "DSF_CMAP_DISCRETE",
16
+ "DSF_NORM",
17
+ ]
File without changes