Skip to content

Commit

Permalink
Added main commit 642e121 to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
m-aguena committed Apr 3, 2023
1 parent 4f7c068 commit 05fcfbc
Show file tree
Hide file tree
Showing 141 changed files with 4,456 additions and 2,090 deletions.
2 changes: 1 addition & 1 deletion .buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 8d642b97de442467b08a4158df714e76
config: 5574067c181eca70a595e0fbd749b81b
tags: 645f666f9bcd5a90fca523b33c5a78b7
Binary file modified _images/Example1_Fit_Halo_Mass_to_Shear_Catalog_60_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/demo_boost_factors_16_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/demo_boost_factors_21_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/demo_boost_factors_27_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/demo_boost_factors_29_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed _images/demo_compute_deltasigma_weights_27_1.png
Binary file not shown.
Binary file added _images/demo_compute_deltasigma_weights_28_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed _images/demo_compute_deltasigma_weights_35_1.png
Binary file not shown.
Binary file added _images/demo_compute_deltasigma_weights_36_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
Binary file removed _images/demo_mock_cluster_36_1.png
Binary file not shown.
Binary file removed _images/demo_mock_cluster_37_0.png
Binary file not shown.
Binary file removed _images/demo_mock_cluster_43_1.png
Binary file not shown.
Binary file removed _images/demo_mock_cluster_45_1.png
Binary file not shown.
Binary file added _images/demo_mock_cluster_46_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/demo_mock_cluster_47_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed _images/demo_mock_cluster_50_1.png
Binary file not shown.
Binary file added _images/demo_mock_cluster_53_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed _images/demo_mock_cluster_54_1.png
Binary file not shown.
Binary file added _images/demo_mock_cluster_55_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/demo_mock_cluster_60_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/demo_mock_cluster_64_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed _images/demo_mock_ensemble_15_1.png
Binary file not shown.
Binary file removed _images/demo_mock_ensemble_16_0.png
Diff not rendered.
Binary file removed _images/demo_mock_ensemble_20_0.png
Diff not rendered.
Binary file added _images/demo_mock_ensemble_21_1.png
Binary file added _images/demo_mock_ensemble_22_0.png
Binary file added _images/demo_mock_ensemble_26_0.png
Binary file removed _images/demo_mock_ensemble_realistic_45_0.png
Diff not rendered.
Binary file removed _images/demo_mock_ensemble_realistic_46_0.png
Diff not rendered.
Binary file removed _images/demo_mock_ensemble_realistic_49_0.png
Diff not rendered.
Binary file added _images/demo_mock_ensemble_realistic_50_0.png
Binary file added _images/demo_mock_ensemble_realistic_51_0.png
Binary file added _images/demo_mock_ensemble_realistic_54_0.png
Binary file added _images/demo_theory_functionality_25_0.png
Binary file modified _images/demo_theory_functionality_26_0.png
Binary file modified _images/demo_theory_functionality_27_0.png
Binary file modified _images/demo_theory_functionality_28_0.png
Binary file modified _images/demo_theory_functionality_29_0.png
Binary file removed _images/demo_theory_functionality_30_0.png
Diff not rendered.
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added _images/demo_theory_functionality_33_0.png
Binary file modified _images/demo_theory_functionality_34_0.png
Binary file removed _images/demo_theory_functionality_35_0.png
Diff not rendered.
Binary file added _images/demo_theory_functionality_36_1.png
Binary file removed _images/demo_theory_functionality_37_1.png
Diff not rendered.
Binary file modified _images/demo_theory_functionality_diff_z_types_53_0.png
Binary file modified _images/demo_theory_functionality_diff_z_types_55_0.png
Binary file modified _images/demo_theory_functionality_oo_27_1.png
220 changes: 145 additions & 75 deletions _modules/clmm/clusterensemble.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions _modules/clmm/constants.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>clmm.constants &mdash; CLMM 1.5.3 documentation</title>
<title>clmm.constants &mdash; CLMM 1.7.1 documentation</title>
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../_static/css/theme.css" type="text/css" />
<!--[if lt IE 9]>
Expand All @@ -29,7 +29,7 @@
<a href="../../index.html" class="icon icon-home"> CLMM
</a>
<div class="version">
1.5.3
1.7.1
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">
Expand Down
19 changes: 11 additions & 8 deletions _modules/clmm/cosmology/parent_class.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>clmm.cosmology.parent_class &mdash; CLMM 1.5.3 documentation</title>
<title>clmm.cosmology.parent_class &mdash; CLMM 1.7.1 documentation</title>
<link rel="stylesheet" href="../../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../../_static/css/theme.css" type="text/css" />
<!--[if lt IE 9]>
Expand All @@ -29,7 +29,7 @@
<a href="../../../index.html" class="icon icon-home"> CLMM
</a>
<div class="version">
1.5.3
1.7.1
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
Expand Down Expand Up @@ -248,7 +248,7 @@ <h1>Source code for clmm.cosmology.parent_class</h1><div class="highlight"><pre>
<span class="sa">r</span><span class="sd">&quot;&quot;&quot;Gets the value of the dimensionless matter density</span>

<span class="sd"> .. math::</span>
<span class="sd"> \Omega_m(z) = \frac{\rho_m(z)}{\rho_\mathrm{crit}(z)}.</span>
<span class="sd"> \Omega_m(z) = \frac{\rho_m(z)}{\rho_\text{crit}(z)}.</span>

