FlowCytometryTools.core.transforms.tlog

FlowCytometryTools.core.transforms.tlog(x, th=1, r=10000, d=5.418539921951662)[source]

Truncated log10 transform.

x : num | num iterable
values to be transformed.
th : num
values below th are transormed to 0. Must be positive.
r : num (default = 10**4)
maximal transformed value.
d : num (default = log10(2**18))
log10 of maximal possible measured value. tlog(10**d) = r

Array of transformed values.