Coverage report: 100%

Files Functions Classes

coverage.py v7.16.0, created at 2026-09-22 13:16 +0100

File function   statements missing excluded   coverage
tbkit/__init__.py (no function)   9 0 0   100%
tbkit/dos.py density_of_states   14 0 0   100%
tbkit/dos.py (no function)   5 0 0   100%
tbkit/error_handling.py boolean   2 0 0   100%
tbkit/error_handling.py positive_int   4 0 0   100%
tbkit/error_handling.py positive_int_lim   6 0 0   100%
tbkit/error_handling.py real_number   2 0 0   100%
tbkit/error_handling.py positive_real   4 0 0   100%
tbkit/error_handling.py positive_real_zero   4 0 0   100%
tbkit/error_handling.py negative_real   4 0 0   100%
tbkit/error_handling.py number   2 0 0   100%
tbkit/error_handling.py is_callable   2 0 0   100%
tbkit/error_handling.py larger   2 0 0   100%
tbkit/error_handling.py smaller   2 0 0   100%
tbkit/error_handling.py string   4 0 0   100%
tbkit/error_handling.py ndarray   4 0 0   100%
tbkit/error_handling.py ndarray_null   3 0 0   100%
tbkit/error_handling.py ndarray_empty   2 0 0   100%
tbkit/error_handling.py list_tuple_2elem   6 0 0   100%
tbkit/error_handling.py tuple_2elem   6 0 0   100%
tbkit/error_handling.py lat   3 0 0   100%
tbkit/error_handling.py unit_cell   17 0 0   100%
tbkit/error_handling.py prim_vec   13 0 0   100%
tbkit/error_handling.py get_lattice   4 0 0   100%
tbkit/error_handling.py coor   2 0 0   100%
tbkit/error_handling.py coor_1d   2 0 0   100%
tbkit/error_handling.py remove_sites   6 0 0   100%
tbkit/error_handling.py shift   2 0 0   100%
tbkit/error_handling.py boundary_line   6 0 0   100%
tbkit/error_handling.py ellipse   8 0 0   100%
tbkit/error_handling.py sites   2 0 0   100%
tbkit/error_handling.py sys   3 0 0   100%
tbkit/error_handling.py print_hopping   4 0 0   100%
tbkit/error_handling.py set_onsite   7 0 0   100%
tbkit/error_handling.py set_hopping   29 0 0   100%
tbkit/error_handling.py index   2 0 0   100%
tbkit/error_handling.py set_hopping_def   15 0 0   100%
tbkit/error_handling.py set_onsite_def   9 0 0   100%
tbkit/error_handling.py hop_n1   2 0 0   100%
tbkit/error_handling.py empty_onsite   2 0 0   100%
tbkit/error_handling.py empty_hop   2 0 0   100%
tbkit/error_handling.py hop_sites   5 0 0   100%
tbkit/error_handling.py empty_coor   2 0 0   100%
tbkit/error_handling.py empty_coor_hop   2 0 0   100%
tbkit/error_handling.py empty_ham   2 0 0   100%
tbkit/error_handling.py empty_en   2 0 0   100%
tbkit/error_handling.py empty_pola   2 0 0   100%
tbkit/error_handling.py empty_vn   2 0 0   100%
tbkit/error_handling.py empty_ipr   2 0 0   100%
tbkit/error_handling.py empty_ndarray   2 0 0   100%
tbkit/error_handling.py tag   4 0 0   100%
tbkit/error_handling.py angle   5 0 0   100%
tbkit/error_handling.py lims   5 0 0   100%
tbkit/error_handling.py lims_positive   5 0 0   100%
tbkit/error_handling.py fig   2 0 0   100%
tbkit/error_handling.py ani   2 0 0   100%
tbkit/error_handling.py file_format   4 0 0   100%
tbkit/error_handling.py get_pump   4 0 0   100%
tbkit/error_handling.py prop_type   3 0 0   100%
tbkit/error_handling.py k_vector   7 0 0   100%
tbkit/error_handling.py spin_matrix   5 0 0   100%
tbkit/error_handling.py set_hopping_kspace   21 0 0   100%
tbkit/error_handling.py set_onsite_kspace   10 0 0   100%
tbkit/error_handling.py k_path_points   6 0 0   100%
tbkit/error_handling.py dos_kernel   3 0 0   100%
tbkit/error_handling.py nk   9 0 0   100%
tbkit/error_handling.py dim_2   2 0 0   100%
tbkit/error_handling.py direction   4 0 0   100%
tbkit/error_handling.py band_indices   8 0 0   100%
tbkit/error_handling.py (no function)   69 0 0   100%
tbkit/graphene.py GrapheneLattice.__init__   5 0 0   100%
tbkit/graphene.py GrapheneLattice.triangle_zigzag   3 0 0   100%
tbkit/graphene.py GrapheneLattice.hexagon_zigzag   4 0 0   100%
tbkit/graphene.py GrapheneLattice.triangle_armchair   5 0 0   100%
tbkit/graphene.py GrapheneLattice.hexagon_armchair   10 0 0   100%
tbkit/graphene.py GrapheneLattice.square   5 0 0   100%
tbkit/graphene.py GrapheneLattice.circle   8 0 0   100%
tbkit/graphene.py GrapheneSystem.__init__   1 0 0   100%
tbkit/graphene.py GrapheneSystem.set_hop_linear_strain   17 0 0   100%
tbkit/graphene.py GrapheneSystem.get_butterfly   9 0 0   100%
tbkit/graphene.py GrapheneSystem.get_beta_lims   11 0 0   100%
tbkit/graphene.py (no function)   24 0 0   100%
tbkit/kspace.py reciprocal_vectors   9 0 0   100%
tbkit/kspace.py KSpace.__init__   15 0 0   100%
tbkit/kspace.py KSpace.set_onsite   8 0 0   100%
tbkit/kspace.py KSpace.set_hopping   15 0 0   100%
tbkit/kspace.py KSpace.clear_hopping   1 0 0   100%
tbkit/kspace.py KSpace.get_ham   7 0 0   100%
tbkit/kspace.py KSpace.get_bands   15 0 0   100%
tbkit/kspace.py KSpace.k_path   10 0 0   100%
tbkit/kspace.py KSpace.mesh_grid   11 0 0   100%
tbkit/kspace.py KSpace.mesh_bands   2 0 0   100%
tbkit/kspace.py KSpace.berry_curvature   25 0 0   100%
tbkit/kspace.py KSpace.chern_number   1 0 0   100%
tbkit/kspace.py KSpace.plot_dos   20 0 0   100%
tbkit/kspace.py KSpace.plot_bands   23 0 0   100%
tbkit/kspace.py KSpace.show   1 0 0   100%
tbkit/kspace.py ribbon   26 0 0   100%
tbkit/kspace.py (no function)   29 0 0   100%
tbkit/lattice.py Lattice.__init__   8 0 0   100%
tbkit/lattice.py Lattice.get_lattice   20 0 0   100%
tbkit/lattice.py Lattice.add_sites   5 0 0   100%
tbkit/lattice.py Lattice.remove_sites   6 0 0   100%
tbkit/lattice.py Lattice.remove_dangling   16 0 0   100%
tbkit/lattice.py Lattice.shift_x   3 0 0   100%
tbkit/lattice.py Lattice.shift_y   3 0 0   100%
tbkit/lattice.py Lattice.change_sign_x   2 0 0   100%
tbkit/lattice.py Lattice.change_sign_y   2 0 0   100%
tbkit/lattice.py Lattice.boundary_line   6 0 0   100%
tbkit/lattice.py Lattice.ellipse_in   7 0 0   100%
tbkit/lattice.py Lattice.ellipse_out   7 0 0   100%
tbkit/lattice.py Lattice.center   3 0 0   100%
tbkit/lattice.py Lattice.rotation   8 0 0   100%
tbkit/lattice.py Lattice.clean_coor   6 0 0   100%
tbkit/lattice.py Lattice.__add__   10 0 0   100%
tbkit/lattice.py Lattice.__iadd__   7 0 0   100%
tbkit/lattice.py Lattice.__sub__   12 0 0   100%
tbkit/lattice.py Lattice.__isub__   9 0 0   100%
tbkit/lattice.py Lattice.plot   25 0 0   100%
tbkit/lattice.py Lattice.show   1 0 0   100%
tbkit/lattice.py (no function)   31 0 0   100%
tbkit/lattices.py _lat   1 0 0   100%
tbkit/lattices.py chain   2 0 0   100%
tbkit/lattices.py square   2 0 0   100%
tbkit/lattices.py triangular   2 0 0   100%
tbkit/lattices.py honeycomb   5 0 0   100%
tbkit/lattices.py kagome   5 0 0   100%
tbkit/lattices.py lieb   3 0 0   100%
tbkit/lattices.py (no function)   11 0 0   100%
tbkit/plot.py Plot.__init__   5 0 0   100%
tbkit/plot.py Plot.plt_hopping   2 0 0   100%
tbkit/plot.py Plot.lattice_generic   29 0 0   100%
tbkit/plot.py Plot.lattice   2 0 0   100%
tbkit/plot.py Plot.lattice_hop   2 0 0   100%
tbkit/plot.py Plot.spectrum_hist   21 0 0   100%
tbkit/plot.py Plot.dos   20 0 0   100%
tbkit/plot.py Plot.spectrum   36 0 0   100%
tbkit/plot.py Plot.polarization   28 0 0   100%
tbkit/plot.py Plot.ipr   22 0 0   100%
tbkit/plot.py Plot.petermann   22 0 0   100%
tbkit/plot.py Plot.spectrum_complex   28 0 0   100%
tbkit/plot.py Plot.intensity_1d   17 0 0   100%
tbkit/plot.py Plot.intensity_disk   25 0 0   100%
tbkit/plot.py Plot.intensity_area   24 0 0   100%
tbkit/plot.py Plot.butterfly   27 0 0   100%
tbkit/plot.py Plot.show   1 0 0   100%
tbkit/plot.py (no function)   31 0 0   100%
tbkit/propagation.py Propagation.__init__   3 0 0   100%
tbkit/propagation.py Propagation.get_propagation   17 0 0   100%
tbkit/propagation.py Propagation.get_pumping   34 0 0   100%
tbkit/propagation.py Propagation.plt_propagation_1d   36 0 0   100%
tbkit/propagation.py Propagation.prop_smooth_1d   6 0 0   100%
tbkit/propagation.py Propagation.get_animation   37 0 0   100%
tbkit/propagation.py Propagation.get_animation.update   2 0 0   100%
tbkit/propagation.py Propagation.get_animation_nb   29 0 0   100%
tbkit/propagation.py Propagation.get_animation_nb.init   2 0 0   100%
tbkit/propagation.py Propagation.get_animation_nb.animate   2 0 0   100%
tbkit/propagation.py Propagation.plt_prop_dimer   12 0 0   100%
tbkit/propagation.py (no function)   21 0 0   100%
tbkit/save.py Save.__init__   10 0 0   100%
tbkit/save.py Save.create_dir   4 0 0   100%
tbkit/save.py Save.file_name   4 0 0   100%
tbkit/save.py Save.fig   4 0 0   100%
tbkit/save.py Save.fig_lat   4 0 0   100%
tbkit/save.py Save.ani   5 0 0   100%
tbkit/save.py (no function)   13 0 0   100%
tbkit/system.py System.__init__   17 0 0   100%
tbkit/system.py System.clear_hopping   1 0 0   100%
tbkit/system.py System.get_distances   9 0 0   100%
tbkit/system.py System.print_distances   18 0 0   100%
tbkit/system.py System.set_onsite   5 0 0   100%
tbkit/system.py System.fill_store_hop   8 0 0   100%
tbkit/system.py System.set_hopping   64 0 0   100%
tbkit/system.py System.check_sites   3 0 0   100%
tbkit/system.py System.set_given_hopping   13 0 0   100%
tbkit/system.py System.set_hopping_manual   13 0 0   100%
tbkit/system.py System.set_hopping_dis   3 0 0   100%
tbkit/system.py System.set_peierls_phase   7 0 0   100%
tbkit/system.py System.set_magnetic_field   2 0 0   100%
tbkit/system.py System.set_onsite_dis   3 0 0   100%
tbkit/system.py System.set_onsite_def   4 0 0   100%
tbkit/system.py System.set_hopping_def   7 0 0   100%
tbkit/system.py System.set_new_hopping   8 0 0   100%
tbkit/system.py System.find_square   5 0 0   100%
tbkit/system.py System.find_ellipse   3 0 0   100%
tbkit/system.py System.change_hopping_square   4 0 0   100%
tbkit/system.py System.change_hopping_ellipse   8 0 0   100%
tbkit/system.py System.get_coor_hop   24 0 0   100%
tbkit/system.py System.get_ham   7 0 0   100%
tbkit/system.py System.get_eig   23 0 0   100%
tbkit/system.py System.get_ipr   2 0 0   100%
tbkit/system.py System.get_petermann   6 0 0   100%
tbkit/system.py System.get_intensity_pola_max   6 0 0   100%
tbkit/system.py System.get_intensity_pola_min   6 0 0   100%
tbkit/system.py System.get_intensity_en   6 0 0   100%
tbkit/system.py (no function)   45 0 0   100%
Total     1891 0 0   100%

No items found using the specified filter.