A python package to compute the Pearcey function/integral in catastrophe optics
The Pearcey function
- numpy
- scipy (preferrably >= 1.10.0 for a better numerical integration scheme)
This package is available on PyPI. To install, simply run
pip install pearcey
The core function is pearcey(x, y). For example, to compute the value of the Pearcey function
>>> from pearcey import pearcey; pearcey(0, 0)
(1.6748133935381728+0.693730422047619j)For details, refer to the docstring here.