bandhic.band_hic_matrix.count_out_band_masked#

band_hic_matrix.count_out_band_masked()[source]#

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

Returns:

Number of masked 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_masked()
0