acdc.predict_dark_level.linear_combination
- linear_combination(darks, coeffs)[source]
Scale and combine superdarks.
Scale multiple superdarks (typically 1 quiescent and 1 active superdark), then add them together to create a scaled model superdark for a particular science exposure.
- Parameters:
darks (list) – List of superdark images to scale and combine.
coeffs (list) – List of scale factors to apply to each superdark.
- Returns:
combined (array) – Scaled and combined model superdark.