add base cw notebook

This commit is contained in:
ktyl 2025-02-22 18:04:16 +00:00
parent ea2bf3c5dd
commit 0334922598

View File

@ -70,7 +70,7 @@
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
"CANDIDATE_NUMBER = \"MQMQ7\"" "CANDIDATE_NUMBER = \"\""
] ]
}, },
{ {
@ -312,8 +312,7 @@
"# Plot data\n", "# Plot data\n",
"def plot_dist_mod():\n", "def plot_dist_mod():\n",
" # YOUR CODE HERE\n", " # YOUR CODE HERE\n",
" raise NotImplementedError\n", " raise NotImplementedError()\n",
" plt.plot(mu_sample, z_sample)\n",
" plt.xlabel('$z$')\n", " plt.xlabel('$z$')\n",
" plt.ylabel('$\\mu$')\n", " plt.ylabel('$\\mu$')\n",
" plt.title('Distance modulus vs redshift')\n", " plt.title('Distance modulus vs redshift')\n",
@ -4236,9 +4235,9 @@
], ],
"metadata": { "metadata": {
"kernelspec": { "kernelspec": {
"display_name": "Python 3 (ipykernel)", "display_name": "MLBDenv",
"language": "python", "language": "python",
"name": "python3" "name": "mlbdenv"
}, },
"language_info": { "language_info": {
"codemirror_mode": { "codemirror_mode": {
@ -4250,9 +4249,10 @@
"name": "python", "name": "python",
"nbconvert_exporter": "python", "nbconvert_exporter": "python",
"pygments_lexer": "ipython3", "pygments_lexer": "ipython3",
"version": "3.13.1" "version": "3.11.7"
} }
}, },
"nbformat": 4, "nbformat": 4,
"nbformat_minor": 4 "nbformat_minor": 4
} }