Skip to main content

a python optics module

Project description

# Prysm

[![Build Status](]( [![Documentation Status](]( [![Coverage Status](]( [![DOI](](

A python3.6+ module for physical optics based modeling and processing of data from commerical and open source instrumentation. Prysm is the fastest numerical diffraction code in the world, more than a factor of 3 faster than its nearest competitor on CPU and more than a factor of 1000 on GPU. It enables modeling and scientific inquiry not possible with other tools while offering a simple and powerful API that reads like English.

## Installation

prysm is on pypi: ` pip install prysm `

prysm requires only [numpy](, [scipy](, and [astropy](

### Optional Dependencies

Prysm uses numpy for array operations. To use an nVidia GPU, you must have [cupy]( installed. Plotting uses [matplotlib]( Images are read and written with [imageio]( Some MTF utilities utilize [pandas]( and [seaborn]( Reading of Zygo datx files requires [h5py](

## 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](

## Examples

Several [examples]( are provided in the documentation.

## User’s Guide

A [guide]( for using the library is provided in the documentation.

## Contributing

If you find an issue with prysm, please open an [issue]( or [pull request]( 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]( 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.

Files for prysm, version 0.19.1
Filename, size File type Python version Upload date Hashes
Filename, size prysm-0.19.1-py2.py3-none-any.whl (105.5 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size prysm-0.19.1.tar.gz (93.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page