emantis 1.2.2__tar.gz → 1.4.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 (95) hide show
  1. {emantis-1.2.2 → emantis-1.4.0}/PKG-INFO +14 -42
  2. {emantis-1.2.2 → emantis-1.4.0}/README.rst +6 -35
  3. {emantis-1.2.2 → emantis-1.4.0}/pyproject.toml +37 -34
  4. emantis-1.4.0/src/emantis/__init__.py +37 -0
  5. emantis-1.4.0/src/emantis/_base.py +442 -0
  6. emantis-1.4.0/src/emantis/_cli.py +183 -0
  7. emantis-1.4.0/src/emantis/_gp_emulation.py +2566 -0
  8. emantis-1.4.0/src/emantis/_io.py +745 -0
  9. emantis-1.4.0/src/emantis/_read_data.py +379 -0
  10. emantis-1.4.0/src/emantis/_shipped.py +120 -0
  11. emantis-1.4.0/src/emantis/_transformers.py +234 -0
  12. emantis-1.4.0/src/emantis/_types.py +203 -0
  13. {emantis-1.2.2 → emantis-1.4.0}/src/emantis/_utils.py +67 -21
  14. emantis-1.4.0/src/emantis/_utils_inputs.py +374 -0
  15. emantis-1.4.0/src/emantis/custom_emulators.py +86 -0
  16. emantis-1.4.0/src/emantis/data/fitted_emulators/halo_mass_function_fR_1000c_res_corr_False.h5 +0 -0
  17. emantis-1.4.0/src/emantis/data/fitted_emulators/halo_mass_function_fR_1000c_res_corr_True.h5 +0 -0
  18. emantis-1.4.0/src/emantis/data/fitted_emulators/halo_mass_function_fR_200c_res_corr_False.h5 +0 -0
  19. emantis-1.4.0/src/emantis/data/fitted_emulators/halo_mass_function_fR_200c_res_corr_True.h5 +0 -0
  20. emantis-1.4.0/src/emantis/data/fitted_emulators/halo_mass_function_fR_500c_res_corr_False.h5 +0 -0
  21. emantis-1.4.0/src/emantis/data/fitted_emulators/halo_mass_function_fR_500c_res_corr_True.h5 +0 -0
  22. emantis-1.4.0/src/emantis/data/fitted_emulators/halo_mass_function_fR_b0.2_res_corr_False.h5 +0 -0
  23. emantis-1.4.0/src/emantis/data/fitted_emulators/halo_mass_function_fR_b0.2_res_corr_True.h5 +0 -0
  24. emantis-1.4.0/src/emantis/data/fitted_emulators/halo_mass_function_wCDM_1000c_res_corr_False.h5 +0 -0
  25. emantis-1.4.0/src/emantis/data/fitted_emulators/halo_mass_function_wCDM_1000c_res_corr_True.h5 +0 -0
  26. emantis-1.4.0/src/emantis/data/fitted_emulators/halo_mass_function_wCDM_200c_res_corr_False.h5 +0 -0
  27. emantis-1.4.0/src/emantis/data/fitted_emulators/halo_mass_function_wCDM_200c_res_corr_True.h5 +0 -0
  28. emantis-1.4.0/src/emantis/data/fitted_emulators/halo_mass_function_wCDM_500c_res_corr_False.h5 +0 -0
  29. emantis-1.4.0/src/emantis/data/fitted_emulators/halo_mass_function_wCDM_500c_res_corr_True.h5 +0 -0
  30. emantis-1.4.0/src/emantis/data/fitted_emulators/halo_mass_function_wCDM_b0.2_res_corr_False.h5 +0 -0
  31. emantis-1.4.0/src/emantis/data/fitted_emulators/halo_mass_function_wCDM_b0.2_res_corr_True.h5 +0 -0
  32. emantis-1.4.0/src/emantis/data/fitted_emulators/matter_power_spectrum_nl_boost_wCDM.h5 +0 -0
  33. emantis-1.4.0/src/emantis/data/fitted_emulators/matter_power_spectrum_nl_mg_boost_fR_v1.h5 +0 -0
  34. emantis-1.4.0/src/emantis/data/fitted_emulators/matter_power_spectrum_nl_mg_boost_fR_v2.h5 +0 -0
  35. emantis-1.4.0/src/emantis/data/fitted_emulators/sigma8_LCDM.h5 +0 -0
  36. emantis-1.4.0/src/emantis/data/fitted_emulators/sigma8_wCDM.h5 +0 -0
  37. emantis-1.4.0/src/emantis/data/halo_mass_function/halo_mass_function_fR_emu_v2_emulation_config.toml +19 -0
  38. emantis-1.4.0/src/emantis/data/halo_mass_function/halo_mass_function_wCDM_emu_v2_emulation_config.toml +19 -0
  39. emantis-1.4.0/src/emantis/data/matter_power_spectrum_nl_boost/matter_power_spectrum_nl_boost_wCDM_emu_v2_emulation_config.toml +21 -0
  40. emantis-1.4.0/src/emantis/data/matter_power_spectrum_nl_mg_boost/matter_power_spectrum_nl_mg_boost_fR_emu_v1_emulation_config.toml +20 -0
  41. emantis-1.4.0/src/emantis/data/matter_power_spectrum_nl_mg_boost/matter_power_spectrum_nl_mg_boost_fR_emu_v2_emulation_config.toml +20 -0
  42. {emantis-1.2.2 → emantis-1.4.0}/src/emantis/data/sigma8/cosmo_params_LCDM.txt +1 -1
  43. {emantis-1.2.2 → emantis-1.4.0}/src/emantis/data/sigma8/cosmo_params_LCDM_config.toml +1 -1
  44. {emantis-1.2.2 → emantis-1.4.0}/src/emantis/data/sigma8/cosmo_params_wCDM.txt +1 -1
  45. {emantis-1.2.2 → emantis-1.4.0}/src/emantis/data/sigma8/cosmo_params_wCDM_config.toml +1 -1
  46. emantis-1.4.0/src/emantis/data/sigma8/sigma8_LCDM_emulation_config.toml +15 -0
  47. emantis-1.4.0/src/emantis/data/sigma8/sigma8_wCDM_emulation_config.toml +15 -0
  48. emantis-1.4.0/src/emantis/exceptions.py +85 -0
  49. {emantis-1.2.2 → emantis-1.4.0}/src/emantis/halo_mass_function.py +67 -108
  50. emantis-1.4.0/src/emantis/matter_power_spectrum.py +755 -0
  51. {emantis-1.2.2 → emantis-1.4.0}/src/emantis/powerspectrum_matter.py +6 -26
  52. emantis-1.4.0/tests/conftest.py +162 -0
  53. emantis-1.4.0/tests/test_cli.py +131 -0
  54. emantis-1.4.0/tests/test_cross_validation.py +109 -0
  55. emantis-1.4.0/tests/test_error_propagation.py +257 -0
  56. emantis-1.4.0/tests/test_gp_emulation.py +320 -0
  57. emantis-1.4.0/tests/test_inputs.py +217 -0
  58. emantis-1.4.0/tests/test_pca_transformer.py +87 -0
  59. emantis-1.4.0/tests/test_save_load.py +206 -0
  60. emantis-1.4.0/tests/test_shipped_emulators.py +342 -0
  61. emantis-1.2.2/src/emantis/__init__.py +0 -34
  62. emantis-1.2.2/src/emantis/_cli.py +0 -80
  63. emantis-1.2.2/src/emantis/_gp_emulation.py +0 -2305
  64. emantis-1.2.2/src/emantis/_read_data.py +0 -191
  65. emantis-1.2.2/src/emantis/_transformers.py +0 -266
  66. emantis-1.2.2/src/emantis/_types.py +0 -107
  67. emantis-1.2.2/src/emantis/_utils_inputs.py +0 -160
  68. emantis-1.2.2/src/emantis/data/halo_mass_function/halo_mass_function_fR_emu_v2_emulation_config.toml +0 -24
  69. emantis-1.2.2/src/emantis/data/halo_mass_function/halo_mass_function_wCDM_emu_v2_emulation_config.toml +0 -24
  70. emantis-1.2.2/src/emantis/data/matter_power_spectrum_nl_boost/matter_power_spectrum_nl_boost_wCDM_emu_v2_emulation_config.toml +0 -30
  71. emantis-1.2.2/src/emantis/data/matter_power_spectrum_nl_mg_boost/matter_power_spectrum_nl_mg_boost_fR_emu_v1_emulation_config.toml +0 -28
  72. emantis-1.2.2/src/emantis/data/matter_power_spectrum_nl_mg_boost/matter_power_spectrum_nl_mg_boost_fR_emu_v2_emulation_config.toml +0 -28
  73. emantis-1.2.2/src/emantis/data/sigma8/sigma8_LCDM_emulation_config.toml +0 -13
  74. emantis-1.2.2/src/emantis/data/sigma8/sigma8_wCDM_emulation_config.toml +0 -13
  75. emantis-1.2.2/src/emantis/exceptions.py +0 -36
  76. emantis-1.2.2/src/emantis/matter_power_spectrum.py +0 -572
  77. emantis-1.2.2/tests/test_halo_mass_function.py +0 -235
  78. emantis-1.2.2/tests/test_matter_power_spectrum.py +0 -416
  79. {emantis-1.2.2 → emantis-1.4.0}/COPYING +0 -0
  80. {emantis-1.2.2 → emantis-1.4.0}/src/emantis/data/cosmo_params_fR_emu_v1.txt +0 -0
  81. {emantis-1.2.2 → emantis-1.4.0}/src/emantis/data/cosmo_params_fR_emu_v1_config.toml +0 -0
  82. {emantis-1.2.2 → emantis-1.4.0}/src/emantis/data/cosmo_params_fR_emu_v2.txt +0 -0
  83. {emantis-1.2.2 → emantis-1.4.0}/src/emantis/data/cosmo_params_fR_emu_v2_config.toml +0 -0
  84. {emantis-1.2.2 → emantis-1.4.0}/src/emantis/data/cosmo_params_wCDM_emu_v2.txt +0 -0
  85. {emantis-1.2.2 → emantis-1.4.0}/src/emantis/data/cosmo_params_wCDM_emu_v2_config.toml +0 -0
  86. {emantis-1.2.2 → emantis-1.4.0}/src/emantis/data/fofr_matter_power_boost/cosmo_params.txt +0 -0
  87. {emantis-1.2.2 → emantis-1.4.0}/src/emantis/data/fofr_matter_power_boost/kbins.h5 +0 -0
  88. {emantis-1.2.2 → emantis-1.4.0}/src/emantis/data/fofr_matter_power_boost/power_boosts_train.h5 +0 -0
  89. {emantis-1.2.2 → emantis-1.4.0}/src/emantis/data/halo_mass_function/halo_mass_function_fR_emu_v2_data.h5 +0 -0
  90. {emantis-1.2.2 → emantis-1.4.0}/src/emantis/data/halo_mass_function/halo_mass_function_wCDM_emu_v2_data.h5 +0 -0
  91. {emantis-1.2.2 → emantis-1.4.0}/src/emantis/data/matter_power_spectrum_nl_boost/matter_power_spectrum_nl_boost_wCDM_emu_v2_data.h5 +0 -0
  92. {emantis-1.2.2 → emantis-1.4.0}/src/emantis/data/matter_power_spectrum_nl_mg_boost/matter_power_spectrum_nl_mg_boost_fR_emu_v1_data.h5 +0 -0
  93. {emantis-1.2.2 → emantis-1.4.0}/src/emantis/data/matter_power_spectrum_nl_mg_boost/matter_power_spectrum_nl_mg_boost_fR_emu_v2_data.h5 +0 -0
  94. {emantis-1.2.2 → emantis-1.4.0}/src/emantis/data/sigma8/sigma8_LCDM_data.txt +0 -0
  95. {emantis-1.2.2 → emantis-1.4.0}/src/emantis/data/sigma8/sigma8_wCDM_data.txt +0 -0
