PyCosmoMMF 0.2.0__tar.gz → 0.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 (100) hide show
  1. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/PKG-INFO +1 -1
  2. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/src/pycosmommf/_version.py +2 -2
  3. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/src/pycosmommf/tagging.py +36 -21
  4. pycosmommf-0.2.0/serve/.buildinfo +0 -4
  5. pycosmommf-0.2.0/serve/.buildinfo.bak +0 -4
  6. pycosmommf-0.2.0/serve/.doctrees/API.doctree +0 -0
  7. pycosmommf-0.2.0/serve/.doctrees/api/pycosmommf.doctree +0 -0
  8. pycosmommf-0.2.0/serve/.doctrees/api_tab.doctree +0 -0
  9. pycosmommf-0.2.0/serve/.doctrees/basic_usage.doctree +0 -0
  10. pycosmommf-0.2.0/serve/.doctrees/environment.pickle +0 -0
  11. pycosmommf-0.2.0/serve/.doctrees/index.doctree +0 -0
  12. pycosmommf-0.2.0/serve/.doctrees/test.doctree +0 -0
  13. pycosmommf-0.2.0/serve/API.html +0 -506
  14. pycosmommf-0.2.0/serve/_images/CosmoMMF_Dark.png +0 -0
  15. pycosmommf-0.2.0/serve/_images/CosmoMMF_light.png +0 -0
  16. pycosmommf-0.2.0/serve/_images/final_NEXUSPLUS_Signatures_hydro.png +0 -0
  17. pycosmommf-0.2.0/serve/_images/final_NEXUSPLUS_Signatures_hydro_dark.png +0 -0
  18. pycosmommf-0.2.0/serve/_images/final_tagging_figure.png +0 -0
  19. pycosmommf-0.2.0/serve/_images/final_tagging_figure_dark.png +0 -0
  20. pycosmommf-0.2.0/serve/_sources/API.md.txt +0 -10
  21. pycosmommf-0.2.0/serve/_sources/api/pycosmommf.rst.txt +0 -50
  22. pycosmommf-0.2.0/serve/_sources/api_tab.md.txt +0 -5
  23. pycosmommf-0.2.0/serve/_sources/basic_usage.md.txt +0 -152
  24. pycosmommf-0.2.0/serve/_sources/index.md.txt +0 -32
  25. pycosmommf-0.2.0/serve/_sources/test.md.txt +0 -109
  26. pycosmommf-0.2.0/serve/api/pycosmommf.html +0 -1852
  27. pycosmommf-0.2.0/serve/api_tab.html +0 -510
  28. pycosmommf-0.2.0/serve/basic_usage.html +0 -856
  29. pycosmommf-0.2.0/serve/genindex.html +0 -782
  30. pycosmommf-0.2.0/serve/index.html +0 -515
  31. pycosmommf-0.2.0/serve/objects.inv +0 -0
  32. pycosmommf-0.2.0/serve/py-modindex.html +0 -551
  33. pycosmommf-0.2.0/serve/search.html +0 -470
  34. pycosmommf-0.2.0/serve/searchindex.js +0 -530
  35. pycosmommf-0.2.0/serve/test.html +0 -809
  36. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/.copier-answers.yml +0 -0
  37. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/.git_archival.txt +0 -0
  38. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/.gitattributes +0 -0
  39. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/.github/CONTRIBUTING.md +0 -0
  40. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/.github/dependabot.yml +0 -0
  41. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/.github/release.yml +0 -0
  42. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/.github/workflows/cd.yml +0 -0
  43. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/.github/workflows/ci.yml +0 -0
  44. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/.gitignore +0 -0
  45. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/.pre-commit-config.yaml +0 -0
  46. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/.readthedocs.yaml +0 -0
  47. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/LICENSE +0 -0
  48. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/README.md +0 -0
  49. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/docs/_static/CosmoMMF_Dark.png +0 -0
  50. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/docs/_static/CosmoMMF_light.png +0 -0
  51. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/docs/_static/basic.css +0 -0
  52. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/docs/_static/check-solid.svg +0 -0
  53. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/docs/_static/clipboard.min.js +0 -0
  54. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/docs/_static/copy-button.svg +0 -0
  55. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/docs/_static/copybutton.css +0 -0
  56. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/docs/_static/copybutton.js +0 -0
  57. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/docs/_static/copybutton_funcs.js +0 -0
  58. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/docs/_static/debug.css +0 -0
  59. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/docs/_static/doctools.js +0 -0
  60. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/docs/_static/documentation_options.js +0 -0
  61. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/docs/_static/file.png +0 -0
  62. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/docs/_static/language_data.js +0 -0
  63. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/docs/_static/minus.png +0 -0
  64. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/docs/_static/plus.png +0 -0
  65. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/docs/_static/pygments.css +0 -0
  66. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/docs/_static/scripts/furo-extensions.js +0 -0
  67. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/docs/_static/scripts/furo.js +0 -0
  68. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/docs/_static/scripts/furo.js.LICENSE.txt +0 -0
  69. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/docs/_static/scripts/furo.js.map +0 -0
  70. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/docs/_static/searchtools.js +0 -0
  71. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/docs/_static/skeleton.css +0 -0
  72. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/docs/_static/sphinx_highlight.js +0 -0
  73. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/docs/_static/styles/furo-extensions.css +0 -0
  74. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/docs/_static/styles/furo-extensions.css.map +0 -0
  75. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/docs/_static/styles/furo.css +0 -0
  76. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/docs/_static/styles/furo.css.map +0 -0
  77. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/docs/api/pycosmommf.rst +0 -0
  78. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/docs/api_tab.md +0 -0
  79. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/docs/basic_usage.md +0 -0
  80. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/docs/conf.py +0 -0
  81. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/docs/images/CosmoMMF_Dark.png +0 -0
  82. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/docs/images/CosmoMMF_light.png +0 -0
  83. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/docs/images/final_NEXUSPLUS_Signatures_hydro.png +0 -0
  84. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/docs/images/final_NEXUSPLUS_Signatures_hydro_dark.png +0 -0
  85. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/docs/images/final_tagging_figure.png +0 -0
  86. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/docs/images/final_tagging_figure_dark.png +0 -0
  87. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/docs/index.md +0 -0
  88. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/noxfile.py +0 -0
  89. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/pyproject.toml +0 -0
  90. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/src/pycosmommf/__init__.py +0 -0
  91. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/src/pycosmommf/_version.pyi +0 -0
  92. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/src/pycosmommf/filter.py +0 -0
  93. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/src/pycosmommf/hessian.py +0 -0
  94. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/src/pycosmommf/py.typed +0 -0
  95. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/src/pycosmommf/signatures.py +0 -0
  96. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/src/pycosmommf/utils.py +0 -0
  97. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/tests/__init__.py +0 -0
  98. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/tests/test_integration.py +0 -0
  99. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/tests/test_package.py +0 -0
  100. {pycosmommf-0.2.0 → pycosmommf-0.4.0}/tests/test_unit.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pycosmommf
