pynrc.reduce.calib.calc_eff_noise

pynrc.reduce.calib.calc_eff_noise(allfiles, superbias=None, temporal=True, spatial=True, ng_all=None, DMS=False, kw_ref=None, std_func=<function medabsdev>, kernel_ipc=None, kernel_ppc=None, read_pattern='RAPID')[source]

Determine Effective Noise

Calculates the slope noise (in DN/sec) assuming a linear fits to a variety number of groups. The idea is to visualize the reduction in noise as you increase the number of groups in the fit and compare it to theoretical predictions (ie., slope noise formula).

Parameters
  • allfiles (list) – List of input file names.

  • DMS (bool) – Are files DMS formatted?

  • superbias (ndarray) – Super bias to subtract from each dataset.

  • temporal (bool) – Calculate slope noise using pixels’ temporal distribution?

  • spatial (bool) – Calcualte slope noise using pixel spatial distribution?

  • ng_all (array-like) – Array of group to perform linear fits for slope calculations.

  • kw_ref (dict) – Dictionary of keywords to pass to reference correction routine.

  • std_func (func) – Function for calculating spatial distribution.

  • kernel_ipc (ndarray) – IPC kernel to perform deconvolution on slope images.

  • kernel_ppc (ndarray) – Similar to kernel_ipc except for PPC.

  • read_pattern (string) – Reformulate data as if it were acquired using a read pattern other than RAPID.