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.10.14
Requirements
Matplotlib 2.2 (optional for plotting)
A Python distutils compatible C compiler (build)
Revisions
- 2019.10.14
Support Python 3.8.
- 2019.4.22
Fix setup requirements. Fix compiler warning.
- 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.10.14-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f52c20f75607bbcfde0c95fb63423b763fdaa637c920a17e2e4e4c43f049a703 |
|
MD5 | e52b46b8b22bd514afd16a2d3d0ffedf |
|
BLAKE2b-256 | 42a84993884374702b917c711fc41aed22d2e7e1661d5257d2bc46addb7dc1c5 |
Hashes for psf-2019.10.14-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 409293dac0b61faf879907a72dab2022b95ec5f74feea05de78384f2b3a7afdc |
|
MD5 | 29b01e3c79d457dd373905f86dd2be24 |
|
BLAKE2b-256 | b9fc6e379bcb6a154fb9fd5284ebeac152dd6527a402801399923be611731276 |
Hashes for psf-2019.10.14-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45a3aa7e1f5b4d68b0e2ac6ed21d4d48e01b7893b87ca687f14ba22e78c1e1fe |
|
MD5 | c29c6c2a057a2b81a30e6e128c61ce88 |
|
BLAKE2b-256 | 327d6f91000f9c0669cc01b5492d383a16d711b9a97f347f864bbdee3edb09a3 |
Hashes for psf-2019.10.14-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78af64d3f142a132198d76802bba0ccbf22784a17914e94a92ab6de21c49d053 |
|
MD5 | 0585fc2f84829774afc5f3b6fb90bd43 |
|
BLAKE2b-256 | 21f3b4d61afdf0961b2ac578797e5a401d9ddd07f7451976b392e52adc7b849a |
Hashes for psf-2019.10.14-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2e6af418ab0510d57fb23a00230691957f5c8c7f1f07591e34986b0b8afcf58 |
|
MD5 | 1f1e00b346ad4085558f7214204559f6 |
|
BLAKE2b-256 | 6b7f76949a21edfe90cf274bae042f17240b9f1eac082e83b1196316b3cb556d |
Hashes for psf-2019.10.14-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a1743f7f0e036dbfe576812a668c071655fa7756269dcd219748dbdb2d0eabb |
|
MD5 | 9f760bf8b0d88533ef950b2f50fab863 |
|
BLAKE2b-256 | d949a380daf0562aea80486cba0fb327d5915d0ad45a185f2ec43d2049305fae |
Hashes for psf-2019.10.14-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea193cc66dc1b6a3d390d3f46af2782fd8b1793e1b4269356eb0b4bc66d83b83 |
|
MD5 | d3012293c459f3eafdea9f74bd0321b4 |
|
BLAKE2b-256 | 41cbf57f1fda2ce76bf35c6876b1d0c152b1bc65a2c84e71d8fb95f67e80b05b |
Hashes for psf-2019.10.14-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7921be443675e3b53bea541b7cd19279b1d38d5e7eaaaf126940e9b3830e5cd |
|
MD5 | b902c9f00084b5c8303ebfdbbfbccea7 |
|
BLAKE2b-256 | 1bfa92f5afedffd64a2afcaf5168da336b3d9921813342544ccbf644e21b0032 |
Hashes for psf-2019.10.14-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d49512e03c3785a9fa6194bef3833d4845e6e65236c9f127ab320b941ec119db |
|
MD5 | 0c16336a2b0dd01d53afe6c83cd6b0b1 |
|
BLAKE2b-256 | 519a713df8949914333bbcfbea8a9aff632a0ca4c9cd9ea9db3dac9e3f6914ef |
Hashes for psf-2019.10.14-cp27-cp27m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66ae0f5d6073335d0c72467c49c544afcc3e96394365857aaf50e379da45c999 |
|
MD5 | 327f8e82d2bbb7e4c21b4b55faaa35b6 |
|
BLAKE2b-256 | 076f713fdd00908b75f18c3c4514f93992079112cc813a6e5b6951a243b3e593 |