@@ -1,27 +1,28 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: emantis
3
- Version: 1.2.2
3
+ Version: 1.4.0
4
4
  Summary: A cosmological emulator for nonlinear large-scale structure formation studies in alternative dark energy and gravity theories.
5
5
  Keywords: cosmology,emulator,large-scale structure,dark energy,modified gravity
6
- Author-Email: =?utf-8?q?I=C3=B1igo_S=C3=A1ez_Casares?= <inigo.saez-casares@obspm.fr>
7
- License: GPL-3.0-or-later
6
+ Author-Email: Iñigo Sáez-Casares <inigo.saez-casares@obspm.fr>
7
+ License-Expression: GPL-3.0-or-later
8
8
  Classifier: Programming Language :: Python :: 3
9
- Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
10
9
  Classifier: Operating System :: OS Independent
11
10
  Classifier: Intended Audience :: Science/Research
12
11
  Classifier: Topic :: Scientific/Engineering :: Physics
13
12
  Project-URL: repository, https://gitlab.obspm.fr/e-mantis/e-mantis.git
14
13
  Project-URL: documentation, https://e-mantis.pages.obspm.fr/e-mantis/index.html
15
- Requires-Python: <3.15,>=3.10
14
+ Requires-Python: >=3.10
16
15
  Requires-Dist: h5py<4.0,>=3.8
