bandhic.band_hic_matrix.count_out_band#

band_hic_matrix.count_out_band()[source]#

Count the number of valid entries in the out-of-band region.

Returns:

Number of valid entries in the out-of-band region.

Return type:

int

Examples

>>> import bandhic as bh
>>> mat = bh.band_hic_matrix(np.eye(4), diag_num=2)
>>> mat.count_out_band()
6