Skip to content

Commit

Permalink
Add MasterBias
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdstein committed Jul 29, 2022
1 parent 8c42ee8 commit f7264fb
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions winterdrp/processors/bias.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import numpy as np
import logging
from winterdrp.processors.base_processor import ProcessorWithCache
from winterdrp.processors.base_processor import ProcessorWithCache, ProcessorPremadeCache
from collections.abc import Callable
import astropy.io.fits
from winterdrp.processors.utils.image_selector import select_from_images
Expand Down Expand Up @@ -63,4 +63,8 @@ def make_image(
logger.info(f'Median combining {n_frames} biases')
master_bias = np.nanmedian(biases, axis=2)

return master_bias, headers[0]
return master_bias, headers[0]


class MasterBiasCalibrator(ProcessorPremadeCache, BiasCalibrator):
pass

0 comments on commit f7264fb

Please sign in to comment.