Skip to main content

Interferometric scattering microscopy with Python

Project description

DOI

DOI badge

PiSCAT: An open source package in Python for interferometric Scattering Microscopy (Homepage)

iSCAT microscopy was introduced about two decades ago (1) and demonstrated to be the method of choice for label-free imaging and tracking of matter at nanometric scale (2), with a wide range of applications such as detection of gold nanoparticles, single dye molecules, viruses, and small proteins (3). The image of a nanoparticle in iSCAT microscopy is formed via the interference between the light scattered from the particle and a reference field which is a part of the incident laser light. The photostable scattering signal from nanoparticles allows for very long measurements at high speeds, all the way up to megahertz, limited only by the available technology, e.g. of cameras or scanners. Recording fast and long videos however, produces a large volume of data which needs to undergo several stages of computationally demanding analysis. We introduce PiSCAT as a python-based package for the analysis of variuos iSCAT measurements and related experiments. PiSCAT aims to facilitate high-performance quantitative analysis of big data and provide a generally open-access platform to enable and speed up the research in iSCAT and related communities. To facilitate the use of PiSCAT, we offer tutorials with live-code features in which we present state-of-the-art algorithms for iSCAT microscopy. These cover important educative materials in jupyter notebooks, supported with a web-based documentation page.

In this first release, we provide analysis tools for the sensitive detection of single unlabelled proteins via wide-field iSCAT microscopy. Proteins are only a few nanometers in size with a molecular weight of a few to several hundred kDa. They were detected via iSCAT already in 2014 for small proteins down to the Bovines Serumalbumin (BSA) protein with a mass of 65 kDa (4). iSCAT microscopy is since employed in several more advanced applications such as real-time investigation of cellular secretion (5,6) and quantitative mass spectrometry of single proteins (7).

Documentation

The documentation webpage of PiSCAT modules can be found here.

The outputs from most of the PiSCAT localization and tracking methods are of Panda data frame type. This data structure has the ability to be easily appended/extended with more information based on different levels of analysis. The data structures containing the results of localization and tracking routines can be saved as csv, mat and HDF5 files. This helps users to work with the analyzed information using different softwares namely, MATLAB and Microsoft Excel. HDF5 is a well-known format that is readable in different programming languages and supports large, complex, heterogeneous data. HDF5 uses a "file directory" like structure that allows users to organize data within the file in structured ways and to embed metadata as well, making it self-describing.

Installation

From PyPi

To install PiSCAT using PyPi, enter the following command in the console:

pip install piscat

Local installation of PiSCAT

Clone/download this repository and unzip it. In the project directory enter the following command

pip install -e .

Running PiSCAT GUI

Once the installation is done and the python environment is activated, enter the following command in the console:

python -m piscat

Running PiSCAT Tutorials

Once the installation is done and the python environment is activated, enter the following command in the console:

python -m piscat.Tutorials

Citing PiSCAT

DOI badge

If you use PiSCAT in a scientific publication or for its API or design, we would appreciate citations to the following paper:

[1] Mirzaalian Dastjerdi, Houman, et al. "PiSCAT: A Python Package for Interferometric Scattering Microscopy." The Journal of Open Source Software 7.71 (2022). (Journal)

Bibtex entry:

@article{Dastjerdi2022,
  doi = {10.21105/joss.04024},
  url = {https://doi.org/10.21105/joss.04024},
  year = {2022},
  publisher = {The Open Journal},
  volume = {7},
  number = {71},
  pages = {4024},
  author = {Houman Mirzaalian Dastjerdi and Reza Gholami Mahmoodabadi and Matthias Bär and Vahid Sandoghdar and Harald Köstler},
  title = {PiSCAT: A Python Package for Interferometric Scattering Microscopy},
  journal = {Journal of Open Source Software}
}

Testing

To run the tests, please activate the PiSCAT virtual environment. In the project directory, in the console, enter the following command:

python setup.py test

Installation of PiSCAT virtual environment in the PyCharm IDE:

  1. Follow the hyper links and the install Python 3.9 and PyCharm.
  2. Create a virtual environment based on the instructions provided here.
  3. Follow this link to select PiSCAT venv as the interpreter, to install the setup.py file and then to run a setup.py task.

Contributing

Contributions to PiSCAT are always welcome, and they are greatly appreciated! Our contribution policy can be found here.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

piscat-1.1.2.tar.gz (4.5 MB view details)

Uploaded Source

Built Distribution

piscat-1.1.2-py3-none-any.whl (4.6 MB view details)

Uploaded Python 3

File details

Details for the file piscat-1.1.2.tar.gz.

File metadata

  • Download URL: piscat-1.1.2.tar.gz
  • Upload date:
  • Size: 4.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for piscat-1.1.2.tar.gz
Algorithm Hash digest
SHA256 bd53e030b1973820cf1c573f53dfb7d6d1a8a8ad8c2979a01eed61e80048fccb
MD5 227206a13872f043661669f7cb4e96ec
BLAKE2b-256 bd4a5375ddc96c134defe047547010b346bce0b150a82744e37beda5bbd27fe5

See more details on using hashes here.

File details

Details for the file piscat-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: piscat-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for piscat-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2f25d45010c66fb7c9f057e8151d73340693d7a7f81f01a174c62356f01e20a5
MD5 603f58ab275d8a8a73bf587911dc0d03
BLAKE2b-256 9056afe337272855dacb1c4ce585b95ff07beca0fb830c1ad6e54ca1d0f94ce1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page