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
- Version:
2018.10.18
Requirements
Matplotlib 2.2 (optional for plotting)
A Python distutils compatible C compiler (build)
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')
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-2018.10.18-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1fc7eab55bcedb5ad72e9ece2630214a1e4538e53ec95ea83787e8157dca7c79 |
|
MD5 | e6d8360a798eca2283abf91de5ed875a |
|
BLAKE2b-256 | e28f42cd17d3fe267fd04870a116bd4bda5ba923a2013364ed82ed377bfcd7cf |
Hashes for psf-2018.10.18-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7806d7a96ac0757278190c233d79a9518a39386dcc9514e968f69ad8e35ea94 |
|
MD5 | 0c00d73a6ba89a64d49e34951389dda6 |
|
BLAKE2b-256 | c8271c01488d71e28b2fb5913abde50e77531c25bebf834b3f15fe64b63a297d |
Hashes for psf-2018.10.18-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6906214a2bb5872200cd14f3703c75c3f2d5677bc93e4e589979ff20c954b04a |
|
MD5 | 7260925bbf49a5efe745567b61babcce |
|
BLAKE2b-256 | f9ea36248431450ad8bfe99d0fb1eb27e1342d7c6f029f278ba5d4bd875ecaee |
Hashes for psf-2018.10.18-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bae003d96cad753dabe8d76d7a1b5bd8798fc79392715a68bc4360a8334db67a |
|
MD5 | 59318e94c141b77f5864938642b2a874 |
|
BLAKE2b-256 | b4b5a1261c4aa307fd762a5242de32239cfac890ea07bff12cb1f0900823c467 |
Hashes for psf-2018.10.18-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b508c045ace23b3f866a38dc02a56ff9c5373f9a1ca0160d13e418c475dee6f |
|
MD5 | aae24b6ebed6ae5254ea64fed49a74d5 |
|
BLAKE2b-256 | b8a325bb56098171c258bce9aaa3051f1f8967eeddbb422f17be6c535a9fcd42 |
Hashes for psf-2018.10.18-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 270fd7a066566796e45a983d803fc377b973a8af543feb9415d0201d7893ef31 |
|
MD5 | 98b61fa852256de8652c239adda1df6f |
|
BLAKE2b-256 | 3f33eb78dc54294edfdec6b1fa9a5db712c6b33d0e1417f4f92d171902e7733b |
Hashes for psf-2018.10.18-cp34-cp34m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 705cd134a1d53d6e0a93f6de5d027e47184cd76f9a263bc835e6e0c97b3fb6cc |
|
MD5 | b7a64927e90fa2d0883d9ad99624df95 |
|
BLAKE2b-256 | 0dcd683cc0fbf63197bbe7e89dc3170529dccfbcd91f76ff65a7652003e65be7 |
Hashes for psf-2018.10.18-cp34-cp34m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce2e5ddd327f65671be78ba4162369cf3d671dd6657ab5941e2a86a5d80d0f74 |
|
MD5 | cb976220008f3941b76b3953c7683dd4 |
|
BLAKE2b-256 | 8446c8cf7cb69f2b241cde7dbb9dc3638ac65d69869bad88e5bbaef19065786f |
Hashes for psf-2018.10.18-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 860c7370bbc2e16af8c89b4b6a7f1b6f0343f1f88329c291aca80f327004746b |
|
MD5 | fcd96ce21349e854d8af08e10519d076 |
|
BLAKE2b-256 | 81bd3e007976493a3a1b20c9b090ee0526e817c069c3e36f1360cab5bafe25c3 |
Hashes for psf-2018.10.18-cp27-cp27m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73c96099f044222289817d85accea098b6be13736532165031b30be5cd18955f |
|
MD5 | e88286775652ac37ac6aabee20f59864 |
|
BLAKE2b-256 | 7ee9d69c69eeaa92d862363617696b7e63e77001d86c2bc4472e6195fe3f34b6 |