Coverage report: 28%

Files Functions Classes

coverage.py v7.15.2, created at 2026-07-23 03:50 +0000

File function   statements missing excluded   coverage
src/precon3d/__init__.py (no function)   0 0 0   100%
src/precon3d/_my_typer_cli.py CustomCLIGroup.list_commands   1 1 0   0%
src/precon3d/_my_typer_cli.py CustomCLIGroup.format_help   1 1 0   0%
src/precon3d/_my_typer_cli.py CustomCLIGroup.get_help   3 3 0   0%
src/precon3d/_my_typer_cli.py CustomCLIGroup.show_help   20 20 0   0%
src/precon3d/_my_typer_cli.py CustomCLIGroup.format_exception   1 1 0   0%
src/precon3d/_my_typer_cli.py CustomCLIGroup.resolve_command   8 8 0   0%
src/precon3d/_my_typer_cli.py CustomCLIGroup.main   6 6 0   0%
src/precon3d/_my_typer_cli.py CustomCLICommand.__init__   3 3 0   0%
src/precon3d/_my_typer_cli.py CustomCLICommand.parse_args   6 6 0   0%
src/precon3d/_my_typer_cli.py CustomCLICommand.invoke   6 6 0   0%
src/precon3d/_my_typer_cli.py CustomCLICommand.format_help   1 1 0   0%
src/precon3d/_my_typer_cli.py CustomCLICommand.get_help   2 2 0   0%
src/precon3d/_my_typer_cli.py CustomCLICommand.show_help   21 21 0   0%
src/precon3d/_my_typer_cli.py CustomCLICommand.format_exception   1 1 0   0%
src/precon3d/_my_typer_cli.py (no function)   39 0 0   100%
src/precon3d/aligner.py create_aligner_attrs   1 1 0   0%
src/precon3d/aligner.py DeltaTranslation.__str__   1 1 0   0%
src/precon3d/aligner.py apply_shift   3 3 0   0%
src/precon3d/aligner.py pad_arrays_to_match   21 21 0   0%
src/precon3d/aligner.py calc_shift_max   6 6 0   0%
src/precon3d/aligner.py calc_shift_max.neg_product_sum   5 5 0   0%
src/precon3d/aligner.py pystackreg_shift   7 7 0   0%
src/precon3d/aligner.py optimize_shift   11 11 0   0%
src/precon3d/aligner.py optimize_shift.objective_function   5 5 0   0%
src/precon3d/aligner.py calc_shifts_phase_corr   11 3 0   73%
src/precon3d/aligner.py coarse_calc_shifts_phase_corr   14 14 0   0%
src/precon3d/aligner.py calc_shifts_phase_corr_pyramid   17 3 0   82%
src/precon3d/aligner.py calc_shifts_using_keypoints   45 45 0   0%
src/precon3d/aligner.py calc_shifts_turboreg   54 54 0   0%
src/precon3d/aligner.py apply_all_shifts   21 21 0   0%
src/precon3d/aligner.py list_to_numpy_array   2 2 0   0%
src/precon3d/aligner.py numpy_array_to_list   1 1 0   0%
src/precon3d/aligner.py align_image_stack_turboreg   8 8 0   0%
src/precon3d/aligner.py align_image_stack_sift   8 8 0   0%
src/precon3d/aligner.py align_image_stack_phasecorr   8 8 0   0%
src/precon3d/aligner.py process_images   22 22 0   0%
src/precon3d/aligner.py callback   0 0 0   100%
src/precon3d/aligner.py (no function)   67 0 0   100%
src/precon3d/cropper.py create_cropper_attrs   1 1 0   0%
src/precon3d/cropper.py crop_image_stack   22 22 0   0%
src/precon3d/cropper.py crop_image   7 7 0   0%
src/precon3d/cropper.py process_images   9 9 0   0%
src/precon3d/cropper.py callback   0 0 0   100%
src/precon3d/cropper.py (no function)   28 28 0   0%
src/precon3d/custom_types.py ValueExpectedTrueError.__init__   2 2 0   0%
src/precon3d/custom_types.py BoundingBox.__str__   1 0 0   100%
src/precon3d/custom_types.py ChannelMetadata.__str__   1 0 0   100%
src/precon3d/custom_types.py SceneMetadata.__str__   1 0 0   100%
src/precon3d/custom_types.py CZIMetadata.__str__   11 2 0   82%
src/precon3d/custom_types.py (no function)   130 0 0   100%
src/precon3d/czi_info.py czidims   19 4 0   79%
src/precon3d/czi_info.py get_dims   1 0 0   100%
src/precon3d/czi_info.py acquisition_date_and_time   5 0 0   100%
src/precon3d/czi_info.py simple_metadata   12 2 0   83%
src/precon3d/czi_info.py average_slice_heights   29 2 0   93%
src/precon3d/czi_info.py scene_support_points   14 0 0   100%
src/precon3d/czi_info.py scene_support_points_global   13 0 0   100%
src/precon3d/czi_info.py channel_metadata   12 0 0   100%
src/precon3d/czi_info.py scene_metadata   9 0 0   100%
src/precon3d/czi_info.py metadata_as_xml   7 0 0   100%
src/precon3d/czi_info.py save_tiles   13 0 0   100%
src/precon3d/czi_info.py save_tile_by_idx   15 15 0   0%
src/precon3d/czi_info.py callback   0 0 0   100%
src/precon3d/czi_info.py (no function)   38 1 0   97%
src/precon3d/downscaler.py create_downscaler_attrs   1 1 0   0%
src/precon3d/downscaler.py downscale_image_stack   20 20 0   0%
src/precon3d/downscaler.py find_new_image_dimensions   5 5 0   0%
src/precon3d/downscaler.py calculate_new_dimension   11 11 0   0%
src/precon3d/downscaler.py calculate_new_dimension.adjust_size   5 5 0   0%
src/precon3d/downscaler.py downscale_image   3 3 0   0%
src/precon3d/downscaler.py calculate_crop   6 6 0   0%
src/precon3d/downscaler.py process_images   9 9 0   0%
src/precon3d/downscaler.py callback   0 0 0   100%
src/precon3d/downscaler.py (no function)   30 30 0   0%
src/precon3d/factory.py create_general_attrs   1 1 0   0%
src/precon3d/factory.py create_stitching_parameters   9 9 0   0%
src/precon3d/factory.py create_shading_parameters   58 58 0   0%
src/precon3d/factory.py create_resampler_parameters   3 3 0   0%
src/precon3d/factory.py (no function)   7 0 0   100%
src/precon3d/main.py callback   0 0 0   100%
src/precon3d/main.py (no function)   18 18 0   0%
src/precon3d/mosaic_utils.py flatten_list   6 6 0   0%
src/precon3d/mosaic_utils.py merge_tile_arrays   6 1 0   83%
src/precon3d/mosaic_utils.py unpack_tilestack   7 7 0   0%
src/precon3d/mosaic_utils.py group_tile_arrays   1 1 0   0%
src/precon3d/mosaic_utils.py tile_region_array_data   17 1 0   94%
src/precon3d/mosaic_utils.py visualize_tilestacks   16 16 0   0%
src/precon3d/mosaic_utils.py view_image_stack   16 16 0   0%
src/precon3d/mosaic_utils.py view_image_stack._on_close   3 3 0   0%
src/precon3d/mosaic_utils.py view_image_stack._update   4 4 0   0%
src/precon3d/mosaic_utils.py view_image_stack._on_release   1 1 0   0%
src/precon3d/mosaic_utils.py simple_mosaic_from_tilestack   20 20 0   0%
src/precon3d/mosaic_utils.py stitch_tiles_from_positions   28 28 0   0%
src/precon3d/mosaic_utils.py extract_substring   1 0 0   100%
src/precon3d/mosaic_utils.py ai_tilestack   1 0 0   100%
src/precon3d/mosaic_utils.py simple_tilestack   10 0 0   100%
src/precon3d/mosaic_utils.py align_tilestack_positions   37 37 0   0%
src/precon3d/mosaic_utils.py stitch_tilestack   2 2 0   0%
src/precon3d/mosaic_utils.py save_tilestack   5 0 0   100%
src/precon3d/mosaic_utils.py save_stitched_mosaic   8 8 0   0%
src/precon3d/mosaic_utils.py normalize_images   4 4 0   0%
src/precon3d/mosaic_utils.py downsample_image   6 6 0   0%
src/precon3d/mosaic_utils.py prepare_and_save_image   12 12 0   0%
src/precon3d/mosaic_utils.py ezshow   6 6 0   0%
src/precon3d/mosaic_utils.py (no function)   39 0 0   100%
src/precon3d/post_stitch_utils.py rotate_image_deg   10 10 0   0%
src/precon3d/post_stitch_utils.py rotate_image_deg_imageio   4 4 0   0%
src/precon3d/post_stitch_utils.py rotate_and_save_tiff   10 10 0   0%
src/precon3d/post_stitch_utils.py rotate_images_by_filename   11 11 0   0%
src/precon3d/post_stitch_utils.py rotate_and_save_single_image_by_filename   8 8 0   0%
src/precon3d/post_stitch_utils.py rotate_save_pad_single_image_by_filename   23 23 0   0%
src/precon3d/post_stitch_utils.py pad_images_to_max_extent   21 21 0   0%
src/precon3d/post_stitch_utils.py image_max_extent   9 9 0   0%
src/precon3d/post_stitch_utils.py image_max_extent.get_image_size   2 2 0   0%
src/precon3d/post_stitch_utils.py pad_and_save_image_equal   13 13 0   0%
src/precon3d/post_stitch_utils.py filter_and_sort_file_paths   3 3 0   0%
src/precon3d/post_stitch_utils.py append_deg_suffix_and_rename   14 14 0   0%
src/precon3d/post_stitch_utils.py rotate_images_by_filename_parallel   4 4 0   0%
src/precon3d/post_stitch_utils.py pad_images_to_max_extent_parallel   5 5 0   0%
src/precon3d/post_stitch_utils.py combined_image_padding_and_rotation_parallel   4 4 0   0%
src/precon3d/post_stitch_utils.py callback   0 0 0   100%
src/precon3d/post_stitch_utils.py visualize_rgb   30 30 0   0%
src/precon3d/post_stitch_utils.py visualize_spectra   13 13 0   0%
src/precon3d/post_stitch_utils.py load_pol_images   6 6 0   0%
src/precon3d/post_stitch_utils.py varimax   12 12 0   0%
src/precon3d/post_stitch_utils.py colorize_pca_varimax   22 22 0   0%
src/precon3d/post_stitch_utils.py mcr_als   13 13 0   0%
src/precon3d/post_stitch_utils.py mcr_als_lstsq   13 13 0   0%
src/precon3d/post_stitch_utils.py colorize_mcr_als   15 15 0   0%
src/precon3d/post_stitch_utils.py apply_loading   15 15 0   0%
src/precon3d/post_stitch_utils.py (no function)   55 55 0   0%
src/precon3d/resampler.py tileregion_support_points   18 18 0   0%
src/precon3d/resampler.py tileregion_support_points.zero_pad   1 1 0   0%
src/precon3d/resampler.py fit_plane   13 13 0   0%
src/precon3d/resampler.py fit_plane_and_plot   33 33 0   0%
src/precon3d/resampler.py save_czi_tileregion_support_points   33 33 0   0%
src/precon3d/resampler.py plot_support_points   12 12 0   0%
src/precon3d/resampler.py plot_support_points_and_metadata   43 43 0   0%
src/precon3d/resampler.py plot_support_points_and_metadata.parse_normal_vector   5 5 0   0%
src/precon3d/resampler.py plot_support_points_and_metadata.reduce_filename_length_vectorized   6 6 0   0%
src/precon3d/resampler.py save_support_point_info   30 30 0   0%
src/precon3d/resampler.py dump_czi_support_point_info   12 12 0   0%
src/precon3d/resampler.py dump_file_info_to_csv   15 15 0   0%
src/precon3d/resampler.py dump_scene_support_point_info   11 0 0   100%
src/precon3d/resampler.py raw_z_heights   9 9 0   0%
src/precon3d/resampler.py process_scene_resample   33 33 0   0%
src/precon3d/resampler.py scene_resample_simple   13 0 0   100%
src/precon3d/resampler.py fit_linear_segments   11 0 0   100%
src/precon3d/resampler.py fit_linear_segments.error_function   3 0 0   100%
src/precon3d/resampler.py callback   0 0 0   100%
src/precon3d/resampler.py (no function)   55 0 0   100%
src/precon3d/shading_correction.py subimages_similar_by_ssim   15 15 0   0%
src/precon3d/shading_correction.py downselect_tiles   38 38 0   0%
src/precon3d/shading_correction.py downselect_tiles_in_directory   15 15 0   0%
src/precon3d/shading_correction.py downselect_tiles_in_directory_parallel   4 4 0   0%
src/precon3d/shading_correction.py downselect_tiles_in_directory_parallel._compare_image_with_ssim   12 12 0   0%
src/precon3d/shading_correction.py downselect_tiles_using_reference_channel   31 31 0   0%
src/precon3d/shading_correction.py estimate_shading_correction   19 19 0   0%
src/precon3d/shading_correction.py estimate_shading_correction_v2   30 30 0   0%
src/precon3d/shading_correction.py estimate_basic_shading_correction   17 17 0   0%
src/precon3d/shading_correction.py reorganize_tiles_by_channel   14 14 0   0%
src/precon3d/shading_correction.py combine_rgb_channels   8 8 0   0%
src/precon3d/shading_correction.py separate_color_channels   25 25 0   0%
src/precon3d/shading_correction.py (no function)   43 0 0   100%
src/precon3d/stitcher.py save_simple_color_mosaic   14 14 0   0%
src/precon3d/stitcher.py save_simple_mosaic   25 25 0   0%
src/precon3d/stitcher.py normalize_simple_tilestacks   18 18 0   0%
src/precon3d/stitcher.py stitch_simple_tilestacks_with_reference_channel   10 10 0   0%
src/precon3d/stitcher.py stitch_and_save_mosaic   16 16 0   0%
src/precon3d/stitcher.py stitch_save_tilearray_by_idx   5 5 0   0%
src/precon3d/stitcher.py start_stitcher_parallel   15 15 0   0%
src/precon3d/stitcher.py process_images   8 8 0   0%
src/precon3d/stitcher.py stitch_czi   12 12 0   0%
src/precon3d/stitcher.py check_tilearray   3 3 0   0%
src/precon3d/stitcher.py (no function)   32 1 0   97%
src/precon3d/utility.py valid_enum_entry   1 1 0   0%
src/precon3d/utility.py user_settings   6 6 0   0%
src/precon3d/utility.py current_date_and_time   4 4 0   0%
src/precon3d/utility.py natural_key   1 0 0   100%
src/precon3d/utility.py convert_gray_to_8bit   20 20 0   0%
src/precon3d/utility.py read_config   6 6 0   0%
src/precon3d/utility.py n_files   3 3 0   0%
src/precon3d/utility.py sorted_files   7 1 0   86%
src/precon3d/utility.py remove_matching_filenames   4 4 0   0%
src/precon3d/utility.py downselect_paths   8 8 0   0%
src/precon3d/utility.py rmdir   7 0 0   100%
src/precon3d/utility.py string_to_float_list   2 0 0   100%
src/precon3d/utility.py yes_no   8 0 0   100%
src/precon3d/utility.py prepend_filenames   8 8 0   0%
src/precon3d/utility.py rename_files_sequentially   8 8 0   0%
src/precon3d/utility.py check_image_sizes   15 15 0   0%
src/precon3d/utility.py check_image_sizes.get_image_size   2 2 0   0%
src/precon3d/utility.py determine_image_type   5 5 0   0%
src/precon3d/utility.py reorganize_images_by_type   15 15 0   0%
src/precon3d/utility.py reorganize_images_by_keyword   13 13 0   0%
src/precon3d/utility.py find_missing_files   26 26 0   0%
src/precon3d/utility.py extract_significant_part   4 4 0   0%
src/precon3d/utility.py compare_directories   11 11 0   0%
src/precon3d/utility.py crop_to_dim   24 24 0   0%
src/precon3d/utility.py image_min_extent   10 10 0   0%
src/precon3d/utility.py image_min_extent.get_image_size   2 2 0   0%
src/precon3d/utility.py get_unique_lowest_level_subfolder_names   9 9 0   0%
src/precon3d/utility.py merge_bf_df   20 20 0   0%
src/precon3d/utility.py run_on_local_machine   2 0 0   100%
src/precon3d/utility.py run_on_local_machine.wrapper_func   5 1 0   80%
src/precon3d/utility.py callback   0 0 0   100%
src/precon3d/utility.py (no function)   62 1 0   98%
Total     2737 1962 0   28%

No items found using the specified filter.