Skip to content

Commit

Permalink
Update radial.py
Browse files Browse the repository at this point in the history
Fix reference to old PROPOSAL vector object
  • Loading branch information
jlazar17 authored May 2, 2024
1 parent 1cf8119 commit 91bd086
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions taurunner/track/radial.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ def x_to_r(self, x: float):
return x*(1-self.depth)

def x_to_pp_dir(self, x: float):
dir_vec = pp.Vector3D(0, 0., 1.)
dir_vec = pp.Cartesian3D(0, 0., 1.)
return dir_vec

def x_to_pp_pos(self, x:float, rad: float):
#compute direction and position in proposal body
phi = 2.*self.theta
pos_vec = pp.Vector3D(0,
pos_vec = pp.Cartesian3D(0,
0,
x*rad*(1-self.depth)
)
Expand Down

0 comments on commit 91bd086

Please sign in to comment.