get_good_angle

gdt.missions.fermi.gbm.localization.dol.legacy_functions.get_good_angle(input_xyz1, input_xyz2)[source]

Given 2 Cartesian (unit or not) vectors, return angle between them.

Parameters:
  • input_xyz1 (np.ndarray(float32)) – First positional vector

  • input_xyz2 (np.ndarray(float32)) – Second positional vector

Returns:

good_angle (float32) – Angle between the vectors in degrees