From 9a616ef60f9af762a57441b94f0f158e9770d3a8 Mon Sep 17 00:00:00 2001 From: ceceliapowers Date: Wed, 20 Mar 2024 10:28:32 -0400 Subject: [PATCH 1/3] corrected blackbody luminostiy density equation --- docs/physics/montecarlo/initialization.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/physics/montecarlo/initialization.ipynb b/docs/physics/montecarlo/initialization.ipynb index 2ab262e6da1..cf1dd439dfe 100644 --- a/docs/physics/montecarlo/initialization.ipynb +++ b/docs/physics/montecarlo/initialization.ipynb @@ -216,7 +216,7 @@ "metadata": {}, "source": [ "We define important constants, and for comparison's sake, we code the Planck distribution function\n", - "$$L_\\nu (\\nu)=\\frac{8\\pi r_\\mathrm{boundary\\_inner}^2 h\\nu^3}{c^2}\\frac{1}{\\exp\\left(\\frac{h\\nu}{k_BT_\\mathrm{inner}}\\right)-1}$$\n", + "$$L_\\nu (\\nu)=\\frac{8\\pi^2 r_\\mathrm{boundary\\_inner}^2 h\\nu^3}{c^2}\\frac{1}{\\exp\\left(\\frac{h\\nu}{k_BT_\\mathrm{inner}}\\right)-1}$$\n", "where $L_\\nu$ is the luminosity density (see [Basic Spectrum Generation](../spectrum/basic.ipynb)) with respect to frequency, $\\nu$ is frequency, $h$ is Planck's constant, $c$ is the speed of light, and $k_B$ is Boltzmann's constant:\n" ] }, From ed7de3112cd0bd022109bb8735384491adede663 Mon Sep 17 00:00:00 2001 From: ceceliapowers Date: Wed, 20 Mar 2024 10:54:27 -0400 Subject: [PATCH 2/3] Changed the equation in notebook cell --- docs/physics/montecarlo/initialization.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/physics/montecarlo/initialization.ipynb b/docs/physics/montecarlo/initialization.ipynb index 893abe7d200..cf1dd439dfe 100644 --- a/docs/physics/montecarlo/initialization.ipynb +++ b/docs/physics/montecarlo/initialization.ipynb @@ -237,7 +237,7 @@ "def planck_function(nu):\n", " return (\n", " 8\n", - " * np.pi\n", + " * np.pi**2\n", " * r_boundary_inner**2\n", " * h\n", " * nu**3\n", From 3805e49ef9ee8ba1289450cfd7e3207c35960431 Mon Sep 17 00:00:00 2001 From: ceceliapowers Date: Wed, 20 Mar 2024 18:01:44 -0400 Subject: [PATCH 3/3] Added my email to the file --- .mailmap | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.mailmap b/.mailmap index b4a69963c7d..2a7b81eb693 100644 --- a/.mailmap +++ b/.mailmap @@ -48,6 +48,8 @@ Barnabás Barna Caroline Sofiatti +Cecelia Powers + Chaitanya Kolliboyina <61906444+chaitanya-kolliboyina@users.noreply.github.com> Chinmay Talegaonkar