Skip to content

Commit

Permalink
response to pr
Browse files Browse the repository at this point in the history
  • Loading branch information
laspsandoval committed Aug 13, 2024
1 parent e49ea00 commit 5cea904
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions imap_processing/ultra/l1b/ultra_l1b_extended.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ def get_front_x_position(start_type: ndarray, start_position_tdc: ndarray) -> nd
xft_off = np.where(start_type[indices] == 1, xft_lt_off, xft_rt_off)

# Calculate xf and convert to hundredths of a millimeter
xf = (xftsc * -start_position_tdc[indices] + xft_off) * 100
xf: ndarray = (xftsc * -start_position_tdc[indices] + xft_off) * 100

return np.asarray(xf, dtype=np.float64)
return xf


def get_front_y_position(start_type: ndarray, yb: ndarray) -> tuple[ndarray, ndarray]:
Expand Down

0 comments on commit 5cea904

Please sign in to comment.