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.
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/PKG-INFO +1 -1
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/src/pycosmommf/_version.py +2 -2
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/src/pycosmommf/tagging.py +8 -8
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/.copier-answers.yml +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/.git_archival.txt +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/.gitattributes +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/.github/CONTRIBUTING.md +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/.github/dependabot.yml +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/.github/release.yml +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/.github/workflows/cd.yml +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/.github/workflows/ci.yml +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/.gitignore +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/.pre-commit-config.yaml +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/.readthedocs.yaml +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/LICENSE +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/README.md +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/CosmoMMF_Dark.png +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/CosmoMMF_light.png +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/basic.css +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/check-solid.svg +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/clipboard.min.js +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/copy-button.svg +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/copybutton.css +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/copybutton.js +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/copybutton_funcs.js +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/debug.css +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/doctools.js +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/documentation_options.js +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/file.png +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/language_data.js +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/minus.png +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/plus.png +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/pygments.css +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/scripts/furo-extensions.js +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/scripts/furo.js +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/scripts/furo.js.LICENSE.txt +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/scripts/furo.js.map +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/searchtools.js +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/skeleton.css +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/sphinx_highlight.js +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/styles/furo-extensions.css +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/styles/furo-extensions.css.map +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/styles/furo.css +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/_static/styles/furo.css.map +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/api/pycosmommf.rst +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/api_tab.md +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/basic_usage.md +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/conf.py +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/images/CosmoMMF_Dark.png +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/images/CosmoMMF_light.png +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/images/final_NEXUSPLUS_Signatures_hydro.png +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/images/final_NEXUSPLUS_Signatures_hydro_dark.png +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/images/final_tagging_figure.png +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/images/final_tagging_figure_dark.png +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/docs/index.md +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/noxfile.py +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/pyproject.toml +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/src/pycosmommf/__init__.py +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/src/pycosmommf/_version.pyi +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/src/pycosmommf/filter.py +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/src/pycosmommf/hessian.py +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/src/pycosmommf/py.typed +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/src/pycosmommf/signatures.py +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/src/pycosmommf/utils.py +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/tests/__init__.py +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/tests/test_integration.py +0 -0
- {pycosmommf-1.0.1 → pycosmommf-1.0.2}/tests/test_package.py +0 -0
- {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.
|
|
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
|
|
@@ -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)
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
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
|
|
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
|