liger_iris_sim.utils.meta_utils
Functions
|
Add exposure metadata to the meta dictionary (in-place). |
|
|
|
|
|
|
|
Add metadata to the meta dictionary (in-place). |
|
- 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.