17
- Requires-Dist: scikit-learn<2,>=1
16
+ Requires-Dist: scikit-learn<2,>=1.5
18
17
  Requires-Dist: numpy<3.0,>=1.24
19
18
  Requires-Dist: pydantic<3.0,>=2.6
20
19
  Requires-Dist: tomli<3,>=2; python_version < "3.11"
21
20
  Requires-Dist: joblib<2.0.0,>=1.3.2
21
+ Requires-Dist: scipy<2,>=1.15
22
+ Requires-Dist: threadpoolctl<4,>=3
22
23
  Description-Content-Type: text/x-rst
23
24
 
24
- |DOI|_ |PyPI|_ |release|_ |pipeline|_
25
+ |DOI|_ |PyPI|_ |release|_ |pipeline|_ |coverage|_
25
26
 
26
27
  .. |DOI| image:: https://zenodo.org/badge/DOI/10.5281/zenodo.7738362.svg
27
28
  .. _DOI: https://doi.org/10.5281/zenodo.7738362
@@ -35,6 +36,9 @@ Description-Content-Type: text/x-rst
35
36
  .. |pipeline| image:: https://gitlab.obspm.fr/e-mantis/e-mantis/badges/main/pipeline.svg
36
37
  .. _pipeline: https://gitlab.obspm.fr/e-mantis/e-mantis/-/commits/main
