fishtank.correct.color_normalization

fishtank.correct.color_normalization#

fishtank.correct.color_normalization(intensities, colors)#

Normalize channel intensities by color.

Parameters:
  • intensities (DataFrame | ndarray) – A (N,C) array of intensities where N is the number of spots and C is the number of channels.

  • colors (list | ndarray) – A list of length C of colors.

Return type:

ndarray

Returns:

intensities a (N,C) array of normalized intensities.