pynrc.reduce.calib.gen_super_bias

pynrc.reduce.calib.gen_super_bias(allfiles, DMS=False, mn_func=<function median>, std_func=<function std>, return_std=False, deg=1, nsplit=3, **kwargs)[source]

Generate a Super Bias Image

Read in a number of dark ramps, perform a polynomial fit to the data, and return the average of all bias offsets. This a very simple procedure that is useful for estimating an initial bias image. Will not work well for weird pixels.