37
38
 
39
+ .. |coverage| image:: https://gitlab.obspm.fr/e-mantis/e-mantis/badges/main/coverage.svg
40
+ .. _coverage: https://gitlab.obspm.fr/e-mantis/e-mantis/-/commits/main
41
+
38
42
  e-MANTIS: Emulator for Multiple observable ANalysis in extended cosmological TheorIeS
39
43
  =====================================================================================
40
44
 
@@ -74,44 +78,12 @@ Or you can directly clone our public `repository <https://gitlab.obspm.fr/e-mant
74
78
 
75
79
  It requires a python version >= 3.10.
76
80
 
77
- Post-installation
78
- -----------------
79
-
80
- The emulators shipped with e-MANTIS need to be trained before they can provide predictions.
81
- This will be done automatically and on-the-fly the first time you use each emulator.
82
-
83
- Alternatively, we provide a CLI utility to train all emulators at once::
84
-
85
- emantis-train
86
-
87
- This should not take more than a couple of minutes.
88
-
89
- The trained emulators are saved to disk, using the pickle protocol, ready for future usage.
90
- Major changes in the versions of python, e-MANTIS, or some of its main dependencies, such as numpy, scipy, or scikit-learn, might break the compatibility with previously trained emulators.
91
- In such case, the emulators will be retrained automatically on-the-fly.
92
- You can also retrain them manually using the CLI utility.
93
-
94
81
  Documentation and usage
95
82
  -----------------------
96
83
 
97
84
  The up-to-date documentation for this project (with code examples and a detailed API) is available `here <https://e-mantis.pages.obspm.fr/e-mantis>`_.
98
85
 
99
- Licence
86
+ License
100
87
  -------
101
88
 
102
- Copyright (C) 2023 Iñigo Sáez-Casares
103
-
104
- inigo.saez-casares@obspm.fr
105
-
106
- This program is free software: you can redistribute it and/or modify
107
- it under the terms of the GNU General Public License as published by
108
- the Free Software Foundation, either version 3 of the License, or
109
- (at your option) any later version.
110
-
111
- This program is distributed in the hope that it will be useful,
112
- but WITHOUT ANY WARRANTY; without even the implied warranty of
113
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
114
- GNU General Public License for more details.
115
-
116
- You should have received a copy of the GNU General Public License
117
- along with this program. If not, see https://www.gnu.org/licenses/.
89
+ e-MANTIS is distributed under the GNU General Public License v3.0 or later (GPL-3.0-or-later).
@@ -1,4 +1,4 @@
1
- |DOI|_ |PyPI|_ |release|_ |pipeline|_
1
+ |DOI|_ |PyPI|_ |release|_ |pipeline|_ |coverage|_
2
2
 
