punchbowl.level1.flow#

Functions#

generate_psf_model_core_flow(, psf_size, target_fwhm)

Generate PSF model.

level1_core_flow(→ list[ndcube.NDCube])

Core flow for level 1.

levelh_core_flow(→ list[ndcube.NDCube])

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, bias_level: float = 100, 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_unsharp_size: int = 1, despike_method: str = 'median', despike_alpha: float = 10, despike_dilation: int = 0, 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, output_filename: list[str] | None = None, max_workers: int | None = None) 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.