bandhic.band_hic_matrix.itercols#

band_hic_matrix.itercols()[source]#

Iterate over the columns of the band_hic_matrix object.

Yields:

ndarray – The values in the current column.

Return type:

Iterator[ndarray]

Examples

>>> import bandhic as bh
>>> mat = bh.ones((3,3), diag_num=2)
>>> for col in mat.itercols():
...     print(col)
[1. 1. 1.]
[1. 1. 1.]
[1. 1. 1.]