9. Utility Functions¶
- pcassie.utility_functions.split_divide_by_median(wave, flux, m)[source]¶
Splits the spectrum into sections based on gaps in the wavelength array, normalizes each section by dividing by its median, and returns the normalized flux, the gap indices, and the segment index pairs (start, end).