Skip to content

Commit

Permalink
remove debugging print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
phoebe-p committed Sep 25, 2024
1 parent ae788c7 commit 965c873
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions rayflare/ray_tracing/rt_structure.py
Original file line number Diff line number Diff line change
Expand Up @@ -737,8 +737,6 @@ def parallel_inner(
else:
# TODO: not sure this condition makes sense
continue_wl = np.sum(existing_rays.I) > I_thresh
print("new wl", continue_wl)
print(existing_rays.I)
n_remaining = 0
prop_rays_analytical = True

Expand Down Expand Up @@ -1356,7 +1354,6 @@ def single_ray_stack(
# choose a direction randomly, with probability determined by Lambertian scattering
stop = True
ray.I, theta, A_per_layer = decide_end(abs_power, A_per_layer, ray.I)
print("maximum passes reached")


# print("Ray ending with pol:", norm(ray.s_vector)**2, norm(ray.p_vector)**2)
Expand Down
2 changes: 1 addition & 1 deletion rayflare/rigorous_coupled_wave_analysis/rcwa.py
Original file line number Diff line number Diff line change
Expand Up @@ -1590,7 +1590,7 @@ def RCWA_structure_wl(
detailed_rcwa,
S4_options,
):
print("wl")

def vs_pol(s, p):
S.SetExcitationPlanewave((theta, phi), s, p, 0)
S.SetFrequency(1 / wl)
Expand Down

0 comments on commit 965c873

Please sign in to comment.