scallops.spots.transform_log

scallops.spots.transform_log(data, sigma=1, truncate=4.0, **kwargs)

Apply Laplacian-of-Gaussian filter.

Parameters:
  • data (DataArray) – Image data with dimensions (t, c, y, x) or (c, y, x).

  • sigma (float | ndarray) – Size or list of sizes of gaussian kernel used in Laplacian-of-Gaussian filter

  • truncate (float) – Truncate the filter at this many standard deviations

  • kwargs – Keyword arguments to gaussian_laplace

Returns:

LoG-ed data with dimensions (sigma, t, c, y, x).

Return type:

DataArray