liger_iris_sim.expose.ifs

Functions

expose_ifs(source_cube[, itime, n_frames, ...])

expose_ifs(source_cube: ndarray, itime: float = 1.0, n_frames: int = 1, collarea: float = 1.0, sky_emission_rate: ndarray | float = 0.0, sky_transmission: ndarray | float = 1.0, tput: float = 1.0, read_noise: float = 0.0, dark_current: float = 0.0, num_detector_pixels: float = 1.0) dict[source]
Parameters:
  • source_cube (np.ndarray) – Source cube (wave, y, x). Units are photons / sec / m^2.

  • itime (float) – The exposure time in seconds. Default is 1.0 sec.

  • n_frames (int) – The total number of frames to coadd, each inducing a read noise. Default is 1.

  • collarea (float) – The telescope collimating area in units of m^2. Default is 1.0 m^2.

  • sky_emission_rate (float) – The background sky emission rate in units of photons / sec / m^2 / pixel. Default is 0.0.

  • tput (float) – The total throughput of the system. Default is 1.0.

  • read_noise (float) – The read noise in units of e- RMS. Default is 0.0.

  • dark_current (float) – The dark current rate in units of e- / sec / pixel. Default is 0.0.

Returns:

output (dict) –

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.

  • sky_transmission (np.ndarray): The normalized sky transmission.

  • 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.

  • read_noise_tot (float): The read noise contribution in e-.