scallops.spots.std

scallops.spots.std(data, channel_agg_method='mean')

Standard deviation over cycles, followed by mean across channels to estimate read locations. If only 1 cycle is present, takes standard deviation across channels.

Parameters:
  • channel_agg_method (Literal['mean', 'median', 'sum']) – Method used to aggregate standard deviation across cycles

  • data (DataArray) – LoG-ed image data, expected dimensions of (t, c, z, y, x) or (sigma, t, c, z, y, x).

Returns:

Standard deviation score for each pixel, dimensions of (y,x).

Return type:

DataArray