Split-step non-paraxial beam propagation simulation package
Project description
SSNP
Split-step non-paraxial beam propagation method
Features
- Forward model calculation based on CUDA
- Read/write data of common file type
- Gradient calculation
- Image reconstruction with regularization
Reference
Sharma, A., & Agrawal, A. (2004). Split-step non-paraxial beam propagation method. Physics and Simulation of Optoelectronic Devices XII, 5349, 132. https://doi.org/10.1117/12.528172
Lim, J., Ayoub, A. B., Antoine, E. E., & Psaltis, D. (2019). High-fidelity optical diffraction tomography of multiple scattering samples. Light: Science & Applications, 8(1), 82. https://doi.org/10.1038/s41377-019-0195-1
Changelog
To do list in current version
- Support background refractive index (n0 > 1) in gradient computation
0.0.2.beta (developing)
- Add skcuda as a substitution of reikna (no need to compile FFT)
- Compute several illumination on the same object in a batch
- Support background refractive index (n0 > 1) in model computation
- Add stream parameter for async operation and related small tools
- Add cache to avoid unnecessary recompiling
- Fix errors:
- data.write: fix unexpectedly changing input data when scaling before write
0.0.1 (Sep 7, 2020)
- Add gradient calculation support (tracking operations and doing autograd)
- Add config to set package-wise constant
- Add Multiplier class to generate auto-cached numpy/gpu array
- Add MATLAB .mat file read & write support (rely on scipy lib)
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
ssnp-0.0.2b0.tar.gz
(33.7 kB
view details)
Built Distribution
ssnp-0.0.2b0-py3-none-any.whl
(37.0 kB
view details)
File details
Details for the file ssnp-0.0.2b0.tar.gz
.
File metadata
- Download URL: ssnp-0.0.2b0.tar.gz
- Upload date:
- Size: 33.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1.post20200622 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7723a6f16403dddce53b6bf022c7db4185dd4fc27cad95542fdfbe091e6b0d04 |
|
MD5 | 5ba4e446e9bf4131ef0c4cd2d7428cd6 |
|
BLAKE2b-256 | a9c138ba88eeaa5bda81f02800d7bef645a9df8fed273d01245c7e2a97589a46 |
File details
Details for the file ssnp-0.0.2b0-py3-none-any.whl
.
File metadata
- Download URL: ssnp-0.0.2b0-py3-none-any.whl
- Upload date:
- Size: 37.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1.post20200622 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 597695402584a5f6848f8164015c0fbf56c3c5e8977223e2406ad6943b2dd7eb |
|
MD5 | be3bc01ab1d104454b23439a37fe5d34 |
|
BLAKE2b-256 | c77ad5158c6213cdb28f52ad7f9b28aa29818b1c3202c6fef6b06c0d749c693b |