interpolatex¶
- gdt.missions.fermi.gbm.localization.dol.legacy_functions.interpolatex(int_size, inter_array, apply_array, bit_along)[source]¶
Interpolate between 2 values by weighting by distance between 2 pts.
- Parameters:
int_size (int32) – Length of inter_arr between which we’re interpolating
inter_array (np.ndarray(int_size, float32)) – Array of bin endpoints between which we’ll interpolate
apply_array (np.ndarray((ldet, npoints, int_size - 1), float32)) – Array with contents for each bin.
bit_along (np.ndarray((ldet, npoints), float32)) – Distance of bin along inter_array
- Returns:
value (float32, np.ndarray(float32)) – Interpolated value(s)