<span class="sd"> Parameters</span>
<span class="sd"> ----------</span>
Expand Down Expand Up @@ -301,7 +301,7 @@ <h1>Source code for clmm.cosmology.parent_class</h1><div class="highlight"><pre>
<span class="sd"> (normalized at 0)</span>

<span class="sd"> .. math::</span>
<span class="sd"> \Omega_m(z) = \frac{\rho_m(z)}{\rho_\mathrm{crit}(z)}\frac{H(z)^{2}}{H_{0}^{2}}.</span>
<span class="sd"> \Omega_m(z) = \frac{\rho_m(z)}{\rho_\text{crit}(z)}\frac{H(z)^{2}}{H_{0}^{2}}.</span>

<span class="sd"> Parameters</span>
<span class="sd"> ----------</span>
Expand Down Expand Up @@ -394,9 +394,10 @@ <h1>Source code for clmm.cosmology.parent_class</h1><div class="highlight"><pre>
<span class="k">return</span> <span class="bp">self</span><span class="o">.</span><span class="n">_eval_da_z1z2</span><span class="p">(</span><span class="n">z1</span><span class="o">=</span><span class="n">z1</span><span class="p">,</span> <span class="n">z2</span><span class="o">=</span><span class="n">z2</span><span class="p">)</span></div>

<span class="k">def</span> <span class="nf">_eval_da_z1z2</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">z1</span><span class="p">,</span> <span class="n">z2</span><span class="p">):</span>
<span class="n">warning_msg</span> <span class="o">=</span> <span class="s1">&#39;</span><span class="se">\n</span><span class="s1">Some values of z2 are lower than z1.&#39;</span><span class="o">+</span>\
<span class="s1">&#39;</span><span class="se">\n</span><span class="s1">da = np.nan for those.&#39;</span>
<span class="k">return</span> <span class="n">compute_for_good_redshifts</span><span class="p">(</span>
<span class="bp">self</span><span class="o">.</span><span class="n">_eval_da_z1z2_core</span><span class="p">,</span> <span class="n">z1</span><span class="p">,</span> <span class="n">z2</span><span class="p">,</span> <span class="n">np</span><span class="o">.</span><span class="n">nan</span><span class="p">,</span>
<span class="n">error_message</span><span class="o">=</span><span class="s1">&#39;Some values of z2 are lower than z1. Returning da = np.nan for those.&#39;</span><span class="p">)</span>
<span class="bp">self</span><span class="o">.</span><span class="n">_eval_da_z1z2_core</span><span class="p">,</span> <span class="n">z1</span><span class="p">,</span> <span class="n">z2</span><span class="p">,</span> <span class="n">np</span><span class="o">.</span><span class="n">nan</span><span class="p">,</span> <span class="n">warning_message</span><span class="o">=</span><span class="n">warning_msg</span><span class="p">)</span>

<span class="k">def</span> <span class="nf">_eval_da_z1z2_core</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">z1</span><span class="p">,</span> <span class="n">z2</span><span class="p">):</span>
<span class="k">raise</span> <span class="ne">NotImplementedError</span>
Expand Down Expand Up @@ -564,10 +565,12 @@ <h1>Source code for clmm.cosmology.parent_class</h1><div class="highlight"><pre>
<span class="k">return</span> <span class="bp">self</span><span class="o">.</span><span class="n">_eval_sigma_crit</span><span class="p">(</span><span class="n">z_len</span><span class="o">=</span><span class="n">z_len</span><span class="p">,</span> <span class="n">z_src</span><span class="o">=</span><span class="n">z_src</span><span class="p">)</span></div>

<span class="k">def</span> <span class="nf">_eval_sigma_crit</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">z_len</span><span class="p">,</span> <span class="n">z_src</span><span class="p">):</span>
<span class="n">warning_msg</span> <span class="o">=</span> <span class="s1">&#39;</span><span class="se">\n</span><span class="s1">Some source redshifts are lower than the cluster redshift.&#39;</span><span class="o">+</span>\
<span class="s1">&#39;</span><span class="se">\n</span><span class="s1">Sigma_crit = np.inf for those galaxies.&#39;</span>
<span class="k">return</span> <span class="n">compute_for_good_redshifts</span><span class="p">(</span>
<span class="bp">self</span><span class="o">.</span><span class="n">_eval_sigma_crit_core</span><span class="p">,</span> <span class="n">z_len</span><span class="p">,</span> <span class="n">z_src</span><span class="p">,</span> <span class="n">np</span><span class="o">.</span><span class="n">inf</span><span class="p">,</span>
<span class="n">error_message</span><span class="o">=</span><span class="s1">&#39;Some source redshifts are lower than the cluster redshift. &#39;</span>
<span class="s1">&#39;Returning Sigma_crit = np.inf for those galaxies.&#39;</span><span class="p">)</span>
<span class="n">z1_arg_name</span><span class="o">=</span><span class="s1">&#39;z_len&#39;</span><span class="p">,</span> <span class="n">z2_arg_name</span><span class="o">=</span><span class="s1">&#39;z_src&#39;</span><span class="p">,</span>
<span class="n">warning_message</span><span class="o">=</span><span class="n">warning_msg</span><span class="p">)</span>

<span class="k">def</span> <span class="nf">_eval_sigma_crit_core</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">z_len</span><span class="p">,</span> <span class="n">z_src</span><span class="p">):</span>
<span class="k">raise</span> <span class="ne">NotImplementedError</span>
Expand Down
Loading

0 comments on commit 05fcfbc

Please sign in to comment.