Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

The PyRadi toolkit provides utilities for radiometry (flux flow) calculations, supporting electro-optical and infrared system design.

Project Description

The PyRadi toolkit is a Python toolkit to perform optical and infrared computational radiometry (flux flow) calculations.

The toolkit is an extendable, integrated and coherent collection of basic functions, code modules, documentation, example templates, unit tests and resources, that can be applied towards diverse calculations in the electro-optics domain. The toolkit covers

  • Models of physical radiators (e.g., Planck’s Law) and conversion between values expressed in different units.
  • Mathematical operations for radiometry (e.g., spectral integrals, spatial integrals, spectral convolution)
  • Data manipulation (e.g., file input/output, interpolation, spectral quantity conversions, reading Flir Inc PTW files)
  • Detector modelling from physical parameters: including single element detectors and staring arrays
  • 3-D noise analysis of image sequences
  • Modtran tape7 read functions
  • Graphical visualization(2-D and 3-D graphs) in compact format, including cartesian, polar, image and mesh plots.
  • Spectral variables are expressed in Numpy arrays to ease spectral operations and integrals.

The individual scripts in the toolkit is supported by examples, test cases and documentation. These examples are included at the end of each script in the __main__ section. If you just run the script, the code will be executed and results will be available in graphs or text files.

Prerequisites

This toolkit requires (current versions in brackets) Python (2.7.12 or 3.5.2), Numpy (1.7 or later), SciPy (0.13 or later), Matplotlib (1.3 or later). Mayavi (4.1) (only for Python 2.7) is required only for one file to do three-dimensional rendering, the rest of the toolkit works fine without Mayavi.

Status

This project is Production. Current content is tested, stable and usable. With time and active use the scope of the pyradi offering will grow and expand.

The development is ongoing as and when new needs arise. We are open for feature requests as well.

Documentation

Local API documentation in html and pdf format is available in the pradi installation directory, along the paths doc/_build/html/index.html and doc/_build/latex/pyradi.pdf.

Online API documentation in html format is available here.

Detailed tutorial examples on the application of pyradi are available online in these notebooks.

For a detailed theoretical background and many more examples see the book by CJ Willers. See also SPIE8543Pyradi.

Example application

A typical radiometry toolkit requirement (very much simplified) is the calculation of the detector current of an electro-optical sensor viewing a target object through the atmosphere. The system can be conceptually modelled as comprising a radiating source with spectral radiance, an intervening medium (e.g. the atmosphere), a spectral filter, optics, a detector and an amplifier. The pyradi toolkit provides several classes and functions to implement this model with minimal code. An example solution is given in this script and is further explained with results in SPIE8543Pyradi.

[book]Electro-Optical System Analysis and Design: A Radiometry Perspective, C.J. Willers, Volume PM236, SPIE Press, 2013. http://spie.org/x648.html?product_id=2021423
[SPIE8543Pyradi]Pyradi: an open-source toolkit for infrared calculation and data processing, SPIE Proceedings Vol 8543, Security+Defence 2011, Technologies for Optical Countermeasures, Edinburgh, 24-27 September, C.J. Willers, M. S. Willers, R.A.T. Santos, P.J. van der Merwe, J.J. Calitz, A de Waal and A.E. Mudau.
Release History

Release History

This version
History Node

1.1.2

History Node

1.1.0

History Node

0.2.1

History Node

0.1.58

History Node

0.1.57

History Node

0.1.56

History Node

0.1.55

History Node

0.1.54

History Node

0.1.53

History Node

0.1.52

History Node

0.1.51

History Node

0.1.50

History Node

0.1.49

History Node

0.1.48

History Node

0.1.47

History Node

0.1.46

History Node

0.1.45

History Node

0.1.44

History Node

0.1.43

History Node

0.1.42

History Node

0.1.41

History Node

0.1.40

History Node

0.1.39

History Node

0.1.38

History Node

0.1.37

History Node

0.1.36

History Node

0.1.34

History Node

0.1.33

History Node

0.1.32

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pyradi-1.1.2.win-amd64.exe (48.6 MB) Copy SHA256 Checksum SHA256 any Windows Installer Jun 24, 2017
pyradi-1.1.2.zip (48.4 MB) Copy SHA256 Checksum SHA256 Source Jun 24, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting