project_effs#
- cbclib.bin.project_effs(inp: numpy.ndarray, mask: numpy.ndarray, effs: numpy.ndarray, num_threads: int = 1)[source]#
Calculate a projection of eigen flat-fields
effson a set of 2D arraysinp.- Parameters
inp (numpy.ndarray) – A set of 2D arrays.
mask (numpy.ndarray) – A set of 2D masks.
effs (numpy.ndarray) – A set of eigen flat-fields.
num_threads (int) – A number of threads used in the computations.
- Returns
An output projection of eigen flat-fields.
- Return type