Skip to content

Refactor Background

Hugo Buddelmeijer requested to merge hb/refactorbackground into master

Closes #151 (closed), #19 (closed), #67 (closed).

Changes:

  • A separate template for the off-axis background determination.
  • Rewrite of the derive background and apply background.
  • Replace add_background_layer with subtract_background, because that better reflects the action.
  • Perform the background subtraction when determining the illumination correction.

TODO in (probably another MR):

  • make it technically possible to use the science data for background correction
  • creating the catalog for the illumination correction is now technically not possible, need to fix that at some point
  • perhaps create a new recipe that combines Detrend and DetrendFinal, e.g. DetrendFull or so (as described in #76 (closed)), however this does not add that much, because the current Detrend recipe should still exist, e.g. for the background determination and illumination correction derivation.

@verdoes can you review this?

Perhaps the easiest would be to start with the association matrices:

Edited by Hugo Buddelmeijer

Merge request reports