PyCosmoMMF 0.5.0__tar.gz → 0.6.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.
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/PKG-INFO +1 -1
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/src/pycosmommf/_version.py +2 -2
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/src/pycosmommf/tagging.py +30 -16
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/.copier-answers.yml +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/.git_archival.txt +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/.gitattributes +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/.github/CONTRIBUTING.md +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/.github/dependabot.yml +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/.github/release.yml +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/.github/workflows/cd.yml +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/.github/workflows/ci.yml +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/.gitignore +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/.pre-commit-config.yaml +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/.readthedocs.yaml +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/LICENSE +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/README.md +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/CosmoMMF_Dark.png +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/CosmoMMF_light.png +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/basic.css +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/check-solid.svg +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/clipboard.min.js +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/copy-button.svg +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/copybutton.css +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/copybutton.js +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/copybutton_funcs.js +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/debug.css +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/doctools.js +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/documentation_options.js +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/file.png +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/language_data.js +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/minus.png +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/plus.png +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/pygments.css +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/scripts/furo-extensions.js +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/scripts/furo.js +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/scripts/furo.js.LICENSE.txt +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/scripts/furo.js.map +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/searchtools.js +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/skeleton.css +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/sphinx_highlight.js +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/styles/furo-extensions.css +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/styles/furo-extensions.css.map +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/styles/furo.css +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/styles/furo.css.map +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/api/pycosmommf.rst +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/api_tab.md +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/basic_usage.md +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/conf.py +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/images/CosmoMMF_Dark.png +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/images/CosmoMMF_light.png +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/images/final_NEXUSPLUS_Signatures_hydro.png +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/images/final_NEXUSPLUS_Signatures_hydro_dark.png +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/images/final_tagging_figure.png +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/images/final_tagging_figure_dark.png +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/index.md +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/noxfile.py +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/pyproject.toml +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/src/pycosmommf/__init__.py +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/src/pycosmommf/_version.pyi +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/src/pycosmommf/filter.py +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/src/pycosmommf/hessian.py +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/src/pycosmommf/py.typed +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/src/pycosmommf/signatures.py +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/src/pycosmommf/utils.py +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/tests/__init__.py +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/tests/test_integration.py +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/tests/test_package.py +0 -0
- {pycosmommf-0.5.0 → pycosmommf-0.6.0}/tests/test_unit.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pycosmommf
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.6.0
|
|
4
4
|
Summary: A package for identifying structures in the cosmic web.
|
|
5
5
|
Project-URL: Homepage, https://github.com/James11222/pycosmommf
|
|
6
6
|
Project-URL: Bug Tracker, https://github.com/James11222/pycosmommf/issues
|
|
@@ -206,47 +206,47 @@ def calc_structure_bools(
|
|
|
206
206
|
print(" Cluster Boolean Filter Report ")
|
|
207
207
|
print("---------------------------------------\n")
|
|
208
208
|
|
|
209
|
-
|
|
210
|
-
|
|
209
|
+
volume_fraction_clus = np.sum(clusbool) / N_cells
|
|
210
|
+
mass_fraction_clus = np.sum(density_cube[clusbool]) / np.sum(density_cube)
|
|
211
211
|
|
|
212
212
|
print("Signature Threshold of Clusters:", cluster_thresh)
|
|
213
|
-
print("Volume Fraction of Clusters:",
|
|
214
|
-
print("Mass Fraction of Clusters:",
|
|
213
|
+
print("Volume Fraction of Clusters:", volume_fraction_clus)
|
|
214
|
+
print("Mass Fraction of Clusters:", mass_fraction_clus)
|
|
215
215
|
print("")
|
|
216
216
|
|
|
217
217
|
print("---------------------------------------")
|
|
218
218
|
print(" Filament Boolean Filter Report ")
|
|
219
219
|
print("---------------------------------------\n")
|
|
220
220
|
|
|
221
|
-
|
|
222
|
-
|
|
221
|
+
volume_fraction_fil = np.sum(filbool) / N_cells
|
|
222
|
+
mass_fraction_fil = np.sum(density_cube[filbool]) / np.sum(density_cube)
|
|
223
223
|
|
|
224
224
|
print("Signature Threshold of Filaments:", filament_thresh)
|
|
225
|
-
print("Volume Fraction of Filaments:",
|
|
226
|
-
print("Mass Fraction of Filaments:",
|
|
225
|
+
print("Volume Fraction of Filaments:", volume_fraction_fil)
|
|
226
|
+
print("Mass Fraction of Filaments:", mass_fraction_fil)
|
|
227
227
|
print("")
|
|
228
228
|
|
|
229
229
|
print("---------------------------------------")
|
|
230
230
|
print(" Wall Boolean Filter Report ")
|
|
231
231
|
print("---------------------------------------\n")
|
|
232
232
|
|
|
233
|
-
|
|
234
|
-
|
|
233
|
+
volume_fraction_wall = np.sum(wallbool) / N_cells
|
|
234
|
+
mass_fraction_wall = np.sum(density_cube[wallbool]) / np.sum(density_cube)
|
|
235
235
|
|
|
236
236
|
print("Signature Threshold of Walls:", wall_thresh)
|
|
237
|
-
print("Volume Fraction of Walls:",
|
|
238
|
-
print("Mass Fraction of Walls:",
|
|
237
|
+
print("Volume Fraction of Walls:", volume_fraction_wall)
|
|
238
|
+
print("Mass Fraction of Walls:", mass_fraction_wall)
|
|
239
239
|
print("")
|
|
240
240
|
|
|
241
241
|
print("---------------------------------------")
|
|
242
242
|
print(" Void Boolean Filter Report ")
|
|
243
243
|
print("---------------------------------------\n")
|
|
244
244
|
|
|
245
|
-
|
|
246
|
-
|
|
245
|
+
volume_fraction_void = np.sum(voidbool) / N_cells
|
|
246
|
+
mass_fraction_void = np.sum(density_cube[voidbool]) / np.sum(density_cube)
|
|
247
247
|
|
|
248
|
-
print("Volume Fraction of Voids:",
|
|
249
|
-
print("Mass Fraction of Voids:",
|
|
248
|
+
print("Volume Fraction of Voids:", volume_fraction_void)
|
|
249
|
+
print("Mass Fraction of Voids:", mass_fraction_void)
|
|
250
250
|
print("\n---------------------------------------\n")
|
|
251
251
|
|
|
252
252
|
summary_data = {
|
|
@@ -254,8 +254,22 @@ def calc_structure_bools(
|
|
|
254
254
|
"f_vir_clus": f_vir_clus,
|
|
255
255
|
"S_fil": S_fil,
|
|
256
256
|
"dM2_fil": dM2_fil,
|
|
257
|
+
"S_fil_thresh": filament_thresh,
|
|
257
258
|
"S_wall": S_wall,
|
|
258
259
|
"dM2_wall": dM2_wall,
|
|
260
|
+
"S_wall_thresh": wall_thresh,
|
|
261
|
+
"mass_fractions": [
|
|
262
|
+
mass_fraction_clus,
|
|
263
|
+
mass_fraction_fil,
|
|
264
|
+
mass_fraction_wall,
|
|
265
|
+
mass_fraction_void,
|
|
266
|
+
],
|
|
267
|
+
"volume_fractions": [
|
|
268
|
+
volume_fraction_clus,
|
|
269
|
+
volume_fraction_fil,
|
|
270
|
+
volume_fraction_wall,
|
|
271
|
+
volume_fraction_void,
|
|
272
|
+
],
|
|
259
273
|
}
|
|
260
274
|
|
|
261
275
|
return clusbool, filbool, wallbool, voidbool, summary_data
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|