LogTransform Class
- class flowkit.transforms.LogTransform(transform_id, param_t, param_m)
Parametrized logarithmic transformation, implemented as defined in the GatingML 2.0 specification:
flog(x, T, M) = (1 / M) * log_10(x / T) + 1
- Parameters:
transform_id – A string identifying the transform
param_t – parameter for the top of the linear scale (e.g. 262144)
param_m – parameter for desired number of decades
- apply(events)
Apply transform to given events.
- Parameters:
events – NumPy array of FCS event data
- Returns:
NumPy array of transformed events
- inverse(events)
Apply the inverse transform to given events.
- Parameters:
events – NumPy array of FCS event data
- Returns:
NumPy array of inversely transformed events