locan.scripts.script_check.sc_check#

locan.scripts.script_check.sc_check(pixel_size, file_images=None, file_locdata=None, file_type=FileType.RAPIDSTORM, viewer=None, transpose=True, kwargs_image=None, kwargs_points=None)[source]#

Load and display original recording and load and overlay localization spots in napari.

Parameters:
  • pixel_size (float | tuple[float]) – Pixel size for images (in locdata units) with shape (2,).

  • file_images (UnionType[str, PathLike[Any], None]) – File path for stack of raw data as recorded by camera.

  • file_locdata (UnionType[str, PathLike[Any], None]) – File path for localization data that corresponds to images raw data.

  • file_type (int | str | FileType | Metadata) – Indicator for the file type. Integer or string should be according to locan.constants.FileType.

  • transpose (bool) – If True transpose x and y axis of images.

  • viewer (napari.Viewer) – The viewer object on which to add the image

  • kwargs_image (dict) – Other parameters passed to napari.Viewer.add_image().

  • kwargs_points (dict) – Other parameters passed to napari.Viewer.add_points().

Return type:

None