3
3
  .. |DOI| image:: https://zenodo.org/badge/DOI/10.5281/zenodo.7738362.svg
4
4
  .. _DOI: https://doi.org/10.5281/zenodo.7738362
@@ -12,6 +12,9 @@
12
12
  .. |pipeline| image:: https://gitlab.obspm.fr/e-mantis/e-mantis/badges/main/pipeline.svg
13
13
  .. _pipeline: https://gitlab.obspm.fr/e-mantis/e-mantis/-/commits/main
14
14
 
15
+ .. |coverage| image:: https://gitlab.obspm.fr/e-mantis/e-mantis/badges/main/coverage.svg
16
+ .. _coverage: https://gitlab.obspm.fr/e-mantis/e-mantis/-/commits/main
17
+
15
18
  e-MANTIS: Emulator for Multiple observable ANalysis in extended cosmological TheorIeS
16
19
  =====================================================================================
17
20
 
@@ -51,44 +54,12 @@ Or you can directly clone our public `repository <https://gitlab.obspm.fr/e-mant
51
54
 
52
55
  It requires a python version >= 3.10.
53
56
 
54
- Post-installation
55
- -----------------
56
-
57
- The emulators shipped with e-MANTIS need to be trained before they can provide predictions.
58
- This will be done automatically and on-the-fly the first time you use each emulator.
59
-
60
- Alternatively, we provide a CLI utility to train all emulators at once::
61
-
62
- emantis-train
63
-
64
- This should not take more than a couple of minutes.
65
-
66
- The trained emulators are saved to disk, using the pickle protocol, ready for future usage.
67
- Major changes in the versions of python, e-MANTIS, or some of its main dependencies, such as numpy, scipy, or scikit-learn, might break the compatibility with previously trained emulators.
68
- In such case, the emulators will be retrained automatically on-the-fly.
69
- You can also retrain them manually using the CLI utility.
70
-
71
57
  Documentation and usage
72
58
  -----------------------
73
59
 
74
60
  The up-to-date documentation for this project (with code examples and a detailed API) is available `here <https://e-mantis.pages.obspm.fr/e-mantis>`_.
75
61
 
76
- Licence
62
+ License
77
63
  -------
78
64
 
79
- Copyright (C) 2023 Iñigo Sáez-Casares
80
-
81
- inigo.saez-casares@obspm.fr
82
-
83
- This program is free software: you can redistribute it and/or modify
84
- it under the terms of the GNU General Public License as published by
85
- the Free Software Foundation, either version 3 of the License, or
86
- (at your option) any later version.
87
-
88
- This program is distributed in the hope that it will be useful,
89
- but WITHOUT ANY WARRANTY; without even the implied warranty of
90
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
91
- GNU General Public License for more details.
92
-
93
- You should have received a copy of the GNU General Public License
94
- along with this program. If not, see https://www.gnu.org/licenses/.
65
+ e-MANTIS is distributed under the GNU General Public License v3.0 or later (GPL-3.0-or-later).
@@ -1,23 +1,25 @@
1
1
  [project]
2
2
  authors = [
3
- { name = "Iñigo Sáez Casares", email = "inigo.saez-casares@obspm.fr" },
3
+ { name = "Iñigo Sáez-Casares", email = "inigo.saez-casares@obspm.fr" },
4
4
  ]
5
- requires-python = "<3.15,>=3.10"
5
+ license = "GPL-3.0-or-later"
6
+ requires-python = ">=3.10"
6
7
  dependencies = [
7
8
  "h5py <4.0,>=3.8",
8
- "scikit-learn <2,>=1",
9
+ "scikit-learn >=1.5,<2",
9
10
  "numpy <3.0,>=1.24",
10
11
  "pydantic <3.0,>=2.6",
11
12
  "tomli <3,>=2; python_version < '3.11'",
12
13
  "joblib <2.0.0,>=1.3.2",
14
+ "scipy>=1.15,<2",
15
+ "threadpoolctl <4,>=3",
13
16
  ]
14
17
  name = "emantis"
15
- version = "1.2.2"
18
+ version = "1.4.0"
16
19
  description = "A cosmological emulator for nonlinear large-scale structure formation studies in alternative dark energy and gravity theories."
17
20
  readme = "README.rst"
