Coverage report: 82%

Files Functions Classes

coverage.py v7.14.1, created at 2026-06-24 01:54 -0700

      Statements   Branches   Total
File function   coverage statements missing excluded   coverage branches partial   coverage
metadetect/tests/__init__.py (no function)   100% 0 0 0   100% 0 0   100%
metadetect/tests/sim.py Sim.__init__   88% 8 1 0   50% 2 1   80%
metadetect/tests/sim.py Sim.get_mbobs   100% 17 0 0   100% 2 0   100%
metadetect/tests/sim.py Sim._get_r50   100% 1 0 0   100% 0 0   100%
metadetect/tests/sim.py Sim._get_flux   100% 1 0 0   100% 0 0   100%
metadetect/tests/sim.py Sim._get_fracdev   100% 1 0 0   100% 0 0   100%
metadetect/tests/sim.py Sim._get_g   100% 1 0 0   100% 0 0   100%
metadetect/tests/sim.py Sim._get_dxdy   100% 1 0 0   100% 0 0   100%
metadetect/tests/sim.py Sim._get_band_objects   100% 23 0 0   100% 4 0   100%
metadetect/tests/sim.py Sim._set_wcs   100% 1 0 0   100% 0 0   100%
metadetect/tests/sim.py Sim._make_psf   100% 10 0 0   100% 0 0   100%
metadetect/tests/sim.py make_mbobs_sim   100% 28 0 0   100% 8 0   100%
metadetect/tests/sim.py (no function)   100% 17 0 0   100% 0 0   100%
metadetect/tests/test_fitting.py _print_res   100% 8 0 0   100% 8 0   100%
metadetect/tests/test_fitting.py test_fit_all_psfs_same   100% 7 0 0   100% 4 0   100%
metadetect/tests/test_fitting.py test_fitting_fit_mbobs_wavg_flagging_nodata   100% 44 0 0   100% 18 0   100%
metadetect/tests/test_fitting.py test_fitting_fit_mbobs_wavg_flagging_edge   100% 53 0 0   100% 24 0   100%
metadetect/tests/test_fitting.py test_fitting_fit_mbobs_wavg_flagging_zeroweight   100% 51 0 0   100% 24 0   100%
metadetect/tests/test_fitting.py test_fitting_fit_mbobs_wavg_flagging_combined   100% 83 0 0   100% 28 0   100%
metadetect/tests/test_fitting.py test_fitting_combine_fit_results_wavg_flagging   100% 17 0 0   100% 6 0   100%
metadetect/tests/test_fitting.py test_fitting_combine_fit_results_wavg_flagging._check_flags   75% 16 4 0   62% 16 2   69%
metadetect/tests/test_fitting.py test_fitting_sum_bands_wavg_weighting   100% 33 0 0   100% 14 0   100%
metadetect/tests/test_fitting.py test_fitting_symmetrize_obs_weights_all_zero   100% 13 0 0   100% 0 0   100%
metadetect/tests/test_fitting.py test_fitting_symmetrize_obs_weights_none   100% 6 0 0   100% 0 0   100%
metadetect/tests/test_fitting.py test_fitting_symmetrize_obs_weights   100% 8 0 0   100% 0 0   100%
metadetect/tests/test_fitting.py test_fitting_fit_mbobs_wavg_wmom_tratio   100% 13 0 0   100% 0 0   100%
metadetect/tests/test_fitting.py test_make_mom_res   100% 56 0 0   100% 24 0   100%
metadetect/tests/test_fitting.py test_combine_fit_res_nodata   100% 8 0 0   100% 4 0   100%
metadetect/tests/test_fitting.py test_combine_fit_res   100% 9 0 0   100% 0 0   100%
metadetect/tests/test_fitting.py (no function)   100% 31 0 0   100% 0 0   100%
metadetect/tests/test_fitting_joint.py test_make_coadd_obs_errors   99% 131 1 0   96% 24 1   99%
metadetect/tests/test_fitting_joint.py test_make_coadd_obs_single   100% 7 0 0   100% 0 0   100%
metadetect/tests/test_fitting_joint.py test_make_coadd_obs_psf_weight   100% 3 0 0   100% 0 0   100%
metadetect/tests/test_fitting_joint.py test_make_coadd_obs_symmetric   100% 15 0 0   100% 4 0   100%
metadetect/tests/test_fitting_joint.py _or_arrays   100% 4 0 0   100% 2 0   100%
metadetect/tests/test_fitting_joint.py test_make_coadd_obs_shear_bands   100% 42 0 0   100% 6 0   100%
metadetect/tests/test_fitting_joint.py test_fit_mbobs_list_joint_errors   100% 5 0 0   100% 0 0   100%
metadetect/tests/test_fitting_joint.py test_fit_mbobs_list_joint_empty   100% 4 0 0   100% 0 0   100%
metadetect/tests/test_fitting_joint.py test_fit_mbobs_list_joint_fits_all   100% 12 0 0   100% 6 0   100%
metadetect/tests/test_fitting_joint.py test_fit_mbobs_list_joint_seeding   100% 8 0 0   100% 2 0   100%
metadetect/tests/test_fitting_joint.py test_fit_mbobs_admom_input_errors   97% 37 1 0   90% 10 1   96%
metadetect/tests/test_fitting_joint.py test_fit_mbobs_admom_oneband   100% 19 0 0   100% 0 0   100%
metadetect/tests/test_fitting_joint.py test_fit_mbobs_admom_smoke   100% 15 0 0   100% 12 0   100%
metadetect/tests/test_fitting_joint.py test_fit_mbobs_admom_symmetrize   100% 36 0 0   100% 12 0   100%
metadetect/tests/test_fitting_joint.py test_fit_mbobs_gauss_smoke   100% 18 0 0   100% 14 0   100%
metadetect/tests/test_fitting_joint.py test_fit_mbobs_gauss_coadd   89% 27 3 0   92% 12 1   90%
metadetect/tests/test_fitting_joint.py test_fit_mbobs_gauss_input_errors   98% 44 1 0   93% 14 1   97%
metadetect/tests/test_fitting_joint.py (no function)   100% 37 0 0   100% 0 0   100%
metadetect/tests/test_interpolate.py test_interpolate_image_at_mask   100% 7 0 0   100% 0 0   100%
metadetect/tests/test_interpolate.py test_interpolate_image_at_mask_allbad   100% 6 0 0   100% 0 0   100%
metadetect/tests/test_interpolate.py (no function)   100% 4 0 0   100% 0 0   100%
metadetect/tests/test_masking.py test_apply_apodization_corrections   100% 28 0 0   100% 6 0   100%
metadetect/tests/test_masking.py test_apply_apodization_corrections_all   100% 18 0 0   100% 6 0   100%
metadetect/tests/test_masking.py test_build_square_apodization_mask   100% 13 0 0   100% 0 0   100%
metadetect/tests/test_masking.py test_build_square_apodization_mask_all   100% 4 0 0   100% 0 0   100%
metadetect/tests/test_masking.py test_intersects   100% 3 0 0   100% 2 0   100%
metadetect/tests/test_masking.py test_ap_kern_kern   100% 3 0 0   100% 0 0   100%
metadetect/tests/test_masking.py test_do_apodization_mask_all_masked   100% 6 0 0   100% 0 0   100%
metadetect/tests/test_masking.py test_do_apodization_mask_half_masked   100% 9 0 0   100% 0 0   100%
metadetect/tests/test_masking.py test_make_foreground_apodization_mask   100% 4 0 0   100% 0 0   100%
metadetect/tests/test_masking.py test_make_foreground_apodization_mask_symmetrize   100% 11 0 0   100% 0 0   100%
metadetect/tests/test_masking.py test_do_mask_foreground_all_masked   100% 10 0 0   100% 0 0   100%
metadetect/tests/test_masking.py test_do_mask_foreground_half_masked   100% 11 0 0   100% 0 0   100%
metadetect/tests/test_masking.py test_make_foreground_bmask   100% 4 0 0   100% 0 0   100%
metadetect/tests/test_masking.py test_make_foreground_bmask_symmetrize   100% 9 0 0   100% 0 0   100%
metadetect/tests/test_masking.py test_apply_foreground_masking_corrections_interp   100% 41 0 0   100% 14 0   100%
metadetect/tests/test_masking.py test_apply_foreground_masking_corrections_interp._make_mbobs   100% 11 0 0   100% 2 0   100%
metadetect/tests/test_masking.py test_apply_foreground_masking_corrections_interp_all   100% 20 0 0   100% 6 0   100%
metadetect/tests/test_masking.py test_apply_foreground_masking_corrections_apodize   100% 38 0 0   100% 8 0   100%
metadetect/tests/test_masking.py test_apply_foreground_masking_corrections_apodize_all   100% 22 0 0   100% 6 0   100%
metadetect/tests/test_masking.py (no function)   100% 28 0 0   100% 0 0   100%
metadetect/tests/test_metadetect.py _show_mbobs   0% 5 5 0   100% 0 0   0%
metadetect/tests/test_metadetect.py test_detect   4% 25 24 0   0% 8 0   3%
metadetect/tests/test_metadetect.py test_detect_masking   7% 15 14 0   0% 6 0   5%
metadetect/tests/test_metadetect.py _check_result_array   0% 11 11 0   0% 12 0   0%
metadetect/tests/test_metadetect.py test_metadetect_coadd_faster   5% 21 20 0   0% 2 0   4%
metadetect/tests/test_metadetect.py test_metadetect_smoke   5% 21 20 0   0% 4 0   4%
metadetect/tests/test_metadetect.py test_metadetect_uberseg   4% 23 22 0   0% 4 0   4%
metadetect/tests/test_metadetect.py test_metadetect_mfrac   5% 22 21 0   0% 6 0   4%
metadetect/tests/test_metadetect.py test_metadetect_mfrac_all   100% 13 0 0   100% 4 0   100%
metadetect/tests/test_metadetect.py test_metadetect_zero_weight_all   100% 13 0 0   100% 4 0   100%
metadetect/tests/test_metadetect.py test_metadetect_zero_weight_some   100% 14 0 0   100% 6 0   100%
metadetect/tests/test_metadetect.py test_metadetect_nodet_flags_all   100% 13 0 0   100% 4 0   100%
metadetect/tests/test_metadetect.py test_metadetect_nodet_flags_some   100% 14 0 0   100% 6 0   100%
metadetect/tests/test_metadetect.py test_metadetect_fitter_fwhm_smooth   4% 23 22 0   0% 2 0   4%
metadetect/tests/test_metadetect.py test_metadetect_fitter_fwhm_reg   4% 23 22 0   0% 2 0   4%
metadetect/tests/test_metadetect.py test_metadetect_fitter_multi_meas   3% 29 28 0   0% 2 0   3%
metadetect/tests/test_metadetect.py test_metadetect_flux   4% 24 23 0   0% 12 0   3%
metadetect/tests/test_metadetect.py test_metadetect_multiband   3% 33 32 0   0% 16 0   2%
metadetect/tests/test_metadetect.py test_metadetect_with_color_is_same   3% 34 33 0   0% 10 0   2%
metadetect/tests/test_metadetect.py test_fill_in_mask_col   100% 10 0 0   100% 2 0   100%
metadetect/tests/test_metadetect.py test_get_psf_stats   100% 36 0 0   100% 8 0   100%
metadetect/tests/test_metadetect.py (no function)   100% 52 0 0   100% 0 0   100%
metadetect/tests/test_mfrac.py test_measure_mfrac_neg_bbox   7% 15 14 0   100% 0 0   7%
metadetect/tests/test_mfrac.py (no function)   100% 4 0 0   100% 0 0   100%
metadetect/tests/test_shearpos.py test_shear_pos   89% 19 2 0   67% 6 2   84%
metadetect/tests/test_shearpos.py test_shear_pos_image   93% 27 2 0   75% 4 1   90%
metadetect/tests/test_shearpos.py _show_pos   0% 3 3 0   100% 0 0   0%
metadetect/tests/test_shearpos.py (no function)   100% 7 0 0   100% 0 0   100%
Total     83% 1888 329 0   79% 484 10   82%

No items found using the specified filter.