liger_iris_sim.utils.meta_utils

Functions

get_exposure_meta([meta])

Add exposure metadata to the meta dictionary (in-place).

get_ifu_wcs_meta(meta, size, wave)

get_imager_wcs_meta(meta[, size])

get_instrument_meta([meta])

get_meta(meta, size[, wave])

Add metadata to the meta dictionary (in-place).

get_subarray_meta(meta)

liger_iris_sim.utils.meta_utils.get_meta(meta: dict, size, wave=None) dict[source]

Add metadata to the meta dictionary (in-place).

Parameters:
  • meta (dict) – The metadata dictionary to update. Must contain the following keys: - ‘exposure.exposure_time’: The exposure time in seconds. - ‘exposure.jd_start’: The Julian date of the start of the exposure.

  • wave (np.ndarray, optional) – The wavelength array for spectral data. If provided, the WCS metadata will include spectral information.