flat_fielding#
- excalibuhr.utils.flat_fielding(det, err, flat, debug=False)[source]#
apply flat fielding
- Parameters:
det (array) – detector images
err (array) – the assciated errors to the input images
flat (array) – normalized flat frame (accounting for only the pixel-to-pixel variations)
- Returns:
im_corr, err_corr – images and errors corrected for flat
- Return type:
array