PAOS, the Physical Optics Simulator, is a fast, modern, and reliable Python package for Physical Optics studies. It implements Physical Optics Propagation in Fresnel approximation and paraxial ray tracing to analyze complex waveform propagation through both generic and off-axes optical systems.
Project description
PAOS
Introduction
PAOS
, the Physical Optics Simulator, is a fast, modern, and reliable Python package for Physical Optics studies.
It implements Physical Optics Propagation in Fresnel approximation and paraxial ray tracing to analyze complex waveform propagation through both generic and off-axes optical systems.
Table of contents
How to install
Instructions on how to install PAOS
.
Install from PyPI
PAOS
is available on PyPI and can be installed via pip as
pip install paos
Install from source code
PAOS
is compatible (tested) with Python 3.8, 3.9 and 3.10
To install from source, clone the repository and move inside the directory.
Then use pip
as
pip install .
Test your installation
Try importing PAOS
as
python -c "import paos; print(paos.__version__)"
Or running PAOS
itself with the help
flag as
paos -h
Or the Graphical User Interface with the help
flag as
paosgui -h
If there are no errors then the installation was successful!
Documentation
PAOS
comes with an extensive documentation, which can be built using Sphinx.
The documentation includes a tutorial, a user guide and a reference guide.
To build the documentation, install the needed packages first via:
pip install -e ".[docs]"
Build the html documentation
To build the html documentation, move into the docs
directory and run
make html
The documentation will be produced into the build/html
directory inside docs
.
Open index.html
to read the documentation.
Build the pdf documentation
To build the pdf, move into the docs
directory and run
make latexpdf
The documentation will be produced into the build/latex
directory inside docs
.
Open paos.pdf
to read the documentation.
The developers use pdflatex
; if you have another compiler for LaTex, please refer to sphinx documentation.
How to contribute
You can contribute to PAOS
by reporting bugs, suggesting new features, or contributing to the code itself.
If you wish to contribute to the code, please follow the steps described in the documentation under Developer guide
.
How to cite
A dedicated publication has been submitted and the relative information will be published soon. In the meanwhile, please, send an email to the developers.
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 Distribution
File details
Details for the file paos-1.0.3b1.tar.gz
.
File metadata
- Download URL: paos-1.0.3b1.tar.gz
- Upload date:
- Size: 68.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf9269058bcc0f21547510fdc4715f2cc0698823374296a71f641f6264afd04d |
|
MD5 | 5b4f5173171a86b5b60b94b0d326648a |
|
BLAKE2b-256 | 323cc32b36bd715a3b9c47637604a34215e7faf2b7353d650a4993c6f6bb0e01 |
File details
Details for the file paos-1.0.3b1-py3-none-any.whl
.
File metadata
- Download URL: paos-1.0.3b1-py3-none-any.whl
- Upload date:
- Size: 77.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60f5d53fd941def38c1473746306910e846d8c448d62bd0d71b30e613d06c5e8 |
|
MD5 | b160a26cce8d5024ca2753f3ad012a9e |
|
BLAKE2b-256 | 0f9d31a0eb3fa97a2e352f2bab93f546c821253768c234795a9805e43d70b93e |