opticam_new.reduction.correctors
Classes
Helper class for performing flat-field corrections on OPTICAM images. |
Module Contents
- class opticam_new.reduction.correctors.FlatFieldCorrector(out_dir, flats_dir=None, c1_flats_dir=None, c2_flats_dir=None, c3_flats_dir=None)
Helper class for performing flat-field corrections on OPTICAM images.
- Parameters:
out_dir (str)
flats_dir (str | None)
c1_flats_dir (str | None)
c2_flats_dir (str | None)
c3_flats_dir (str | None)
- out_dir
- flat_paths
- master_flats
- _validate_flat_files(flat_paths)
Ensure that the flat-field images in the specified directory are valid (i.e., contain at most three filters and use the same binning).
Parameters
- flat_pathsList[str]
The paths to the flat-field images.
Returns
- Dict[str, List[str]]
A dictionary containing the paths to the flat-field images for each filter.
- Parameters:
flat_paths (List[str])
- Return type:
Dict[str, List[str]]