liger_iris_sim.expose.imager

Functions

expose_imager(source_image, itime, n_frames, ...)

liger_iris_sim.expose.imager.expose_imager(source_image: ndarray, itime: float, n_frames: int, collarea: float, sky_emission_rate: float, tput: float, read_noise: float, dark_current: float) dict[source]
Parameters:
  • source_image (np.ndarray) – source_image cube (y, x). Units are photons / sec / m^2.

  • itime (float) – Integration time (sec).

  • n_frames (int) – Number of frames to coadd together.

  • collarea (float) – Collimating area (m^2).

  • sky_emission_rate (np.ndarray) – The integrated sky background emission rate in units of photons / sec / m^2.

  • tput (float) – Total throughput (convert photons -> photoelectrons, e-).

  • read_noise (float) – The read noise in e- RMS.

  • dark_current (float) – The dark current in e- / sec.

Returns:

The final simulation and intermediate/ancillary products. Entries are:
  • sim_rate (np.ndarray): The simulated rate in e- / sec / wavebin.

  • sim_tot (np.ndarray): The simulated total in e- / wavebin.

  • observed_rate (np.ndarray): The observed rate in e- / sec / wavebin.

  • observed_tot (np.ndarray): The observed total in e- / wavebin.

  • source_rate (np.ndarray): The source rate in e- / sec / wavebin.

  • source_tot (np.ndarray): The source total in e- / wavebin.

  • dark_rate (float): The dark rate in e- / sec.

  • dark_tot (float): The dark total in e-.

  • sky_emission_rate (np.ndarray): The sky emission rate in e- / sec / wavebin.

  • sky_emission_tot (np.ndarray): The sky emission total in e- / wavebin.

  • snr (np.ndarray): The SNR of the simulation.

  • noise_rate (np.ndarray): The noise rate in e- / sec / wavebin.

  • noise_tot (np.ndarray): The noise total in e- / wavebin.

Return type:

dict