empty_ccd_gap#

empty_ccd_gap(wave, flux, left=None, right=None, extended=30.0)[source]#

Ensure a 0 value in the gap between the ccd of HARPS s1d with extended=30 kms extension

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

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

  • left (Optional[Union[float, float64]]) – Wavelength of the left CCF gap.

  • right (Optional[Union[float, float64]]) – Wavelength of the right CCF gap.

  • extended (float) – Extension of the gap in kms.

Return type:

ndarray[Any, dtype[float64]]

Returns:

Flux values with null values inside the specified gap