cytonormpy.AsinhTransformer#
- class cytonormpy.AsinhTransformer(channel_indices=None, cofactors=5)#
Class to apply the AsinhTransform.
- 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.cofactors (
Union[list[float],float,ndarray]) – Specifies the divisor of the channel values before applying the np.asinh function. Can be a singular float that will be applied to all channels or a list of floats, specifiying the cofactor for each channel. Defaults to 5.
- Return type:
None
Attributes
Methods
inverse_transform(data)Applies inverse asinh transform to channels specified in .channel_indices.
transform(data)Applies asinh transform to channels specified in .channel_indices.