util_master_dark#
- excalibuhr.utils.util_master_dark(dt, combine_mode='median', badpix_clip=5)[source]#
combine dark frames; generate bad pixel map and readout noise frame
- Parameters:
dt (list) – a list of dark frames to be combined
combine_mode (str) – the way of combining dark frames: mean or median
badpix_clip (int) – sigma of bad pixel clipping
- Returns:
master, rons, badpix – combined dark frame, readout noise frame, and bad pixel map
- Return type:
array