FCPlate.
transform
(transform, direction='forward', share_transform=True, channels=None, return_all=True, auto_range=True, use_spln=True, get_transformer=False, ID=None, apply_now=True, args=(), **kwargs)¶Apply transform to each Measurement in the Collection.
Return a new Collection with transformed data.
Warning
The new Collection will hold the data for ALL Measurements in memory! When analyzing multiple collections (e.g., multiple 96-well plates), it may be necessary to only work one collection at a time. Please refer to the tutorials to see how this can be done.
Specifies the transformation to apply to the data.
Names of channels to transform. If None is given, all channels will be transformed.
Warning
Remember that transforming all channels does not always make sense. For example, when working with the time channel, one should probably keep the data as is.
If True data range (machine range) is automatically extracted from $PnR field of metadata.
Warning
If the data has been previously transformed its range may not match the $PnR value. In this case, auto_range should be set to False.
>>> trans = original.transform('hlog')
>>> trans = original.transform('tlog', th=2)
>>> trans = original.transform('hlog', d=log10(2**18), auto_range=False)
>>> trans = original.transform('hlog', r=1000, use_spln=True, get_transformer=True)
>>> trans = original.transform('hlog', channels=['FSC-A', 'SSC-A'], b=500).transform('hlog', channels='B1-A', b=100)