Skip to main content

a python optics module

Project description

# Prysm

[![Build Status](https://travis-ci.org/brandondube/prysm.svg?branch=master)](https://travis-ci.org/brandondube/prysm) [![Documentation Status](https://readthedocs.org/projects/prysm/badge/?version=stable)](http://prysm.readthedocs.io/en/stable/?badge=stable) [![Coverage Status](https://coveralls.io/repos/github/brandondube/prysm/badge.svg?branch=master)](https://coveralls.io/github/brandondube/prysm?branch=master)

A python3.6+ module for physical optics based modeling and processing of data from commerical and open source instrumentation.

## Installation

prysm is on pypi: ` pip install prysm `

prysm requires only [numpy](http://www.numpy.org/) and [scipy](https://www.scipy.org/).

### Optional Dependencies

Prysm uses numpy for array operations. If your environment has [numba](http://numba.pydata.org/) installed, it will automatically accelerate many of prysm’s compuations. To use an nVidia GPU, you must have [cupy](https://cupy.chainer.org/) installed. Plotting uses [matplotlib](https://matplotlib.org/). Images are read and written with [imageio](https://imageio.github.io/). Some MTF utilities utilize [pandas](https://pandas.pydata.org/). Reading of Zygo datx files requires [h5py](https://www.h5py.org/).

## Features

Prysm features robust tools for modeling and propagation of wavefronts to image planes and MTF. It also features object synthesis routines and a flexible convolution system in support of image simulation. Finally, it contains rich features for analysis of interferometric data.

For a complete list of features, see [the docs](https://prysm.readthedocs.io/en/stable/).

## Contributing

If you find an issue with prysm, please open an [issue](https://github.com/brandondube/prysm/issues) or [pull request](https://github.com/brandondube/prysm/pulls). Prysm has some usage of f-strings, so any code contributed is only expected to work on python 3.6+, and is licensed under the [MIT license](https://github.com/brandondube/prysm/blob/master/LICENSE.md). The library is most in need of contributions in the form of tests and documentation.

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

prysm-0.15.tar.gz (69.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

prysm-0.15-py2.py3-none-any.whl (78.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file prysm-0.15.tar.gz.

File metadata

  • Download URL: prysm-0.15.tar.gz
  • Upload date:
  • Size: 69.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.7.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2

File hashes

Hashes for prysm-0.15.tar.gz
Algorithm Hash digest
SHA256 61165a8f039e42bbcf761729b8b8b1963a4639ef7d24ccae08a8f0ad4319253b
MD5 fbfb8e26dc333b4a395d1db431d4a153
BLAKE2b-256 4508c84e291b4597ee415eb27571cdf6a6c41697ca906091aba5484a80862d02

See more details on using hashes here.

File details

Details for the file prysm-0.15-py2.py3-none-any.whl.

File metadata

  • Download URL: prysm-0.15-py2.py3-none-any.whl
  • Upload date:
  • Size: 78.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.7.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2

File hashes

Hashes for prysm-0.15-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6776d3e3e09416ae357b5ea8652f624cc956bbc8d2b248d97ae368213199fb24
MD5 ee0a5290eaefc58eb4bcdd0de38d001a
BLAKE2b-256 c83797b5e5b2b4969748c33d59e1926d8af5c2da149eb96f652f94f629e40f8b

See more details on using hashes here.

Supported by

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