Skip to content

Commit

Permalink
more jit, bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
phoebe-p committed Aug 22, 2024
1 parent c1c7453 commit 0795730
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion rayflare/ray_tracing/rt_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ def RT(
nks,
surfaces,
pol,
(np.pi / 2) / options.lookuptable_angles,
phi_sym,
theta_intv,
phi_intv,
Expand Down Expand Up @@ -282,6 +283,7 @@ def RT_wl(
nks,
surfaces,
pol,
d_theta,
phi_sym,
theta_intv,
phi_intv,
Expand Down Expand Up @@ -330,6 +332,7 @@ def RT_wl(
phi,
surfaces,
pol,
d_theta,
wl,
Fr_or_TMM,
lookuptable_wl_sp,
Expand Down Expand Up @@ -599,7 +602,7 @@ def select_func(x, const_params):


def single_ray_interface(
x, y, nks, r_a_0, theta, phi, surfaces, pol, wl, Fr_or_TMM, lookuptable
x, y, nks, r_a_0, theta, phi, surfaces, pol, d_theta, wl, Fr_or_TMM, lookuptable
):
direction = 1 # start travelling downwards; 1 = down, -1 = up
mat_index = 0 # start in first medium
Expand Down Expand Up @@ -635,6 +638,7 @@ def single_ray_interface(
surf.Ly,
direction,
surf.zcov,
d_theta,
0,
wl,
Fr_or_TMM,
Expand Down

0 comments on commit 0795730

Please sign in to comment.