pearcey
A python package to compute the Pearcey function/integral in catastrophe optics
The Pearcey function $\text{Pe}(x, y)$ is defined as
$$\text{Pe}(x, y) = \int_{-\infty}^{\infty}e^{i(t^4 + xt^2 + yt)} dt$$
Requirements
- numpy
- scipy (preferrably >= 1.10.0 for a better numerical integration scheme)
Installation
This package is available on PyPI. To install, simply run
pip install pearcey
Usage
The core function is pearcey(x, y). For example, to compute the value of the Pearcey function $\text{Pe}(x, y)$ at $x = 0$ and $y = 0$, simply do
>>> from pearcey import pearcey; pearcey(0, 0)
(1.6748133935381728+0.693730422047619j)
For details, refer to the docstring here.
Metadata
Release files for pearcey 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pearcey-0.1.1.tar.gz | 3.8 kB | Without provenance | Details for pearcey-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pearcey-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for pearcey-0.1.1-py3-none-any.whl |
Total release size: 8.0 kB
Release files / pearcey-0.1.1.tar.gz
| Download URL | pearcey-0.1.1.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d1cb597bb6d731eecdd6565ea3a92466c54a569310c1b8b52f2b1d7caa588999
|
|
BLAKE2b-256 checksum How to use checksums |
3fa3be418720651ca135a230aea99825925d8905bfa161f2230be04b2205c4d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|
Release files / pearcey-0.1.1-py3-none-any.whl
| Download URL | pearcey-0.1.1-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ca50a4bd3ef1e00f02df3dd4a3d6b680e49b727f0033fffb1d58ca71da2328fd
|
|
BLAKE2b-256 checksum How to use checksums |
d4dc4c8b3a32cba335390709ad4c11dcaa6b1b6d1f9931099ba0a8e308273e08
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|
Security for pearcey 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.