punchbowl.level1.flow#
Functions#
|
Generate PSF model. |
|
Core flow for level 1. |
|
Core flow for level 0.5 also known as level H. |
Module Contents#
- punchbowl.level1.flow.generate_psf_model_core_flow(input_filepaths: list[str], masks: list[pathlib.Path | str] | numpy.ndarray | collections.abc.Generator = None, alpha: float = 2.0, epsilon: float = 0.3, image_shape: tuple[int, int] = (2048, 2048), psf_size: int = 32, target_fwhm: float = 3.25) regularizepsf.ArrayPSFTransform#
Generate PSF model.
- punchbowl.level1.flow.level1_core_flow(input_data: list[str] | list[ndcube.NDCube], gain_left: float = 4.9, gain_right: float = 4.9, dark_level: float = 55.81, read_noise_level: float = 17, bitrate_signal: int = 16, quartic_coefficient_path: str | pathlib.Path | collections.abc.Callable | None = None, despike_sigclip: float = 50, despike_sigfrac: float = 0.25, despike_objlim: float = 160.0, despike_niter: int = 10, despike_cleantype: str = 'meanmask', exposure_time: float = 49 * 1000, readout_line_time: float = 163 / 2148, reset_line_time: float = 163 / 2148, vignetting_function_path: str | collections.abc.Callable | None = None, stray_light_path: str | None = None, deficient_pixel_map_path: str | None = None, deficient_pixel_method: str = 'median', deficient_pixel_required_good_count: int = 3, deficient_pixel_max_window_size: int = 10, psf_model_path: str | collections.abc.Callable | None = None, distortion_path: str | None = None, output_filename: list[str] | None = None, max_workers: int | None = None, mask_path: str | None = None, pointing_shift: tuple[float, float] = (0, 0)) list[ndcube.NDCube]#
Core flow for level 1.
- punchbowl.level1.flow.levelh_core_flow(input_data: list[str] | list[ndcube.NDCube], gain_left: float = 4.9, gain_right: float = 4.9, bias_level: float = 100, dark_level: float = 55.81, read_noise_level: float = 17, bitrate_signal: int = 16, psf_model_path: str | None = None, output_filename: str | None = None) list[ndcube.NDCube]#
Core flow for level 0.5 also known as level H.