Point Spread Function calculations for fluorescence microscopy
Project description
Psf is a Python library to calculate Point Spread Functions (PSF) for fluorescence microscopy.
This library is no longer actively developed.
- Authors:
Christoph Gohlke, Oliver Holub
- Organization:
Laboratory for Fluorescence Dynamics. University of California, Irvine
- License:
3-clause BSD
- Version:
2019.2.20
Requirements
Matplotlib 2.2 (optional for plotting)
A Python distutils compatible C compiler (build)
Revisions
- 2019.1.1
Update copyright year.
References
Electromagnetic diffraction in optical systems. II. Structure of the image field in an aplanatic system. B Richards and E Wolf. Proc R Soc Lond A, 253 (1274), 358-379, 1959.
Focal volume optics and experimental artifacts in confocal fluorescence correlation spectroscopy. S T Hess, W W Webb. Biophys J (83) 2300-17, 2002.
Electromagnetic description of image formation in confocal fluorescence microscopy. T D Viser, S H Wiersma. J Opt Soc Am A (11) 599-608, 1994.
Photon counting histogram: one-photon excitation. B Huang, T D Perroud, R N Zare. Chem Phys Chem (5), 1523-31, 2004. Supporting information: Calculation of the observation volume profile.
Gaussian approximations of fluorescence microscope point-spread function models. B Zhang, J Zerubia, J C Olivo-Marin. Appl. Optics (46) 1819-29, 2007.
The SVI-wiki on 3D microscopy, deconvolution, visualization and analysis. https://svi.nl/NyquistRate
Theory of Confocal Microscopy: Resolution and Contrast in Confocal Microscopy. http://www.olympusfluoview.com/theory/resolutionintro.html
Examples
>>> import psf >>> args = dict(shape=(32, 32), dims=(4, 4), ex_wavelen=488, em_wavelen=520, ... num_aperture=1.2, refr_index=1.333, ... pinhole_radius=0.55, pinhole_shape='round') >>> obsvol = psf.PSF(psf.GAUSSIAN | psf.CONFOCAL, **args) >>> print('%.5f, %.5f' % obsvol.sigma.ou) 2.58832, 1.37059 >>> obsvol = psf.PSF(psf.ISOTROPIC | psf.CONFOCAL, **args) >>> obsvol[0, :3] array([ 1. , 0.51071, 0.04397]) >>> # save the image plane to file >>> obsvol.slice(0).tofile('_test_slice.bin') >>> # save a full 3D PSF volume to file >>> obsvol.volume().tofile('_test_volume.bin')
Refer to the psf_example.py file in the source distribution for more.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for psf-2019.2.20-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40934e53a135ba110ff8c2c42c6caea01bbdd3b1f2f809a72affa357fb479c1a |
|
MD5 | bfa90172984d11feb4cbec5d795c5e1e |
|
BLAKE2b-256 | bb5af9429336e9db141955d885ea54deb1972f9eec754febd528e54c931b4e0e |
Hashes for psf-2019.2.20-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd8dc03a5d9ca0946a88cdd3ade0034191452aaad44e263f0609cd88e7e32c0b |
|
MD5 | 7886029d97dc84f2266a9dec628bd802 |
|
BLAKE2b-256 | 2dbc03548a282d49eb97d111ce5f3262c4a9184ca9bbee991e010b4bd2c0f31c |
Hashes for psf-2019.2.20-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9942f0c83a77e1ecad1a76f9526f3ac7a254702639f0e9a0260add46a39d6620 |
|
MD5 | 86773efd3d47f8577e456c3da4a21ffb |
|
BLAKE2b-256 | 59d0c0628601818a102a8f35aa1198af185c722e3bd0b7044ad362b1c2bb8f58 |
Hashes for psf-2019.2.20-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45d5fb7b9b03f730115cadf97e99a2b85935941dd0ab91bdeba035641b8cad6d |
|
MD5 | 8324fa8d7af6f1bac15de87c0717f7be |
|
BLAKE2b-256 | d85581d30c51709836c2b711c61f5f9bd3ab5dab71292f1787a384b4e9f778b3 |
Hashes for psf-2019.2.20-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e011a7131990f6fd6a069bb643a67cb85b7749fcc60d1d603ff0e2954f97f051 |
|
MD5 | a63c96a4e0d54c93ed15c11b91025baa |
|
BLAKE2b-256 | 43c5689b0d5236b190f13b85993c8080257863cd7d9ce84c867a2bf27faf642b |
Hashes for psf-2019.2.20-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c91a42c0f00d8f566ef298b06836d746524645945b4d1b281a91e093770e25e |
|
MD5 | 1061280b21654208071b0d724fb6edb0 |
|
BLAKE2b-256 | 1b224b1bb5697a66cc6976ef9085bf62dca819091dc1aa4eb00da0e1bcb097c6 |
Hashes for psf-2019.2.20-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4f676ab88e52423644bcb26948c8d7b99c555607c4e01c53f61283a0ab0f867 |
|
MD5 | 36fbecb66ab89370b0ac143ad1dc7530 |
|
BLAKE2b-256 | 5aab9fe8e1c71d789b34357249db6f027853a1e4316c23e0047335fcba379345 |
Hashes for psf-2019.2.20-cp27-cp27m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5af8fed886eb1c149481cc9c52b98ce18ff492dd91a181dc5c0b56f1821587bb |
|
MD5 | e8ee622c817cf60f486c91c55e69f685 |
|
BLAKE2b-256 | 8ec517e0037c883558a25fedc6461487cd02da840ab77c61279a84ee1e2070ca |