cytonormpy.LogicleTransformer

cytonormpy.LogicleTransformer#

class cytonormpy.LogicleTransformer(channel_indices=None, t=262144, m=4.5, w=0.5, a=0)#

Class to apply the Logicle Transform.

Parameters:
  • channel_indices (Optional[Union`[:py:class:`list[int], ndarray]]) – The channels to be transformed. Specifying None will transform all channels. Defaults to None. Note that in cytonormpy, channel indices will be set automatically by the CytoNorm object.

  • t (int) – Parameter for the top of the linear scale. Defaults to 262144.

  • m (float) – Parameter for the number of decades the true logarithmic scale approaches at the high end of the scale

  • w (float) – Parameter for the approximate number of decades in the linear region

  • a (int) – Parameter for the number of additional negative decades.

Return type:

None

Attributes

Methods

inverse_transform(data)

Applies inverse logicle transform to channels specified in .channel_indices.

transform(data)

Applies logicle transform to channels specified in .channel_indices.