Skip to content

Commit

Permalink
standard workflow debugging 6
Browse files Browse the repository at this point in the history
  • Loading branch information
Atharva Arya committed Dec 27, 2024
1 parent b199996 commit e99775d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tardis/util/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,9 +309,12 @@ def intensity_black_body(nu, temperature):
Returns the intensity of the black body
"""
print("======================Entering intensity_black_body======================")
print(f"k_B_cgs = {k_B_cgs}")
print(f"temperature = {temperature}")
beta_rad = 1 / (k_B_cgs * temperature)
print(f"beta_rad = {beta_rad}")

print(f"h_cgs = {h_cgs}")
print(f"c_cgs = {c_cgs}")
coefficient = 2 * h_cgs / c_cgs**2
print(f"coefficient = {coefficient}")

Expand Down

0 comments on commit e99775d

Please sign in to comment.