IMAP-Science-Operations-Center / imap_processing

IMAP
MIT License
6 stars 16 forks source link

Ultra l1b: Add velocity magnitude #1140

Open laspsandoval opened 2 weeks ago

laspsandoval commented 2 weeks ago

Algorithm Description:

Line 488: annotated needs velocity (km/s) get_particle_velocity routine: normalized velocity - good for direction pulse height - larger for larger energies species bin maps to mass

v=dmin/ctof (Bob to check) energy_kev = 1/2m(kg)v(m/s)^2 (different from FSW results) need to be added to extended l1b Joules -> kev

def determine_species_pulse_height( pulse_height (name change): np.ndarray, tof: np.ndarray, path_length: np.ndarray ) -> NDArray:

def determine_species_ssd( ssd_energy: np.ndarray, tof: np.ndarray, path_length: np.ndarray ) -> NDArray:

Multiply the velocity magnitude by vx, vy, etc.