scallops.reads.apply_channel_crosstalk_matrix

scallops.reads.apply_channel_crosstalk_matrix(a, w, dtype=<class 'numpy.float32'>)

Applies a linear transformation w * a = y, where y is the corrected data.

Parameters:
  • a (DataArray) – data to correct

  • w (ndarray | Array) – Crosstalk compensation matrix

  • dtype – Corrected data type

Returns:

The corrected data

Return type:

DataArray