3
- Version: 0.2.0
3
+ Version: 0.4.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.2.0'
16
- __version_tuple__ = version_tuple = (0, 2, 0)
15
+ __version__ = version = '0.4.0'
16
+ __version_tuple__ = version_tuple = (0, 4, 0)
@@ -1,10 +1,11 @@
1
1
  from __future__ import annotations
2
2
 
3
- import functools
4
-
3
+ import numba as nb
5
4
  import numpy as np
6
5
  import skimage.measure
7
6
 
7
+ jit_compiler = nb.njit(parallel=True, fastmath=True)
8
+
8
9
 
9
10
  def make_the_clusbool(delta, max_sigs, Δ): # pragma: no cover
10
11
  """
@@ -16,43 +17,57 @@ def make_the_clusbool(delta, max_sigs, Δ): # pragma: no cover
16
17
  change in virialization fraction as a function of 𝒮_cluster.
17
18
 
18
19
  Arguments:
19
-
20
+ ----------------
20
21
  delta - [3D Float Array] - delta refers to the δ delta.
21
22
  max_sigs - [4D Float Array] - the maximum signatures array from CosmoMMF.maximum_signature()
22
23
  verbose - [Boolean] - a flag to allow the function to be more helpful and verbose.
23
24
  Δ - [Int] - The overdensity parameter threshold for determining virialization. This
24
25
  parameter comes from a paper by Gunn & Gott on spherical collapse. Commonly
25
26
  used values that are physically motivated can be 370, 200, or 500 (for R_200 or R_500).
27
+
28
+ Returns:
29
+ ----------------
30
+ clusbool - [3D Boolean Array] - a boolean filter that selects only the clusters in a given cosmological δ field.
31
+ S_th - [Float] - the threshold value for 𝒮_cluster.
32
+ signature_thresholds - [1D Float Array] - an array of threshold values for 𝒮_cluster.
33
+ virialized_fractions - [1D Float Array] - an array of virialized fractions as a function of 𝒮_cluster.
26
34
  """