18
21
  classifiers = [
19
22
  "Programming Language :: Python :: 3",
20
- "License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
21
23
  "Operating System :: OS Independent",
22
24
  "Intended Audience :: Science/Research",
23
25
  "Topic :: Scientific/Engineering :: Physics",
@@ -30,9 +32,6 @@ keywords = [
30
32
  "modified gravity",
31
33
  ]
32
34
 
33
- [project.license]
34
- text = "GPL-3.0-or-later"
35
-
36
35
  [project.urls]
37
36
  repository = "https://gitlab.obspm.fr/e-mantis/e-mantis.git"
38
37
  documentation = "https://e-mantis.pages.obspm.fr/e-mantis/index.html"
@@ -40,27 +39,9 @@ documentation = "https://e-mantis.pages.obspm.fr/e-mantis/index.html"
40
39
  [project.scripts]
41
40
  emantis-train = "emantis._cli:train_all_emulators"
42
41
 
43
- [tool.pdm.build]
44
- includes = []
45
- excludes = [
46
- "src/emantis/data/emulator_storage*",
47
- ]
48
-
49
- [tool.uv]
50
- default-groups = [
51
- "dev",
52
- "docs",
53
- ]
54
-
55
- [tool.pytest.ini_options]
56
- addopts = "-vv --cov"
57
-
58
- [tool.pydocstyle]
59
- convention = "numpy"
60
-
61
42
  [build-system]
62
43
  requires = [
63
- "pdm-backend",
44
+ "pdm-backend>=2.4",
64
45
  ]
65
46
  build-backend = "pdm.backend"
66
47
 
@@ -68,16 +49,38 @@ build-backend = "pdm.backend"
68
49
  dev = [
69
50
  "ipython",
70
51
  "matplotlib",
71
- "jupyterlab <4.0,>=3.6",
72
- "pytest>=8.4.1",
73
- "pytest-cov>=6",
74
- "pytest-pydocstyle>=2.4.0",
52
+ "jupyterlab",
75
53
  "pre-commit>=4.5.0",
76
54
  ]
77
55
  docs = [
78
- "sphinx",
56
+ "sphinx>=7",
79
57
  "sphinx-copybutton",
80
- "sphinx-rtd-theme",
81
58
  "myst-nb",
82
- "sphinx-multiversion>=0.2.4",
59
+ "furo>=2025.9.25",
60
+ "matplotlib",
61
+ ]
62
+ test = [
63
+ "pytest>=8.4.1",
64
+ "pytest-cov>=6",
65
+ ]
66
+
67
+ [tool.uv]
68
+ default-groups = [
69
+ "dev",
70
+ "docs",
71
+ "test",
72
+ ]
73
+
74
+ [tool.pytest.ini_options]
75
+ addopts = "-vv --strict-markers"
76
+
77
+ [tool.coverage.run]
78
+ source = [
79
+ "emantis",
80
+ ]
81
+
82
+ [tool.coverage.paths]
83
+ source = [
84
+ "src/emantis",
85
+ "*/site-packages/emantis",
83
86
  ]
@@ -0,0 +1,37 @@
1
+ """Emulators of the large-scale structure formation in alternative cosmologies.
2
+
3
+ e-MANTIS provides theoretical predictions for the nonlinear large-scale structure
4
+ formation in alternative dark energy and gravity theories.
5
+ It uses Gaussian processes to interpolate between the outputs
6
+ of high resolution cosmological N-body simulations.
7
+ It supports multiple cosmological models and observables,
8
+ and is divided into modules, each one focusing on a type of observable.
9
+
10
+ Available modules
11
+ -----------------
12
+ matter_power_spectrum
13
+ Emulators for the matter power spectrum.
14
+ halo_mass_function
15
+ Emulator for the halo mass function.
16
+ custom_emulators
17
+ Build, save and load your own emulators.
18
+ powerspectrum_matter
19
+ Emulators for the matter power spectrum.
20
+ Deprecated, use matter_power_spectrum instead.
21
+ """
22
+
23
+ from importlib.metadata import version
24
+
25
+ from emantis import custom_emulators, halo_mass_function, matter_power_spectrum
26
+ from emantis.custom_emulators import load_emulator
27
+ from emantis.powerspectrum_matter import FofrBoost
28
+
29
+ __version__ = version("emantis")
30
+
31
+ __all__ = [
32
+ "FofrBoost",
33
+ "custom_emulators",
34
+ "halo_mass_function",
35
+ "load_emulator",
36
+ "matter_power_spectrum",
37
+ ]