liger_iris_sim.sky.gemini

Functions

get_gemini_background(wave[, resolution])

Get the Gemini background spectrum resampled onto wave.

_get_gemini_sky_filepath()[source]
_load_gemini_sky()[source]

Load the Gemini sky spectrum from a FITS file. The spectrum is in units of J / (s * m^2 * micron * arcsec^2).

Returns:
  • wave (np.ndarray) – The wavelength array in microns.

  • sky_gemini (np.ndarray) – The Gemini sky spectrum in units of J / (s * m^2 * micron * arcsec^2).

get_gemini_background(wave: ndarray, resolution: float | None = None) ndarray[source]

Get the Gemini background spectrum resampled onto wave. The output spectrum is in units of photons / (s * m^2 * arcsec^2).

Parameters:

wave (np.ndarray) – The wavelength array.

Returns:

gem_sky (np.ndarray) – The Gemini background spectrum binned on the input wave grid.