pynrc.simul.ngNRC.sim_image_ramp

pynrc.simul.ngNRC.sim_image_ramp(det, im_slope, verbose=False, **kwargs)[source]

Simulate an image ramp based on input det class and slope image. Uses the sim_dark_ramp function. By default, returns ramp in terms of e- using gain information provide in det input. To return in terms of ADU, set out_ADU=True (divides by gain).

Parameters
  • det (Detector Class) – Desired detector class output

  • im_slope (ndarray) – Input slope image (e-/sec). NOTE - This is different than sim_dark_ramp, which assumed DN/sec. Can either be full frame or match det subarray. Returns det subarray shape.

  • include_poisson (bool) – Include Poisson noise from photons? Default: True.

Keyword Arguments
  • out_ADU (bool) – Divides by gain to get output value in ADU (float).

  • verbose (bool) – Print some messages.