bandhic.band_hic_matrix.memory_usage#

band_hic_matrix.memory_usage()[source]#

Compute memory usage of band_hic_matirx object.

Returns:

Size in bytes.

Return type:

int

Examples

>>> import bandhic as bh
>>> mat = bh.ones((3,3), diag_num=2)
>>> mat.memory_usage()
772