27
35
 
28
36
  signature_thresholds = np.geomspace(0.1, 30, 10) # hard coded for now
29
37
  virialized_fractions = np.zeros_like(signature_thresholds)
30
38
 
31
- def check_virialized(j, delta, clumps, Δ):
32
- δ_ave = np.mean(delta[clumps == j])
33
- return int(δ_ave > Δ)
39
+ @jit_compiler
40
+ def calc_virialized_fraction(clumps):
41
+ nx, ny, nz = clumps.shape
42
+
43
+ total_clumps_detected = np.max(clumps)
44
+ summed_overdensity_per_clump = np.zeros(total_clumps_detected)
45
+ num_cells_per_clump = np.zeros(total_clumps_detected)
46
+
47
+ for i in nb.prange(nx):
48
+ for j in range(ny):
49
+ for k in range(nz):
50
+ if clumps[i, j, k] != 0:
51
+ clump_id = int(
52
+ clumps[i, j, k]
53
+ ) # clump_id is the clump number ranging from 1 to total_clumps_detected
54
+ summed_overdensity_per_clump[clump_id - 1] += delta[i, j, k]
55
+ num_cells_per_clump[clump_id - 1] += 1
56
+
57
+ return summed_overdensity_per_clump / num_cells_per_clump
34
58
 
35
59
  for i, S_th in enumerate(signature_thresholds):
36
60
  # Identify Clumps with S > S_th
37
61
  _clusbool = max_sigs[:, :, :, 0] > S_th
62
+
38
63
  clumps = skimage.measure.label(
39
- _clusbool
64
+ _clusbool.astype(int)
40
65
  ) # an array where 0 is background and 1, 2, 3, ... are the clumps
41
- total_clumps_detected = np.max(clumps)
66
+ averaged_overdensity_per_clump = calc_virialized_fraction(clumps)
42
67
 
43
- num_clumps_virialized = np.sum(
44
- list(
45
- map(
46
- functools.partial(
47
- check_virialized, delta=delta, clumps=clumps, Δ=Δ
48
- ),
49
- range(1, total_clumps_detected + 1),
50
- )
51
- )
52
- ) # number of clumps that are virialized
53
-
54
- # Calculate the number of virialized clumps
55
- virialized_fractions[i] = num_clumps_virialized / total_clumps_detected
68
+ virialized_fractions[i] = np.sum(averaged_overdensity_per_clump > Δ) / np.max(
69
+ clumps
70
+ )
56
71
 
57
72
  S_th = signature_thresholds[np.abs(virialized_fractions - 0.5).argmin()]
58
73
  clusbool = max_sigs[:, :, :, 0] > S_th
