Skip to main content

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


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.2b1.tar.gz (41.2 kB view details)

Uploaded Source

Built Distribution

ssnp-0.0.2b1-py3-none-any.whl (46.3 kB view details)

Uploaded Python 3

File details

Details for the file ssnp-0.0.2b1.tar.gz.

File metadata

  • Download URL: ssnp-0.0.2b1.tar.gz
  • Upload date:
  • Size: 41.2 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

Hashes for ssnp-0.0.2b1.tar.gz
Algorithm Hash digest
SHA256 69d9e338fbe529909ee80f6b0bb96c84d854ca81a11d5e98670ab8b6289634fe
MD5 7f74f403079186cbfa90d35e0cca3d0f
BLAKE2b-256 2698318921201fbb2e21d484b1ec9fd507de3519cb286eaab04be8e2001c91a5

See more details on using hashes here.

File details

Details for the file ssnp-0.0.2b1-py3-none-any.whl.

File metadata

  • Download URL: ssnp-0.0.2b1-py3-none-any.whl
  • Upload date:
  • Size: 46.3 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

Hashes for ssnp-0.0.2b1-py3-none-any.whl
Algorithm Hash digest
SHA256 0dd73259599701d707bff4b3c46129c748def0450c65defa5bc8c1404cdbe326
MD5 cea04cf769dda96f70575731e6d90202
BLAKE2b-256 2db55d5fa91f3957119dd3f03f09e1405138ca203416dffc697406738216677a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page