bandhic.band_hic_matrix.log#

band_hic_matrix.log(self, *args, **kwargs)#

Perform element-wise ‘log’ operation.

Parameters:
  • self (band_hic_matrix) – Input matrix.

  • *args (tuple) – Additional positional arguments for numpy.log.

  • **kwargs (dict) – Keyword arguments for numpy.log.

Returns:

Result of element-wise ‘log’ operation.

Return type:

band_hic_matrix

See also

numpy.log

Examples

>>> from bandhic import band_hic_matrix
>>> mat = band_hic_matrix(np.eye(3), diag_num=2, dtype=int)
>>> result = mat.log()