Skip to content

Commit

Permalink
remove deug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
Atharva Arya committed Dec 26, 2024
1 parent c6b9d1b commit efc2524
Show file tree
Hide file tree
Showing 2 changed files with 367 additions and 3 deletions.
364 changes: 364 additions & 0 deletions jb.log

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -112,14 +112,14 @@ def update_line_estimators(
else:
energy = calc_packet_energy_full_relativity(r_packet)

print(f"[J_BLUE_DEBUG] Updating j_blue_estimator at line_id={cur_line_id}, shell_id={r_packet.current_shell_id}")
print(f"[J_BLUE_DEBUG] Adding value: {energy/r_packet.nu}")
# print(f"[J_BLUE_DEBUG] Updating j_blue_estimator at line_id={cur_line_id}, shell_id={r_packet.current_shell_id}")
# print(f"[J_BLUE_DEBUG] Adding value: {energy/r_packet.nu}")

radfield_mc_estimators.j_blue_estimator[
cur_line_id, r_packet.current_shell_id
] += (energy / r_packet.nu)

print(f"[J_BLUE_DEBUG] New value at position: {radfield_mc_estimators.j_blue_estimator[cur_line_id, r_packet.current_shell_id]}")
# print(f"[J_BLUE_DEBUG] New value at position: {radfield_mc_estimators.j_blue_estimator[cur_line_id, r_packet.current_shell_id]}")
radfield_mc_estimators.Edotlu_estimator[
cur_line_id, r_packet.current_shell_id
] += energy

0 comments on commit efc2524

Please sign in to comment.