tacco.utils.log1p

log1p(X)[source]

Calculates log1p inplace and in parallel.

Parameters:

X – A ndarray with more than 1 dimension, a scipy sparse matrix, or something which has an attribute .X which fits this description, e.g. an AnnData

Returns:

None. This is an inplace operation.