@@ -1,4 +0,0 @@
1
- # Sphinx build info version 1
2
- # This file records the configuration used when building these files. When it is not found, a full rebuild will be done.
3
- config: 71380b8691105fdaf5c9bc417d4961a1
4
- tags: 645f666f9bcd5a90fca523b33c5a78b7
@@ -1,4 +0,0 @@
1
- # Sphinx build info version 1
2
- # This file records the configuration used when building these files. When it is not found, a full rebuild will be done.
3
- config: d92f197c1635a88a2c9a049b675e43a8
4
- tags: 645f666f9bcd5a90fca523b33c5a78b7
@@ -1,506 +0,0 @@
1
- <!doctype html>
2
- <html class="no-js" lang="en" data-content_root="./">
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width,initial-scale=1" />
6
- <meta name="color-scheme" content="light dark" />
7
- <meta name="viewport" content="width=device-width, initial-scale=1" />
8
- <link rel="index" title="Index" href="genindex.html" />
9
- <link rel="search" title="Search" href="search.html" />
10
-
11
- <!-- Generated with Sphinx 8.1.3 and Furo 2024.08.06 -->
12
- <title>
13
- API Docs - pycosmommf 0.1.3.dev4+gd17e420.d20241114 documentation
14
- </title>
15
- <link
16
- rel="stylesheet"
17
- type="text/css"
18
- href="_static/pygments.css?v=a746c00c"
19
- />
20
- <link
21
- rel="stylesheet"
22
- type="text/css"
23
- href="_static/styles/furo.css?v=354aac6f"
24
- />
25
- <link
26
- rel="stylesheet"
27
- type="text/css"
28
- href="_static/copybutton.css?v=76b2166b"
29
- />
30
- <link
31
- rel="stylesheet"
32
- type="text/css"
33
- href="_static/styles/furo-extensions.css?v=302659d7"
34
- />
35
-
36
- <style>
37
- body {
38
- --color-code-background: #f8f8f8;
39
- --color-code-foreground: black;
40
- }
41
- @media not print {
42
- body[data-theme="dark"] {
43
- --color-code-background: #202020;
44
- --color-code-foreground: #d0d0d0;
45
- }
46
- @media (prefers-color-scheme: dark) {
47
- body:not([data-theme="light"]) {
48
- --color-code-background: #202020;
49
- --color-code-foreground: #d0d0d0;
50
- }
51
- }
52
- }
53
- </style>
54
- </head>
55
- <body>
56
- <script>
57
- document.body.dataset.theme = localStorage.getItem("theme") || "auto";
58
- </script>
59
-
60
- <svg xmlns="http://www.w3.org/2000/svg" style="display: none">
61
- <symbol id="svg-toc" viewBox="0 0 24 24">
62
- <title>Contents</title>
63
- <svg
64
- stroke="currentColor"
65
- fill="currentColor"
66
- stroke-width="0"
67
- viewBox="0 0 1024 1024"
68
- >
69
- <path
70
- d="M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM115.4 518.9L271.7 642c5.8 4.6 14.4.5 14.4-6.9V388.9c0-7.4-8.5-11.5-14.4-6.9L115.4 505.1a8.74 8.74 0 0 0 0 13.8z"
71
- />
72
- </svg>
73
- </symbol>
74
- <symbol id="svg-menu" viewBox="0 0 24 24">
75
- <title>Menu</title>
76
- <svg
77
- xmlns="http://www.w3.org/2000/svg"
78
- viewBox="0 0 24 24"
79
- fill="none"
80
- stroke="currentColor"
81
- stroke-width="2"
82
- stroke-linecap="round"
83
- stroke-linejoin="round"
84
- class="feather-menu"
85
- >
86
- <line x1="3" y1="12" x2="21" y2="12"></line>
87
- <line x1="3" y1="6" x2="21" y2="6"></line>
88
- <line x1="3" y1="18" x2="21" y2="18"></line>
89
- </svg>
90
- </symbol>
91
- <symbol id="svg-arrow-right" viewBox="0 0 24 24">
92
- <title>Expand</title>
93
- <svg
94
- xmlns="http://www.w3.org/2000/svg"
95
- viewBox="0 0 24 24"
96
- fill="none"
97
- stroke="currentColor"
98
- stroke-width="2"
99
- stroke-linecap="round"
100
- stroke-linejoin="round"
101
- class="feather-chevron-right"
102
- >
103
- <polyline points="9 18 15 12 9 6"></polyline>
104
- </svg>
105
- </symbol>
106
- <symbol id="svg-sun" viewBox="0 0 24 24">
107
- <title>Light mode</title>
108
- <svg
109
- xmlns="http://www.w3.org/2000/svg"
110
- viewBox="0 0 24 24"
111
- fill="none"
112
- stroke="currentColor"
113
- stroke-width="1"
114
- stroke-linecap="round"
115
- stroke-linejoin="round"
116
- class="feather-sun"
117
- >
118
- <circle cx="12" cy="12" r="5"></circle>
119
- <line x1="12" y1="1" x2="12" y2="3"></line>
120
- <line x1="12" y1="21" x2="12" y2="23"></line>
121
- <line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line>
122
- <line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line>
123
- <line x1="1" y1="12" x2="3" y2="12"></line>
124
- <line x1="21" y1="12" x2="23" y2="12"></line>
125
- <line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line>
126
- <line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line>
127
- </svg>
128
- </symbol>
129
- <symbol id="svg-moon" viewBox="0 0 24 24">
130
- <title>Dark mode</title>
131
- <svg
132
- xmlns="http://www.w3.org/2000/svg"
133
- viewBox="0 0 24 24"
134
- fill="none"
135
- stroke="currentColor"
136
- stroke-width="1"
137
- stroke-linecap="round"
138
- stroke-linejoin="round"
139
- class="icon-tabler-moon"
140
- >
141
- <path stroke="none" d="M0 0h24v24H0z" fill="none" />
142
- <path
143
- d="M12 3c.132 0 .263 0 .393 0a7.5 7.5 0 0 0 7.92 12.446a9 9 0 1 1 -8.313 -12.454z"
144
- />
145
- </svg>
146
- </symbol>
147
- <symbol id="svg-sun-with-moon" viewBox="0 0 24 24">
148
- <title>Auto light/dark, in light mode</title>
149
- <svg
150
- xmlns="http://www.w3.org/2000/svg"
151
- viewBox="0 0 24 24"
152
- fill="none"
153
- stroke="currentColor"
154
- stroke-width="1"
155
- stroke-linecap="round"
156
- stroke-linejoin="round"
157
- class="icon-custom-derived-from-feather-sun-and-tabler-moon"
158
- >
159
- <path
160
- style="opacity: 50%"
161
- d="M 5.411 14.504 C 5.471 14.504 5.532 14.504 5.591 14.504 C 3.639 16.319 4.383 19.569 6.931 20.352 C 7.693 20.586 8.512 20.551 9.25 20.252 C 8.023 23.207 4.056 23.725 2.11 21.184 C 0.166 18.642 1.702 14.949 4.874 14.536 C 5.051 14.512 5.231 14.5 5.411 14.5 L 5.411 14.504 Z"
162
- />
163
- <line x1="14.5" y1="3.25" x2="14.5" y2="1.25" />
164
- <line x1="14.5" y1="15.85" x2="14.5" y2="17.85" />
165
- <line x1="10.044" y1="5.094" x2="8.63" y2="3.68" />
166
- <line x1="19" y1="14.05" x2="20.414" y2="15.464" />
167
- <line x1="8.2" y1="9.55" x2="6.2" y2="9.55" />
168
- <line x1="20.8" y1="9.55" x2="22.8" y2="9.55" />
169
- <line x1="10.044" y1="14.006" x2="8.63" y2="15.42" />
170
- <line x1="19" y1="5.05" x2="20.414" y2="3.636" />
171
- <circle cx="14.5" cy="9.55" r="3.6" />
172
- </svg>
173
- </symbol>
174
- <symbol id="svg-moon-with-sun" viewBox="0 0 24 24">
175
- <title>Auto light/dark, in dark mode</title>
176
- <svg
177
- xmlns="http://www.w3.org/2000/svg"
178
- viewBox="0 0 24 24"
179
- fill="none"
180
- stroke="currentColor"
181
- stroke-width="1"
182
- stroke-linecap="round"
183
- stroke-linejoin="round"
184
- class="icon-custom-derived-from-feather-sun-and-tabler-moon"
185
- >
186
- <path
187
- d="M 8.282 7.007 C 8.385 7.007 8.494 7.007 8.595 7.007 C 5.18 10.184 6.481 15.869 10.942 17.24 C 12.275 17.648 13.706 17.589 15 17.066 C 12.851 22.236 5.91 23.143 2.505 18.696 C -0.897 14.249 1.791 7.786 7.342 7.063 C 7.652 7.021 7.965 7 8.282 7 L 8.282 7.007 Z"
188
- />
189
- <line style="opacity: 50%" x1="18" y1="3.705" x2="18" y2="2.5" />
190
- <line style="opacity: 50%" x1="18" y1="11.295" x2="18" y2="12.5" />
191
- <line
192
- style="opacity: 50%"
193
- x1="15.316"
194
- y1="4.816"
195
- x2="14.464"
196
- y2="3.964"
197
- />
198
- <line
199
- style="opacity: 50%"
200
- x1="20.711"
201
- y1="10.212"
202
- x2="21.563"
203
- y2="11.063"
204
- />
205
- <line
206
- style="opacity: 50%"
207
- x1="14.205"
208
- y1="7.5"
209
- x2="13.001"
210
- y2="7.5"
211
- />
212
- <line style="opacity: 50%" x1="21.795" y1="7.5" x2="23" y2="7.5" />
213
- <line
214
- style="opacity: 50%"
215
- x1="15.316"
216
- y1="10.184"
217
- x2="14.464"
218
- y2="11.036"
219
- />
220
- <line
221
- style="opacity: 50%"
222
- x1="20.711"
223
- y1="4.789"
224
- x2="21.563"
225
- y2="3.937"
226
- />
227
- <circle style="opacity: 50%" cx="18" cy="7.5" r="2.169" />
228
- </svg>
229
- </symbol>
230
- <symbol id="svg-pencil" viewBox="0 0 24 24">
231
- <svg
232
- xmlns="http://www.w3.org/2000/svg"
233
- viewBox="0 0 24 24"
234
- fill="none"
235
- stroke="currentColor"
236
- stroke-width="1"
237
- stroke-linecap="round"
238
- stroke-linejoin="round"
239
- class="icon-tabler-pencil-code"
240
- >
241
- <path d="M4 20h4l10.5 -10.5a2.828 2.828 0 1 0 -4 -4l-10.5 10.5v4" />
242
- <path d="M13.5 6.5l4 4" />
243
- <path d="M20 21l2 -2l-2 -2" />
244
- <path d="M17 17l-2 2l2 2" />
245
- </svg>
246
- </symbol>
247
- <symbol id="svg-eye" viewBox="0 0 24 24">
248
- <svg
249
- xmlns="http://www.w3.org/2000/svg"
250
- viewBox="0 0 24 24"
251
- fill="none"
252
- stroke="currentColor"
253
- stroke-width="1"
254
- stroke-linecap="round"
255
- stroke-linejoin="round"
256
- class="icon-tabler-eye-code"
257
- >
258
- <path stroke="none" d="M0 0h24v24H0z" fill="none" />
259
- <path d="M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" />
260
- <path
261
- d="M11.11 17.958c-3.209 -.307 -5.91 -2.293 -8.11 -5.958c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6c-.21 .352 -.427 .688 -.647 1.008"
262
- />
263
- <path d="M20 21l2 -2l-2 -2" />
264
- <path d="M17 17l-2 2l2 2" />
265
- </svg>
266
- </symbol>
267
- </svg>
268
-
269
- <input
270
- type="checkbox"
271
- class="sidebar-toggle"
272
- name="__navigation"
273
- id="__navigation"
274
- />
275
- <input type="checkbox" class="sidebar-toggle" name="__toc" id="__toc" />
276
- <label class="overlay sidebar-overlay" for="__navigation">
277
- <div class="visually-hidden">Hide navigation sidebar</div>
278
- </label>
279
- <label class="overlay toc-overlay" for="__toc">
280
- <div class="visually-hidden">Hide table of contents sidebar</div>
281
- </label>
282
-
283
- <a class="skip-to-content muted-link" href="#furo-main-content"
284
- >Skip to content</a
285
- >
286
-
287
- <div class="page">
288
- <header class="mobile-header">
289
- <div class="header-left">
290
- <label class="nav-overlay-icon" for="__navigation">
291
- <div class="visually-hidden">Toggle site navigation sidebar</div>
292
- <i class="icon"
293
- ><svg><use href="#svg-menu"></use></svg
294
- ></i>
295
- </label>
296
- </div>
297
- <div class="header-center">
298
- <a href="index.html"
299
- ><div class="brand">
300
- pycosmommf 0.1.3.dev4+gd17e420.d20241114 documentation
301
- </div></a
302
- >
303
- </div>
304
- <div class="header-right">
305
- <div class="theme-toggle-container theme-toggle-header">
306
- <button class="theme-toggle">
307
- <div class="visually-hidden">
308
- Toggle Light / Dark / Auto color theme
309
- </div>
310
- <svg class="theme-icon-when-auto-light">
311
- <use href="#svg-sun-with-moon"></use>
312
- </svg>
313
- <svg class="theme-icon-when-auto-dark">
314
- <use href="#svg-moon-with-sun"></use>
315
- </svg>
316
- <svg class="theme-icon-when-dark">
317
- <use href="#svg-moon"></use>
318
- </svg>
319
- <svg class="theme-icon-when-light">
320
- <use href="#svg-sun"></use>
321
- </svg>
322
- </button>
323
- </div>
324
- <label class="toc-overlay-icon toc-header-icon no-toc" for="__toc">
325
- <div class="visually-hidden">Toggle table of contents sidebar</div>
326
- <i class="icon"
327
- ><svg><use href="#svg-toc"></use></svg
328
- ></i>
329
- </label>
330
- </div>
331
- </header>
332
- <aside class="sidebar-drawer">
333
- <div class="sidebar-container">
334
- <div class="sidebar-sticky">
335
- <a class="sidebar-brand" href="index.html">
336
- <div class="sidebar-logo-container">
337
- <img
338
- class="sidebar-logo only-light"
339
- src="_static/CosmoMMF_light.png"
340
- alt="Light Logo"
341
- />
342
- <img
343
- class="sidebar-logo only-dark"
344
- src="_static/CosmoMMF_Dark.png"
345
- alt="Dark Logo"
346
- />
347
- </div>
348
-
349
- <span class="sidebar-brand-text"
350
- >pycosmommf 0.1.3.dev4+gd17e420.d20241114 documentation</span
351
- >
352
- </a>
353
- <form
354
- class="sidebar-search-container"
355
- method="get"
356
- action="search.html"
357
- role="search"
358
- >
359
- <input
360
- class="sidebar-search"
361
- placeholder="Search"
362
- name="q"
363
- aria-label="Search"
364
- />
365
- <input type="hidden" name="check_keywords" value="yes" />
366
- <input type="hidden" name="area" value="default" />
367
- </form>
368
- <div id="searchbox"></div>
369
- <div class="sidebar-scroll">
370
- <div class="sidebar-tree">
371
- <ul>
372
- <li class="toctree-l1">
373
- <a class="reference internal" href="basic_usage.html"
374
- >Basic Use</a
375
- >
376
- </li>
377
- <li class="toctree-l1">
378
- <a
379
- class="reference internal"
380
- href="basic_usage.html#general-code-usage"
381
- >General Code Usage</a
382
- >
383
- </li>
384
- </ul>
385
- </div>
386
- </div>
387
- </div>
388
- </div>
389
- </aside>
390
- <div class="main">
391
- <div class="content">
392
- <div class="article-container">
393
- <a href="#" class="back-to-top muted-link">
394
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
395
- <path
396
- d="M13 20h-2V8l-5.5 5.5-1.42-1.42L12 4.16l7.92 7.92-1.42 1.42L13 8v12z"
397
- ></path>
398
- </svg>
399
- <span>Back to top</span>
400
- </a>
401
- <div class="content-icon-container">
402
- <div class="view-this-page">
403
- <a
404
- class="muted-link"
405
- href="_sources/API.md.txt"
406
- title="View this page"
407
- >
408
- <svg><use href="#svg-eye"></use></svg>
409
- <span class="visually-hidden">View this page</span>
410
- </a>
411
- </div>
412
- <div class="theme-toggle-container theme-toggle-content">
413
- <button class="theme-toggle">
414
- <div class="visually-hidden">
415
- Toggle Light / Dark / Auto color theme
416
- </div>
417
- <svg class="theme-icon-when-auto-light">
418
- <use href="#svg-sun-with-moon"></use>
419
- </svg>
420
- <svg class="theme-icon-when-auto-dark">
421
- <use href="#svg-moon-with-sun"></use>
422
- </svg>
423
- <svg class="theme-icon-when-dark">
424
- <use href="#svg-moon"></use>
425
- </svg>
426
- <svg class="theme-icon-when-light">
427
- <use href="#svg-sun"></use>
428
- </svg>
429
- </button>
430
- </div>
431
- <label
432
- class="toc-overlay-icon toc-content-icon no-toc"
433
- for="__toc"
434
- >
435
- <div class="visually-hidden">
436
- Toggle table of contents sidebar
437
- </div>
438
- <i class="icon"
439
- ><svg><use href="#svg-toc"></use></svg
440
- ></i>
441
- </label>
442
- </div>
443
- <article role="main" id="furo-main-content">
444
- <section id="api-docs">
445
- <h1>
446
- API Docs<a
447
- class="headerlink"
448
- href="#api-docs"
449
- title="Link to this heading"
450
- >¶</a
451
- >
452
- </h1>
453
- <ul class="simple">
454
- <li>
455
- <p>
456
- <a class="reference internal" href="genindex.html"
457
- ><span class="std std-ref">Index</span></a
458
- >
459
- </p>
460
- </li>
461
- <li>
462
- <p>
463
- <a class="reference internal" href="py-modindex.html"
464
- ><span class="std std-ref">Module Index</span></a
465
- >
466
- </p>
467
- </li>
468
- <li>
469
- <p>
470
- <a class="reference internal" href="search.html"
471
- ><span class="std std-ref">Search Page</span></a
472
- >
473
- </p>
474
- </li>
475
- </ul>
476
- </section>
477
- </article>
478
- </div>
479
- <footer>
480
- <div class="related-pages"></div>
481
- <div class="bottom-of-page">
482
- <div class="left-details">
483
- <div class="copyright">
484
- Copyright &#169; 2024, James Sunseri
485
- </div>
486
- Made with <a href="https://www.sphinx-doc.org/">Sphinx</a> and
487
- <a class="muted-link" href="https://pradyunsg.me">@pradyunsg</a
488
- >'s
489
-
490
- <a href="https://github.com/pradyunsg/furo">Furo</a>
491
- </div>
492
- <div class="right-details"></div>
493
- </div>
494
- </footer>
495
- </div>
496
- <aside class="toc-drawer no-toc"></aside>
497
- </div>
498
- </div>
499
- <script src="_static/documentation_options.js?v=27e77f62"></script>
500
- <script src="_static/doctools.js?v=9bcbadda"></script>
501
- <script src="_static/sphinx_highlight.js?v=dc90522c"></script>
502
- <script src="_static/scripts/furo.js?v=5fa4622c"></script>
503
- <script src="_static/clipboard.min.js?v=a7894cd8"></script>
504
- <script src="_static/copybutton.js?v=f281be69"></script>
505
- </body>
506
- </html>
@@ -1,10 +0,0 @@
1
- ```{include} ../README.md
2
- :start-after: <!-- start elevator-pitch -->
3
- :end-before: <!-- end elevator-pitch -->
4
- ```
5
-
6
- ## API Docs
7
-
8
- - {ref}`genindex`
9
- - {ref}`modindex`
10
- - {ref}`search`