find_hole#

find_hole(wave, flux)[source]#

Finds a gap between CCD

Parameters:
  • wave (ndarray[Any, dtype[float64]]) – Wavelength array

  • flux (ndarray[Any, dtype[float64]]) – Flux array

Return type:

Tuple[float, float]

Returns:

The endpoints of the wavelength interval if the gap, or (-99.9, -99.9) if not found