Skip to main content

Tracking of nanoparticles, red blood cells, and microvessel walls with super-localization two-photon microscopy (SL2PM)

Project description

SL2PM

A package for tracking particles, red blood cells (RBCs), and microvessel walls with super-localization from images recorded with two-photon microscopy (2PM).

To get started with SL2PM, explore tutorials for tracking quantum dots, red blood cells, and capillaries. For example, if you are interested in measuring diameter of a capillary, made visible with fluorescently-labeled plasma (e.g. with FITC-dextran), see tutorial/capillaries/track_capillary.ipynb notebook.

All tracking algorithms require calibration of the microscope's photomultiplier tubes (tutorial/pmt_calibration/PMT_calibration.ipynb) and, for tracking capillaries, calibration of the microscope's point-spread function (tutorial/capillaries/PSF_calibration.ipynb).

The data analysis in SL2PM is data-driven, i.e., you need to check if underlying assumptions of SL2PM analysis are satisfied in your data before you apply any function from SL2PM. This is why we suggest using SL2PM with Jupyter notebooks, where you can explore your data step-by-step (following our examples) and tailor SL2PM analysis to your data, if needed.

The documentation can be found at https://sl2pm.readthedocs.io/en/latest/index.html

Installation

For the users: install from the PyPi distribution

pip install sl2pm

For the developers: install from the source (optionally, from the new Conda environment):

git clone git@github.com:drkutuzov/sl2pm.git
cd sl2pm
conda create -n sl2pm python==3.10
conda activate sl2pm
pip install -e .

Content

src/sl2pm contains the code for SL2PM.
docs/tutorial contains folders with examples of data analysis with SL2PM. Each folder contains Jupyter notebooks tutorials and examples of experimental data (as numpy arrays).

docs/tutorial/quantum_dots: Tracking single quantum dots (QDs) in the brain parenchyma.
docs/tutorial/red_blood_cells: Tracking single RBCs in a brain capillary.
docs/tutorial/capillaries: Tracking diameter and center of a brain capillary and calibration of the microscope's PSF.
docs/tutorial/pmt_calibration: Calibrating photomultiplier tubes (PMTs) for SL2PM.
docs/tutorial/bistable_bias: Estimating parameters of bistable bias – artefact sometimes present in the output of PMTs.

Usage

  • Select a folder in docs/tutorial based on the data analysis you need.
  • Upload your data (e.g. as a numpy array) to the folder.
  • Make a copy of the Jupyter notebook tutorial or make a new one.
  • Use the notebook to analyse your data using the tutorial as a guide.

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

sl2pm-1.0.1.tar.gz (7.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sl2pm-1.0.1-py3-none-any.whl (31.8 kB view details)

Uploaded Python 3

File details

Details for the file sl2pm-1.0.1.tar.gz.

File metadata

  • Download URL: sl2pm-1.0.1.tar.gz
  • Upload date:
  • Size: 7.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.1

File hashes

Hashes for sl2pm-1.0.1.tar.gz
Algorithm Hash digest
SHA256 bf33c2b6bb1cf90e414c2b23a8aeb9c652cd19637d8cb42ef4d9e451741c02d4
MD5 022db0f840da459d0a9765e46cfbba16
BLAKE2b-256 174a07817bedbeb587bd0017aa9f380963cb6ee7588371abfeb189a4b4dc55dd

See more details on using hashes here.

File details

Details for the file sl2pm-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: sl2pm-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 31.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.1

File hashes

Hashes for sl2pm-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f963c4b3f5687c7ddf8ef7c2f04a263f8dee2be6dffcbaf4e6e6f134baf181f9
MD5 ee8d4e97ef32a3e322d53ba79607bb05
BLAKE2b-256 8236c7dff05f2cbf45ac5a882c2812d6f7e573a43d1ec004d48c21a30fefc228

See more details on using hashes here.

Supported by

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