Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

corrected blackbody luminosity density equation #2555

Merged
merged 4 commits into from
Mar 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ Barnabás Barna <[email protected]>

Caroline Sofiatti <[email protected]>

Cecelia Powers <[email protected]>

Chaitanya Kolliboyina <[email protected]>

Chinmay Talegaonkar <[email protected]>
Expand Down
4 changes: 2 additions & 2 deletions docs/physics/montecarlo/initialization.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
},
Expand All @@ -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",
Expand Down
Loading