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.
Files changed (68) hide show
  1. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/PKG-INFO +1 -1
  2. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/src/pycosmommf/_version.py +2 -2
  3. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/src/pycosmommf/tagging.py +30 -16
  4. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/.copier-answers.yml +0 -0
  5. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/.git_archival.txt +0 -0
  6. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/.gitattributes +0 -0
  7. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/.github/CONTRIBUTING.md +0 -0
  8. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/.github/dependabot.yml +0 -0
  9. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/.github/release.yml +0 -0
  10. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/.github/workflows/cd.yml +0 -0
  11. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/.github/workflows/ci.yml +0 -0
  12. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/.gitignore +0 -0
  13. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/.pre-commit-config.yaml +0 -0
  14. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/.readthedocs.yaml +0 -0
  15. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/LICENSE +0 -0
  16. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/README.md +0 -0
  17. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/CosmoMMF_Dark.png +0 -0
  18. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/CosmoMMF_light.png +0 -0
  19. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/basic.css +0 -0
  20. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/check-solid.svg +0 -0
  21. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/clipboard.min.js +0 -0
  22. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/copy-button.svg +0 -0
  23. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/copybutton.css +0 -0
  24. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/copybutton.js +0 -0
  25. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/copybutton_funcs.js +0 -0
  26. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/debug.css +0 -0
  27. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/doctools.js +0 -0
  28. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/documentation_options.js +0 -0
  29. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/file.png +0 -0
  30. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/language_data.js +0 -0
  31. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/minus.png +0 -0
  32. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/plus.png +0 -0
  33. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/pygments.css +0 -0
  34. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/scripts/furo-extensions.js +0 -0
  35. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/scripts/furo.js +0 -0
  36. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/scripts/furo.js.LICENSE.txt +0 -0
  37. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/scripts/furo.js.map +0 -0
  38. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/searchtools.js +0 -0
  39. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/skeleton.css +0 -0
  40. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/sphinx_highlight.js +0 -0
  41. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/styles/furo-extensions.css +0 -0
  42. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/styles/furo-extensions.css.map +0 -0
  43. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/styles/furo.css +0 -0
  44. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/_static/styles/furo.css.map +0 -0
  45. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/api/pycosmommf.rst +0 -0
  46. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/api_tab.md +0 -0
  47. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/basic_usage.md +0 -0
  48. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/conf.py +0 -0
  49. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/images/CosmoMMF_Dark.png +0 -0
  50. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/images/CosmoMMF_light.png +0 -0
  51. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/images/final_NEXUSPLUS_Signatures_hydro.png +0 -0
  52. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/images/final_NEXUSPLUS_Signatures_hydro_dark.png +0 -0
  53. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/images/final_tagging_figure.png +0 -0
  54. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/images/final_tagging_figure_dark.png +0 -0
  55. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/docs/index.md +0 -0
  56. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/noxfile.py +0 -0
  57. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/pyproject.toml +0 -0
  58. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/src/pycosmommf/__init__.py +0 -0
  59. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/src/pycosmommf/_version.pyi +0 -0
  60. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/src/pycosmommf/filter.py +0 -0
  61. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/src/pycosmommf/hessian.py +0 -0
  62. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/src/pycosmommf/py.typed +0 -0
  63. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/src/pycosmommf/signatures.py +0 -0
  64. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/src/pycosmommf/utils.py +0 -0
  65. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/tests/__init__.py +0 -0
  66. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/tests/test_integration.py +0 -0
  67. {pycosmommf-0.5.0 → pycosmommf-0.6.0}/tests/test_package.py +0 -0
  68. {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.5.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
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '0.5.0'
16
- __version_tuple__ = version_tuple = (0, 5, 0)
15
+ __version__ = version = '0.6.0'
16
+ __version_tuple__ = version_tuple = (0, 6, 0)
@@ -206,47 +206,47 @@ def calc_structure_bools(
206
206
  print(" Cluster Boolean Filter Report ")
207
207
  print("---------------------------------------\n")
208
208
 
209
- volume_fraction = np.sum(clusbool) / N_cells
210
- mass_fraction = np.sum(density_cube[clusbool]) / np.sum(density_cube)
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:", volume_fraction)
214
- print("Mass Fraction of Clusters:", mass_fraction)
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
- volume_fraction = np.sum(filbool) / N_cells
222
- mass_fraction = np.sum(density_cube[filbool]) / np.sum(density_cube)
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:", volume_fraction)
226
- print("Mass Fraction of Filaments:", mass_fraction)
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
- volume_fraction = np.sum(wallbool) / N_cells
234
- mass_fraction = np.sum(density_cube[wallbool]) / np.sum(density_cube)
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:", volume_fraction)
238
- print("Mass Fraction of Walls:", mass_fraction)
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
- volume_fraction = np.sum(voidbool) / N_cells
246
- mass_fraction = np.sum(density_cube[voidbool]) / np.sum(density_cube)
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:", volume_fraction)
249
- print("Mass Fraction of Voids:", mass_fraction)
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