Skip to content

Commit

Permalink
Deployed 4b8878c with MkDocs version: 1.4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
cbyrohl committed Aug 14, 2023
1 parent d06d5fd commit 2d7e75d
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 38 deletions.
9 changes: 5 additions & 4 deletions halocatalogs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -917,10 +917,11 @@ <h3 id="applying-to-all-groups-in-parallel">Applying to all groups in parallel</
you can also pass a list of halo IDs to evaluate via the "idxlist" keyword.
These keywords should be passed to the "evaluate" call.</p>
</details>
<p>!!!+ note</p>
<pre><code>By default, operations are done on for halos. By passing `objtype="subhalo"` to the
`grouped` call, the operation is done on subhalos instead.
</code></pre>
<details class="note" open="open">
<summary>Note</summary>
<p>By default, operations are done on for halos. By passing <code>objtype="subhalo"</code> to the
<code>grouped</code> call, the operation is done on subhalos instead.</p>
</details>
<h4 id="baryon-mass">Baryon mass</h4>
<p>Let's say we want to calculate the baryon mass for each halo from the particles.</p>
<div class="highlight"><pre><span></span><code><span class="n">mass</span> <span class="o">=</span> <span class="n">ds</span><span class="o">.</span><span class="n">grouped</span><span class="p">(</span><span class="s2">"Masses"</span><span class="p">,</span> <span class="n">parttype</span><span class="o">=</span><span class="s2">"PartType0"</span><span class="p">)</span><span class="o">.</span><span class="n">sum</span><span class="p">()</span><span class="o">.</span><span class="n">evaluate</span><span class="p">(</span><span class="n">compute</span><span class="o">=</span><span class="kc">True</span><span class="p">)</span>
Expand Down
55 changes: 22 additions & 33 deletions notebooks/series/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1958,39 +1958,7 @@ <h1 id="series">Series<a class="anchor-link" href="#series">¶</a></h1><p>So far
WARNING:scida.interfaces.mixins.units:Cannot determine units from neither unit file nor metadata for '/Subhalo/SubhaloGasMetallicityHalfRad'.
WARNING:scida.interfaces.mixins.units:Cannot determine units from neither unit file nor metadata for '/Subhalo/SubhaloGasMetallicityMaxRad'.
WARNING:scida.interfaces.mixins.units:Cannot determine units from neither unit file nor metadata for '/Subhalo/SubhaloGasMetallicitySfr'.
</pre>
</div>
</div>

<div class="jp-OutputArea-child">


<div class="jp-OutputPrompt jp-OutputArea-prompt"></div>


<div class="jp-RenderedText jp-OutputArea-output" data-mime-type="application/vnd.jupyter.stderr">
<pre>/home/cbyrohl/.cache/pypoetry/virtualenvs/scida-dxVKvl_g-py3.9/lib/python3.9/site-packages/dask/array/core.py:3469: UserWarning: Passing an object to dask.array.from_array which is already a Dask collection. This can lead to unexpected behavior.
warnings.warn(
/home/cbyrohl/.cache/pypoetry/virtualenvs/scida-dxVKvl_g-py3.9/lib/python3.9/site-packages/dask/array/core.py:3469: UserWarning: Passing an object to dask.array.from_array which is already a Dask collection. This can lead to unexpected behavior.
warnings.warn(
/home/cbyrohl/.cache/pypoetry/virtualenvs/scida-dxVKvl_g-py3.9/lib/python3.9/site-packages/dask/array/core.py:3469: UserWarning: Passing an object to dask.array.from_array which is already a Dask collection. This can lead to unexpected behavior.
warnings.warn(
/home/cbyrohl/.cache/pypoetry/virtualenvs/scida-dxVKvl_g-py3.9/lib/python3.9/site-packages/dask/array/core.py:3469: UserWarning: Passing an object to dask.array.from_array which is already a Dask collection. This can lead to unexpected behavior.
warnings.warn(
/home/cbyrohl/.cache/pypoetry/virtualenvs/scida-dxVKvl_g-py3.9/lib/python3.9/site-packages/dask/array/core.py:3469: UserWarning: Passing an object to dask.array.from_array which is already a Dask collection. This can lead to unexpected behavior.
warnings.warn(
</pre>
</div>
</div>

<div class="jp-OutputArea-child">


<div class="jp-OutputPrompt jp-OutputArea-prompt"></div>


<div class="jp-RenderedText jp-OutputArea-output" data-mime-type="text/plain">
<pre>WARNING:scida.interfaces.mixins.units:Cannot determine units from neither unit file nor metadata for '/Subhalo/SubhaloGasMetallicitySfrWeighted'.
WARNING:scida.interfaces.mixins.units:Cannot determine units from neither unit file nor metadata for '/Subhalo/SubhaloGasMetallicitySfrWeighted'.
WARNING:scida.interfaces.mixins.units:Cannot determine units from neither unit file nor metadata for '/Subhalo/SubhaloGrNr'.
WARNING:scida.interfaces.mixins.units:Cannot determine units from neither unit file nor metadata for '/Subhalo/SubhaloHalfmassRad'.
WARNING:scida.interfaces.mixins.units:Cannot determine units from neither unit file nor metadata for '/Subhalo/SubhaloHalfmassRadType'.
Expand Down Expand Up @@ -2032,6 +2000,27 @@ <h1 id="series">Series<a class="anchor-link" href="#series">¶</a></h1><p>So far
</div>
</div>

<div class="jp-OutputArea-child">


<div class="jp-OutputPrompt jp-OutputArea-prompt"></div>


<div class="jp-RenderedText jp-OutputArea-output" data-mime-type="application/vnd.jupyter.stderr">
<pre>/home/cbyrohl/.cache/pypoetry/virtualenvs/scida-dxVKvl_g-py3.9/lib/python3.9/site-packages/dask/array/core.py:3469: UserWarning: Passing an object to dask.array.from_array which is already a Dask collection. This can lead to unexpected behavior.
warnings.warn(
/home/cbyrohl/.cache/pypoetry/virtualenvs/scida-dxVKvl_g-py3.9/lib/python3.9/site-packages/dask/array/core.py:3469: UserWarning: Passing an object to dask.array.from_array which is already a Dask collection. This can lead to unexpected behavior.
warnings.warn(
/home/cbyrohl/.cache/pypoetry/virtualenvs/scida-dxVKvl_g-py3.9/lib/python3.9/site-packages/dask/array/core.py:3469: UserWarning: Passing an object to dask.array.from_array which is already a Dask collection. This can lead to unexpected behavior.
warnings.warn(
/home/cbyrohl/.cache/pypoetry/virtualenvs/scida-dxVKvl_g-py3.9/lib/python3.9/site-packages/dask/array/core.py:3469: UserWarning: Passing an object to dask.array.from_array which is already a Dask collection. This can lead to unexpected behavior.
warnings.warn(
/home/cbyrohl/.cache/pypoetry/virtualenvs/scida-dxVKvl_g-py3.9/lib/python3.9/site-packages/dask/array/core.py:3469: UserWarning: Passing an object to dask.array.from_array which is already a Dask collection. This can lead to unexpected behavior.
warnings.warn(
</pre>
</div>
</div>

<div class="jp-OutputArea-child">


Expand Down
2 changes: 1 addition & 1 deletion search/search_index.json

Large diffs are not rendered by default.

Binary file modified sitemap.xml.gz
Binary file not shown.

0 comments on commit 2d7e75d

Please sign in to comment.