Skip to content

Commit

Permalink
tweaked docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Morris committed Aug 20, 2023
1 parent 7d9ded1 commit bf19ab2
Show file tree
Hide file tree
Showing 17 changed files with 550 additions and 1,531 deletions.
1 change: 1 addition & 0 deletions docs/source/tutorials.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ Tutorials

tutorials/getting-started.ipynb
tutorials/customizing.ipynb
tutorials/observations.ipynb
12 changes: 4 additions & 8 deletions docs/source/tutorials/customizing.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,12 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 5,
"id": "ee8a9126",
"metadata": {},
"outputs": [],
"source": [
"import matplotlib.pyplot as plt\n",
"\n",
"import maria \n",
"from maria import models\n",
"from maria import Array, Pointing, Site"
"import maria "
]
},
{
Expand All @@ -34,7 +30,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 6,
"id": "37ba028f",
"metadata": {},
"outputs": [],
Expand All @@ -53,7 +49,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3.9.13 ('maria')",
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
Expand Down

This file was deleted.

11 changes: 2 additions & 9 deletions docs/source/tutorials/getting-started.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,7 @@
},
{
"cell_type": "code",
<<<<<<< HEAD
"execution_count": 1,
=======
"execution_count": 17,
>>>>>>> f7bb696d52b699fa91f77f0442f09c4dc199cffe
"id": "ee8a9126",
"metadata": {},
"outputs": [],
Expand All @@ -23,7 +19,6 @@
"import numpy as np\n",
"\n",
"import maria "
<<<<<<< HEAD
]
},
{
Expand Down Expand Up @@ -112,8 +107,6 @@
],
"source": [
"maria.ARRAY_CONFIGS"
=======
>>>>>>> f7bb696d52b699fa91f77f0442f09c4dc199cffe
]
},
{
Expand Down Expand Up @@ -440,9 +433,9 @@
}
],
"source": [
"for uib, uband in enumerate(np.unique(tod.detectors.band)):\n",
"for uib, uband in enumerate(np.unique(tod.dets.band)):\n",
"\n",
" band_mask = tod.detectors.band == uband\n",
" band_mask = tod.dets.band == uband\n",
" band_mean = tod.data[band_mask].mean(axis=0)\n",
" plt.plot(tod.time, band_mean, label=f'{int(uband[1:])} GHz mean')\n",
"\n",
Expand Down
Loading

0 comments on commit bf19ab2

Please sign in to comment.