PyCosmoMMF 1.0.1__tar.gz → 1.0.2__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-1.0.1 → pycosmommf-1.0.2}/PKG-INFO +1 -1
  2. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/src/pycosmommf/_version.py +2 -2
  3. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/src/pycosmommf/tagging.py +8 -8
  4. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/.copier-answers.yml +0 -0
  5. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/.git_archival.txt +0 -0
  6. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/.gitattributes +0 -0
  7. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/.github/CONTRIBUTING.md +0 -0
  8. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/.github/dependabot.yml +0 -0
  9. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/.github/release.yml +0 -0
  10. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/.github/workflows/cd.yml +0 -0
  11. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/.github/workflows/ci.yml +0 -0
  12. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/.gitignore +0 -0
  13. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/.pre-commit-config.yaml +0 -0
  14. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/.readthedocs.yaml +0 -0
  15. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/LICENSE +0 -0
  16. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/README.md +0 -0
  17. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/CosmoMMF_Dark.png +0 -0
  18. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/CosmoMMF_light.png +0 -0
  19. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/basic.css +0 -0
  20. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/check-solid.svg +0 -0
  21. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/clipboard.min.js +0 -0
  22. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/copy-button.svg +0 -0
  23. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/copybutton.css +0 -0
  24. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/copybutton.js +0 -0
  25. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/copybutton_funcs.js +0 -0
  26. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/debug.css +0 -0
  27. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/doctools.js +0 -0
  28. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/documentation_options.js +0 -0
  29. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/file.png +0 -0
  30. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/language_data.js +0 -0
  31. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/minus.png +0 -0
  32. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/plus.png +0 -0
  33. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/pygments.css +0 -0
  34. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/scripts/furo-extensions.js +0 -0
  35. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/scripts/furo.js +0 -0
  36. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/scripts/furo.js.LICENSE.txt +0 -0
  37. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/scripts/furo.js.map +0 -0
  38. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/searchtools.js +0 -0
  39. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/skeleton.css +0 -0
  40. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/sphinx_highlight.js +0 -0
  41. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/styles/furo-extensions.css +0 -0
  42. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/styles/furo-extensions.css.map +0 -0
  43. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/styles/furo.css +0 -0
  44. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/styles/furo.css.map +0 -0
  45. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/api/pycosmommf.rst +0 -0
  46. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/api_tab.md +0 -0
  47. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/basic_usage.md +0 -0
  48. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/conf.py +0 -0
  49. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/images/CosmoMMF_Dark.png +0 -0
  50. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/images/CosmoMMF_light.png +0 -0
  51. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/images/final_NEXUSPLUS_Signatures_hydro.png +0 -0
  52. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/images/final_NEXUSPLUS_Signatures_hydro_dark.png +0 -0
  53. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/images/final_tagging_figure.png +0 -0
  54. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/images/final_tagging_figure_dark.png +0 -0
  55. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/index.md +0 -0
  56. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/noxfile.py +0 -0
  57. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/pyproject.toml +0 -0
  58. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/src/pycosmommf/__init__.py +0 -0
  59. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/src/pycosmommf/_version.pyi +0 -0
  60. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/src/pycosmommf/filter.py +0 -0
  61. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/src/pycosmommf/hessian.py +0 -0
  62. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/src/pycosmommf/py.typed +0 -0
  63. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/src/pycosmommf/signatures.py +0 -0
  64. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/src/pycosmommf/utils.py +0 -0
  65. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/tests/__init__.py +0 -0
  66. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/tests/test_integration.py +0 -0
  67. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/tests/test_package.py +0 -0
  68. {pycosmommf-1.0.1 → pycosmommf-1.0.2}/tests/test_unit.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pycosmommf
3
- Version: 1.0.1
3
+ Version: 1.0.2
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
@@ -17,5 +17,5 @@ __version__: str
17
17
  __version_tuple__: VERSION_TUPLE
18
18
  version_tuple: VERSION_TUPLE
19
19
 
20
- __version__ = version = '1.0.1'
21
- __version_tuple__ = version_tuple = (1, 0, 1)
20
+ __version__ = version = '1.0.2'
21
+ __version_tuple__ = version_tuple = (1, 0, 2)
@@ -167,14 +167,14 @@ def calc_structure_bools(
167
167
  msg = "make sure that you are not inputing the overdensity field δ = ρ/<ρ> - 1, but rather δ + 1 = ρ/<ρ>."
168
168
  raise ValueError(msg)
169
169
 
170
- # Check if the input density_cube is actually δ + 1 = ρ/<ρ> or just ρ
171
- if np.mean(density_cube) > 1.0:
172
- # If the mean is greater than 1, we assume it is simply ρ, but we want to transform to δ + 1 = ρ/<ρ>
173
- if verbose_flag: # pragma: no cover
174
- print(
175
- "Input density_cube is in density units, transforming to δ + 1 = ρ/<ρ>."
176
- )
177
- density_cube /= np.mean(density_cube) # normalize to mean = 1
170
+ # # Check if the input density_cube is actually δ + 1 = ρ/<ρ> or just ρ
171
+ # if np.mean(density_cube) != 1.0:
172
+ # # If the mean is greater than 1, we assume it is simply ρ, but we want to transform to δ + 1 = ρ/<ρ>
173
+ # if verbose_flag: # pragma: no cover
174
+ # print(
175
+ # "Input density_cube is in density units, transforming to δ + 1 = ρ/<ρ>."
176
+ # )
177
+ # density_cube /= np.mean(density_cube) # normalize to mean = 1
178
178
 
179
179
  # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
180
180
  # Step 1. Create Cluster bool Filter
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