pySTED
We have built a realistic STED simulation platform within the Python environment, namely pysted. pysted breaks down a STED acquisition into its main constituents: wavelength dependent focusing properties of the objective lens, fluorophore excitation and depletion, and fluorescence detection. Each step of the acquisition process corresponds to an independent component of the pipeline and is created with its own parameters that users can modify according to their experimental requirements. Generating a synthetic image with the pysted simulator requires the user to specify the positions of the emitters in the field of view (referred to as datamap) and to provide the characteristics of the fluorophore). The emission and photobleaching properties of the fluorophores that are implemented in pysted and inspired from previous theoretical and experimental models. As in a real experiment, the datamap is continuously being updated during the simulation process to realistically simulate point-scanning acquisition schemes.
In this repository, we provide a few datamaps that can be loaded using the provided tools. However, if the user wants to create their own datamaps, we also provide the code to generate their datamaps at this repository.
Installation
We recommend using a virtual environment in which to install pySTED. Anaconda facilitates the creation of a virtual environment on most operating system. For exemple, a virtual environment can be created using
conda create --name pysted python=3.10
conda activate pysted
Using pip
We do not provide a pypi installation package (yet). The user can however install pySTED using the url of the current repository
pip install pysted
From source
Clone the repository on your computer
git clone https://github.com/FLClab/pySTED.git
To install the necessary public libraries, run
python -m pip install -r pySTED/requirements.txt
python -m pip install -e pySTED
Note. Using the local install will require to compile the cython code that are required in pySTED.
Usage
We highly recommend to run the provided notebook to get some insight about how to use pySTED.
Notebook
A Google Colab jupyter notebook is provided to learn the basics of pysted.
Local
Once pysted is installed, running the example script should be possible.
python pySTED_tutorial.py
Citation
If you use any material from this repository please cite the following
@article{bilodeau2024development,
title={Development of AI-assisted microscopy frameworks through realistic simulation in pySTED},
author={Bilodeau, Anthony and Michaud-Gagnon, Albert and Chabbert, Julia and Turcotte, Benoit and Heine, J{\"o}rn and Durand, Audrey and Lavoie-Cardinal, Flavie},
journal={bioRxiv},
pages={2024--03},
year={2024},
publisher={Cold Spring Harbor Laboratory}
}
Release files for pysted 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pysted-0.0.4.tar.gz | 2.9 MB | Details |
Built distributions (wheels)
Total release size: 57.2 MB
Release files / pysted-0.0.4.tar.gz
| Download URL | pysted-0.0.4.tar.gz |
|---|---|
| Size | 2.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
57e930238d6783bf761154252a17b736f01dd07fea4b7b08dea6ac47733fb412
|
|
BLAKE2b-256 checksum How to use checksums |
ec1e45aaec10334c0961cc2cf2bbf48805e404573f5a74dd2b47087e445de51e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / pysted-0.0.4-cp312-cp312-win_amd64.whl
| Download URL | pysted-0.0.4-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 3.1 MB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
307096703bd00de93903132466f62b1787d8481417843a0d27760dca4de632d3
|
|
BLAKE2b-256 checksum How to use checksums |
1cdf9133947982c06578ff9ca9d48321f09824da15cafb2e8f022b6817658852
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / pysted-0.0.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | pysted-0.0.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 4.4 MB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
69e9b86eeb85f7adc319f94d541b4445e97b5feca9a426dadad9716419825bd7
|
|
BLAKE2b-256 checksum How to use checksums |
ed554f9c054fdda34c485cc3dcc53f58bd3ff8642f0ef0e3dc9d9cc89a024680
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / pysted-0.0.4-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | pysted-0.0.4-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 3.1 MB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
544d577bf19f797a18c91a27f66699d4b55d25a601ba27c3bfc13c8a6a5d31ab
|
|
BLAKE2b-256 checksum How to use checksums |
5abab52de76271ef22f55a25ffbaeb165746d769387a76ca3a42193bcdf6ce2a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / pysted-0.0.4-cp312-cp312-macosx_10_9_x86_64.whl
| Download URL | pysted-0.0.4-cp312-cp312-macosx_10_9_x86_64.whl |
|---|---|
| Size | 3.1 MB |
| Tags | CPython 3.12 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
e8adcaa4905492ee774401ef83609aedf4c84e6777bc7d97ffbe1b4577f0aec4
|
|
BLAKE2b-256 checksum How to use checksums |
0cab9951a9821bc1a66f06f5457190a44cecb421096a4442122265cddbfc86a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / pysted-0.0.4-cp311-cp311-win_amd64.whl
| Download URL | pysted-0.0.4-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 3.1 MB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
72904af561c330980fe71e14b63b6f10d54bf29c8e09d2498618f3950836736a
|
|
BLAKE2b-256 checksum How to use checksums |
c5e43ea51fe98b92757f48c64ef0bfa7d807d6fadb455a4b2bd8825dbcb51719
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / pysted-0.0.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | pysted-0.0.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 4.4 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
e0cee2106e9d58ab89a1fa38bb25c0fd490fd3f32aba16587c57897d1012eaea
|
|
BLAKE2b-256 checksum How to use checksums |
67745555b378e93a2c72c27a234d9395d50c55df5348bd9b7099f1a55282f8d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / pysted-0.0.4-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | pysted-0.0.4-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 3.1 MB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
17e9de03038b96bf3a44a4bccb00ba5ccf9fdb77435d0585cc85e6755d45c23a
|
|
BLAKE2b-256 checksum How to use checksums |
7d39d317ddb080c7a30d2065658ab8b442960934adaab5f3b549b52cb351086e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / pysted-0.0.4-cp311-cp311-macosx_10_9_x86_64.whl
| Download URL | pysted-0.0.4-cp311-cp311-macosx_10_9_x86_64.whl |
|---|---|
| Size | 3.1 MB |
| Tags | CPython 3.11 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
d396d8c3097e9a6fba4072757cf3e41046f7e082310184e67585463091a2c472
|
|
BLAKE2b-256 checksum How to use checksums |
b5b850943c17a453f3c4fdb3a527fa8bd7aa4888f89e091a398e6675fb283d6d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / pysted-0.0.4-cp310-cp310-win_amd64.whl
| Download URL | pysted-0.0.4-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 3.1 MB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
5c6c7fd3e8a3a08b65767ac3b2718db5e90441261a57a3b449398591e69b9105
|
|
BLAKE2b-256 checksum How to use checksums |
22c4cee765f4e260bd6e817f0ac350d859b2e748ecba77051f712d61b4999e5e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / pysted-0.0.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | pysted-0.0.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 4.2 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
3edad831e118b14c4d650b646538ec79f9d818a99d373faf8942706b5508b086
|
|
BLAKE2b-256 checksum How to use checksums |
36aa27482c1a944deb9ae22a35da3f767dfec67a59726c6fbb125c72dce2ccbc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / pysted-0.0.4-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | pysted-0.0.4-cp310-cp310-macosx_11_0_arm64.whl |
|---|---|
| Size | 3.1 MB |
| Tags | CPython 3.10 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
f9cfb8e69bf0c9915165eb65335d86b3b8a38332ca5b56d32cf65999b061410a
|
|
BLAKE2b-256 checksum How to use checksums |
6ed057e96809376910185a4da2002b95f729e3747189c076d8e30156665d8a69
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / pysted-0.0.4-cp310-cp310-macosx_10_9_x86_64.whl
| Download URL | pysted-0.0.4-cp310-cp310-macosx_10_9_x86_64.whl |
|---|---|
| Size | 3.1 MB |
| Tags | CPython 3.10 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
bb04b4cdaaf0df61a0b5749887f2490762d865b7c0b369d010999db73abc437e
|
|
BLAKE2b-256 checksum How to use checksums |
0c585935094da4cfb2db4e232af54071ddce0297f8a15c84dd3b57504d8be7a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / pysted-0.0.4-cp39-cp39-win_amd64.whl
| Download URL | pysted-0.0.4-cp39-cp39-win_amd64.whl |
|---|---|
| Size | 3.1 MB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
34076a08d9a3eccede1e97a7ccf7b3abd85539840b4d06fca08c458b372b8266
|
|
BLAKE2b-256 checksum How to use checksums |
b48f12891f6c9c94e4c132227b84732844e585c025ff96f8771c3ee028d68967
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / pysted-0.0.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | pysted-0.0.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 4.2 MB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
520e190ce581c7557a85049e1367bf8773c3b0f0e68534a668825e67f1ab0be2
|
|
BLAKE2b-256 checksum How to use checksums |
52a95e6bee8035c3afb405fdd84774709e837161a223ddc9c0906797ad06b6a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / pysted-0.0.4-cp39-cp39-macosx_11_0_arm64.whl
| Download URL | pysted-0.0.4-cp39-cp39-macosx_11_0_arm64.whl |
|---|---|
| Size | 3.1 MB |
| Tags | CPython 3.9 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
655e798b70b0b240de48266b1e1d6fd76339b0ddd591bc95f93223247bf81d5e
|
|
BLAKE2b-256 checksum How to use checksums |
3e0945f6887d81683125e4b65ca17f317e8fdee3207c6545fa08f8e607f8da90
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / pysted-0.0.4-cp39-cp39-macosx_10_9_x86_64.whl
| Download URL | pysted-0.0.4-cp39-cp39-macosx_10_9_x86_64.whl |
|---|---|
| Size | 3.1 MB |
| Tags | CPython 3.9 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
0b59dbd5aee43454af3ba83b8ff11815abc67a7be86fb0ce336271d6a94a48bf
|
|
BLAKE2b-256 checksum How to use checksums |
d82af88b29b8cc4bc477e8b67969b84642aa0fb7d8f69c752848d870015c3b5f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|