acdc.predict_dark_level.predict_dark

predict_dark(corrtags, superdarks, segment=None, hv=None, outdir='.', binned=False, overwrite=False, exclude_airglow=False, x_bin=12, y_bin=20)[source]

Model the superdark for each input science corrtag.

Use the active and quiescent superdarks of the appropriate segment+HV combination to determine the best predicted superdark model for each science corrtag.

Parameters:
  • corrtags (list or array-like) – Predict the model superdark for these corrtags.

  • superdarks (list or array-like) – Superdarks to use for modeling.

  • segment (str) – (Optional) Process corrtags of this segment only.

  • hv (str) – (Optional) Process corrtags of this HV only.

  • outdir (str) – (Optional) Output directory to write products and plots. Default is current working directory.

  • binned (Bool) – (Optional) If True, indicates input superdarks are already binned. If False, input superdarks will be binned on the fly.

  • overwrite (Bool) – If True, overwrite any pre-existing products.