create_grid#

create_grid(wave_min, dwave, nb_bins)[source]#

Create an equidistant wavelength vector

Parameters:
  • wave_min (Union[float, float64]) – Minimum wavelength value

  • dwave (Union[float, float64]) – Wavelength step

  • nb_bins (int) – Length of the wavelength vector

Return type:

ndarray[Any, dtype[float64]]

Returns:

The vector containing the equidistant values.