Coverage report: 54%

Files Functions Classes

coverage.py v7.9.1, created at 2025-07-01 10:58 +0800

File function statements missing excluded branches partial coverage
PyFHD/__git__.py (no function) 3 0 0 0 0 100%
PyFHD/__init__.py (no function) 0 0 0 0 0 100%
PyFHD/beam_setup/__init__.py (no function) 0 0 0 0 0 100%
PyFHD/beam_setup/antenna.py init_beam 65 65 0 14 0 0%
PyFHD/beam_setup/antenna.py general_jones_matrix 32 32 0 20 0 0%
PyFHD/beam_setup/antenna.py general_antenna_response 18 18 0 6 0 0%
PyFHD/beam_setup/antenna.py (no function) 18 18 0 0 0 0%
PyFHD/beam_setup/beam.py create_psf 106 106 0 28 0 0%
PyFHD/beam_setup/beam.py (no function) 14 14 0 0 0 0%
PyFHD/beam_setup/beam_utils.py gaussian_decomp 36 11 0 10 4 67%
PyFHD/beam_setup/beam_utils.py beam_image 86 20 0 38 9 70%
PyFHD/beam_setup/beam_utils.py beam_image_hyperresolved 10 10 0 0 0 0%
PyFHD/beam_setup/beam_utils.py beam_power 22 22 0 4 0 0%
PyFHD/beam_setup/beam_utils.py (no function) 12 0 0 0 0 100%
PyFHD/beam_setup/mwa.py dipole_mutual_coupling 33 33 0 10 0 0%
PyFHD/beam_setup/mwa.py (no function) 7 7 0 0 0 0%
PyFHD/calibration/__init__.py (no function) 0 0 0 0 0 100%
PyFHD/calibration/calibrate.py calibrate 73 73 0 30 0 0%
PyFHD/calibration/calibrate.py calibrate_qu_mixing 24 0 0 0 0 100%
PyFHD/calibration/calibrate.py (no function) 10 0 0 0 0 100%
PyFHD/calibration/calibration_utils.py vis_extract_autocorr 26 2 0 14 2 90%
PyFHD/calibration/calibration_utils.py vis_cal_auto_init 14 0 0 4 0 100%
PyFHD/calibration/calibration_utils.py vis_calibration_flag 77 5 0 24 5 90%
PyFHD/calibration/calibration_utils.py transfer_bandpass 140 140 0 68 0 0%
PyFHD/calibration/calibration_utils.py vis_cal_bandpass 84 9 0 40 6 86%
PyFHD/calibration/calibration_utils.py vis_cal_polyfit 170 63 0 72 17 60%
PyFHD/calibration/calibration_utils.py vis_cal_auto_fit 34 0 0 8 1 98%
PyFHD/calibration/calibration_utils.py vis_calibration_apply 41 0 0 6 1 98%
PyFHD/calibration/calibration_utils.py vis_baseline_hist 21 2 0 8 2 86%
PyFHD/calibration/calibration_utils.py cal_auto_ratio_divide 6 0 0 2 0 100%
PyFHD/calibration/calibration_utils.py cal_auto_ratio_remultiply 2 0 0 0 0 100%
PyFHD/calibration/calibration_utils.py calculate_adaptive_gain 18 5 0 6 1 67%
PyFHD/calibration/calibration_utils.py (no function) 22 0 0 0 0 100%
PyFHD/calibration/vis_calibrate_subroutine.py vis_calibrate_subroutine 227 19 0 76 15 89%
PyFHD/calibration/vis_calibrate_subroutine.py (no function) 7 0 0 0 0 100%
PyFHD/data_setup/__init__.py (no function) 0 0 0 0 0 100%
PyFHD/data_setup/obs.py create_obs 138 35 0 52 15 68%
PyFHD/data_setup/obs.py read_metafits 66 25 0 16 3 59%
PyFHD/data_setup/obs.py project_slant_orthographic 31 1 0 2 1 94%
PyFHD/data_setup/obs.py update_obs 20 0 0 6 2 92%
PyFHD/data_setup/obs.py (no function) 13 0 0 0 0 100%
PyFHD/data_setup/uvfits.py extract_header 105 18 0 28 7 80%
PyFHD/data_setup/uvfits.py create_params 23 13 0 6 1 38%
PyFHD/data_setup/uvfits.py extract_visibilities 11 3 0 4 2 67%
PyFHD/data_setup/uvfits.py _check_layout_valid 5 1 0 6 2 73%
PyFHD/data_setup/uvfits.py create_layout 143 61 0 6 3 57%
PyFHD/data_setup/uvfits.py (no function) 16 0 0 0 0 100%
PyFHD/flagging/__init__.py (no function) 0 0 0 0 0 100%
PyFHD/flagging/flagging.py vis_flag_tiles 23 23 0 12 0 0%
PyFHD/flagging/flagging.py vis_flag_basic 79 34 0 40 10 48%
PyFHD/flagging/flagging.py vis_flag 85 6 0 44 11 85%
PyFHD/flagging/flagging.py (no function) 7 0 0 0 0 100%
PyFHD/gridding/__init__.py (no function) 0 0 0 0 0 100%
PyFHD/gridding/filters.py filter_uv_uniform 16 4 0 12 4 71%
PyFHD/gridding/filters.py (no function) 6 0 0 0 0 100%
PyFHD/gridding/gridding_utils.py interpolate_kernel 5 0 0 0 0 100%
PyFHD/gridding/gridding_utils.py conjugate_mirror 5 0 0 2 0 100%
PyFHD/gridding/gridding_utils.py baseline_grid_locations 99 5 0 36 5 93%
PyFHD/gridding/gridding_utils.py dirty_image_generate 66 12 0 44 5 75%
PyFHD/gridding/gridding_utils.py grid_beam_per_baseline 42 8 0 10 3 75%
PyFHD/gridding/gridding_utils.py visibility_count 24 1 0 6 1 93%
PyFHD/gridding/gridding_utils.py holo_mapfn_convert 31 31 0 10 0 0%
PyFHD/gridding/gridding_utils.py crosspol_reformat 4 4 0 0 0 0%
PyFHD/gridding/gridding_utils.py (no function) 17 0 0 0 0 100%
PyFHD/gridding/visibility_degrid.py visibility_degrid 169 169 0 64 0 0%
PyFHD/gridding/visibility_degrid.py (no function) 7 0 0 0 0 100%
PyFHD/gridding/visibility_grid.py visibility_grid 243 13 0 112 17 92%
PyFHD/gridding/visibility_grid.py (no function) 7 0 0 0 0 100%
PyFHD/healpix/__init__.py (no function) 0 0 0 0 0 100%
PyFHD/healpix/export.py healpix_snapshot_cube_generate 75 75 0 34 0 0%
PyFHD/healpix/export.py (no function) 11 11 0 0 0 0%
PyFHD/healpix/healpix_utils.py healpix_cnv_apply 6 0 0 2 0 100%
PyFHD/healpix/healpix_utils.py healpix_cnv_generate 111 27 0 32 8 74%
PyFHD/healpix/healpix_utils.py beam_image_cube 34 6 0 18 7 75%
PyFHD/healpix/healpix_utils.py phase_shift_uv_image 12 1 0 2 1 86%
PyFHD/healpix/healpix_utils.py vis_model_freq_split 63 63 0 20 0 0%
PyFHD/healpix/healpix_utils.py (no function) 21 0 0 0 0 100%
PyFHD/io/__init__.py (no function) 0 0 0 0 0 100%
PyFHD/io/pyfhd_io.py dtype_picker 7 0 0 6 0 100%
PyFHD/io/pyfhd_io.py _is_complex 1 1 0 0 0 0%
PyFHD/io/pyfhd_io.py _is_string 1 1 0 0 0 0%
PyFHD/io/pyfhd_io.py _is_none 1 0 0 0 0 100%
PyFHD/io/pyfhd_io.py _decode_byte_arr 1 0 0 0 0 100%
PyFHD/io/pyfhd_io.py format_array 17 13 0 10 1 26%
PyFHD/io/pyfhd_io.py save_dataset 47 21 0 26 4 52%
PyFHD/io/pyfhd_io.py dict_to_group 2 0 0 2 0 100%
PyFHD/io/pyfhd_io.py save 15 5 0 12 2 67%
PyFHD/io/pyfhd_io.py load_dataset 10 0 0 8 0 100%
PyFHD/io/pyfhd_io.py group_to_dict 8 0 0 6 1 93%
PyFHD/io/pyfhd_io.py load 22 1 0 14 2 92%
PyFHD/io/pyfhd_io.py recarray_to_dict 36 4 0 32 4 88%
PyFHD/io/pyfhd_io.py convert_sav_to_dict 9 4 0 4 1 46%
PyFHD/io/pyfhd_io.py (no function) 26 0 0 0 0 100%
PyFHD/io/pyfhd_quickview.py get_image_renormalization 8 0 0 2 0 100%
PyFHD/io/pyfhd_quickview.py quickview 154 40 0 30 9 72%
PyFHD/io/pyfhd_quickview.py (no function) 15 0 0 0 0 100%
PyFHD/plotting/__init__.py (no function) 0 0 0 0 0 100%
PyFHD/plotting/calibration.py plot_cals 88 88 0 32 0 0%
PyFHD/plotting/calibration.py (no function) 7 0 0 0 0 100%
PyFHD/plotting/gridding.py plot_gridding 21 21 0 8 0 0%
PyFHD/plotting/gridding.py (no function) 6 6 0 0 0 0%
PyFHD/plotting/image.py quick_image 130 130 0 94 0 0%
PyFHD/plotting/image.py log_color_calc 112 112 0 76 0 0%
PyFHD/plotting/image.py color_range 6 6 0 2 0 0%
PyFHD/plotting/image.py plot_fits_image 43 43 0 10 0 0%
PyFHD/plotting/image.py (no function) 13 0 0 0 0 100%
PyFHD/pyfhd.py _print_time_diff 7 7 0 4 0 0%
PyFHD/pyfhd.py finish_pyfhd 11 11 0 6 0 0%
PyFHD/pyfhd.py main 246 246 0 96 0 0%
PyFHD/pyfhd.py (no function) 29 29 0 2 0 0%
PyFHD/pyfhd_tools/__init__.py (no function) 0 0 0 0 0 100%
PyFHD/pyfhd_tools/pyfhd_setup.py OrderedBooleanOptionalAction.__init__ 4 0 0 0 0 100%
PyFHD/pyfhd_tools/pyfhd_setup.py pyfhd_parser 133 2 0 0 0 98%
PyFHD/pyfhd_tools/pyfhd_setup.py _check_file_exists 6 2 0 4 1 70%
PyFHD/pyfhd_tools/pyfhd_setup.py write_collated_yaml_config 23 6 0 16 1 77%
PyFHD/pyfhd_tools/pyfhd_setup.py pyfhd_logger 49 15 0 20 9 65%
PyFHD/pyfhd_tools/pyfhd_setup.py pyfhd_setup 102 61 0 54 21 40%
PyFHD/pyfhd_tools/pyfhd_setup.py (no function) 20 0 0 0 0 100%
PyFHD/pyfhd_tools/pyfhd_utils.py get_bins 1 1 0 0 0 0%
PyFHD/pyfhd_tools/pyfhd_utils.py get_hist 14 14 0 6 0 0%
PyFHD/pyfhd_tools/pyfhd_utils.py get_ri 25 25 0 8 0 0%
PyFHD/pyfhd_tools/pyfhd_utils.py histogram 17 2 0 12 2 86%
PyFHD/pyfhd_tools/pyfhd_utils.py l_m_n 27 0 0 10 1 97%
PyFHD/pyfhd_tools/pyfhd_utils.py rebin_columns 8 0 0 2 0 100%
PyFHD/pyfhd_tools/pyfhd_utils.py rebin_rows 8 0 0 2 0 100%
PyFHD/pyfhd_tools/pyfhd_utils.py rebin 51 2 0 36 2 95%
PyFHD/pyfhd_tools/pyfhd_utils.py weight_invert 20 1 0 14 1 94%
PyFHD/pyfhd_tools/pyfhd_utils.py array_match 29 1 0 12 2 93%
PyFHD/pyfhd_tools/pyfhd_utils.py meshgrid 9 0 0 6 0 100%
PyFHD/pyfhd_tools/pyfhd_utils.py deriv_coefficients 10 0 0 8 0 100%
PyFHD/pyfhd_tools/pyfhd_utils.py idl_argunique 1 0 0 0 0 100%
PyFHD/pyfhd_tools/pyfhd_utils.py angle_difference 9 1 0 4 1 85%
PyFHD/pyfhd_tools/pyfhd_utils.py parallactic_angle 3 0 0 0 0 100%
PyFHD/pyfhd_tools/pyfhd_utils.py simple_deproject_w_term 9 0 0 2 0 100%
PyFHD/pyfhd_tools/pyfhd_utils.py resistant_mean 12 0 0 2 1 93%
PyFHD/pyfhd_tools/pyfhd_utils.py run_command 4 4 0 2 0 0%
PyFHD/pyfhd_tools/pyfhd_utils.py vis_weights_update 62 6 0 28 11 79%
PyFHD/pyfhd_tools/pyfhd_utils.py split_vis_weights 34 7 0 16 4 70%
PyFHD/pyfhd_tools/pyfhd_utils.py vis_noise_calc 14 2 0 10 2 83%
PyFHD/pyfhd_tools/pyfhd_utils.py idl_median 9 1 0 4 1 85%
PyFHD/pyfhd_tools/pyfhd_utils.py reshape_and_average_in_time 6 1 0 2 1 75%
PyFHD/pyfhd_tools/pyfhd_utils.py region_grow 45 9 0 24 6 72%
PyFHD/pyfhd_tools/pyfhd_utils.py crosspol_split_real_imaginary 8 8 0 2 0 0%
PyFHD/pyfhd_tools/pyfhd_utils.py (no function) 40 0 0 0 0 100%
PyFHD/pyfhd_tools/test_utils.py get_data 14 1 0 8 1 91%
PyFHD/pyfhd_tools/test_utils.py get_data_items 12 1 0 4 1 88%
PyFHD/pyfhd_tools/test_utils.py get_data_sav 12 1 0 4 1 88%
PyFHD/pyfhd_tools/test_utils.py get_savs 7 4 0 4 1 36%
PyFHD/pyfhd_tools/test_utils.py try_assert_all_close 5 5 0 0 0 0%
PyFHD/pyfhd_tools/test_utils.py convert_to_h5 10 10 0 8 0 0%
PyFHD/pyfhd_tools/test_utils.py sav_file_vis_arr_swap_axes 5 0 0 2 0 100%
PyFHD/pyfhd_tools/test_utils.py print_types 12 12 0 10 0 0%
PyFHD/pyfhd_tools/test_utils.py (no function) 17 0 0 0 0 100%
PyFHD/pyfhd_tools/unit_conv.py altaz_to_radec 3 0 0 0 0 100%
PyFHD/pyfhd_tools/unit_conv.py radec_to_altaz 5 0 0 0 0 100%
PyFHD/pyfhd_tools/unit_conv.py radec_to_pixel 14 0 0 2 0 100%
PyFHD/pyfhd_tools/unit_conv.py pixel_to_radec 12 0 0 0 0 100%
PyFHD/pyfhd_tools/unit_conv.py (no function) 10 0 0 0 0 100%
PyFHD/source_modeling/__init__.py (no function) 0 0 0 0 0 100%
PyFHD/source_modeling/vis_model_transfer.py vis_model_transfer 20 11 0 10 2 50%
PyFHD/source_modeling/vis_model_transfer.py import_vis_model_from_sav 31 9 0 14 4 62%
PyFHD/source_modeling/vis_model_transfer.py import_vis_model_from_uvfits 8 3 0 2 1 60%
PyFHD/source_modeling/vis_model_transfer.py _FlaggingInfoCounter.__init__ 19 0 0 2 0 100%
PyFHD/source_modeling/vis_model_transfer.py flag_model_visibilities 48 8 0 30 6 77%
PyFHD/source_modeling/vis_model_transfer.py convert_vis_model_arr_to_sav 12 12 0 2 0 0%
PyFHD/source_modeling/vis_model_transfer.py (no function) 20 0 0 0 0 100%
PyFHD/templates/__init__.py (no function) 0 0 0 0 0 100%
Total   5504 2361 0 2004 279 54%

No items found using the specified filter.