Skip to content

Commit

Permalink
update nbs
Browse files Browse the repository at this point in the history
  • Loading branch information
m-aguena committed Jul 17, 2024
1 parent b097989 commit 65913aa
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 16 deletions.
52 changes: 39 additions & 13 deletions examples/demo_mock_ensemble.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -307,16 +307,6 @@
" )"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "9de6b261-f1aa-4b43-941b-d415462fec95",
"metadata": {},
"outputs": [],
"source": [
"cluster.profile"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand All @@ -336,6 +326,42 @@
" )"
]
},
{
"cell_type": "markdown",
"id": "1e699a03",
"metadata": {},
"source": [
"The individual cluster data and profiles are stored at the `.data` table of the `ClusterEnsemble`:"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "598f9e8a",
"metadata": {},
"outputs": [],
"source": [
"clusterensemble.data[:3]"
]
},
{
"cell_type": "markdown",
"id": "9429d37f",
"metadata": {},
"source": [
"The edges of the radial bins, their units, and the cosmology are stored on the metadata of this table:"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "d1e5e841",
"metadata": {},
"outputs": [],
"source": [
"clusterensemble.data.meta"
]
},
{
"cell_type": "markdown",
"id": "99e3fe18",
Expand Down Expand Up @@ -618,9 +644,9 @@
],
"metadata": {
"kernelspec": {
"display_name": "wrk",
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "wrk"
"name": "python3"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -632,7 +658,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.9"
"version": "3.10.8"
}
},
"nbformat": 4,
Expand Down
42 changes: 39 additions & 3 deletions examples/demo_mock_ensemble_realistic.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -903,6 +903,42 @@
" )"
]
},
{
"cell_type": "markdown",
"id": "31c5e0a3",
"metadata": {},
"source": [
"The individual cluster data and profiles are stored at the `.data` table of the `ClusterEnsemble`:"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "82600274",
"metadata": {},
"outputs": [],
"source": [
"clusterensemble.data[:3]"
]
},
{
"cell_type": "markdown",
"id": "f5a30238",
"metadata": {},
"source": [
"The edges of the radial bins, their units, and the cosmology are stored on the metadata of this table:"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "e4293187",
"metadata": {},
"outputs": [],
"source": [
"clusterensemble.data.meta"
]
},
{
"cell_type": "markdown",
"id": "9091de7c",
Expand Down Expand Up @@ -1179,9 +1215,9 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3.11",
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3.11"
"name": "python3"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -1193,7 +1229,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.4"
"version": "3.10.8"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 65913aa

Please sign in to comment.