A package to compute all the poles and zeros of a holomorphic function in a region of the complex plane.
Project description
scikit-zeros
Documentation
scikit-zeros is a Python package for finding the all the roots of a
holomorphic function in a given region of the complex plane. It is based on
subdivision using the argument principle combined with AAA rational
approximation of the logarithm derivative.
Installation
You can install scikit-zeros using pip:
pip install skzeros
Example
import numpy as np
import skzeros
A = -0.19435
B = 1000.41
C = 522463
T = 0.005
def f(z):
return z**2 + A * z + B * np.exp(-T * z) + C
def f_z(z):
return 2 * z + A - T * B * np.exp(-T * z)
r = skzeros.Rectangle(complex(-2500, -15000), complex(10, 15000))
res = skzeros.find_zeros(r, f, f_z, max_arg_principle=7)
See Also
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file skzeros-0.0.2.tar.gz.
File metadata
- Download URL: skzeros-0.0.2.tar.gz
- Upload date:
- Size: 1.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2789ec76e022dd1ea9590bec18c840af1aa2d5451bbeabcf7b756a35871eb235
|
|
| MD5 |
75c481b8f885d53ef8677b2cbe673da8
|
|
| BLAKE2b-256 |
7eed8989cdb5f37a7cee7a6a57e430416501c8ab5b46da3c3d41428b85cb452c
|
Provenance
The following attestation bundles were made for skzeros-0.0.2.tar.gz:
Publisher:
cd.yml on j-bowhay/scikit-zeros
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
skzeros-0.0.2.tar.gz -
Subject digest:
2789ec76e022dd1ea9590bec18c840af1aa2d5451bbeabcf7b756a35871eb235 - Sigstore transparency entry: 272664167
- Sigstore integration time:
-
Permalink:
j-bowhay/scikit-zeros@19bcfedc2432577390cfbb826ad8072739a75cac -
Branch / Tag:
refs/tags/0.0.2 - Owner: https://github.com/j-bowhay
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cd.yml@19bcfedc2432577390cfbb826ad8072739a75cac -
Trigger Event:
release
-
Statement type:
File details
Details for the file skzeros-0.0.2-py3-none-any.whl.
File metadata
- Download URL: skzeros-0.0.2-py3-none-any.whl
- Upload date:
- Size: 12.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
80b478dc76c662cf02870121829bdd3b65d5e0c595d2976b59c9e0985a8ce039
|
|
| MD5 |
8a73ae07d0490eb1527d3ba861a8bd79
|
|
| BLAKE2b-256 |
40bf392b455b9d6458b07ee5742361edcaa24b1862a04cc399f8761772312085
|
Provenance
The following attestation bundles were made for skzeros-0.0.2-py3-none-any.whl:
Publisher:
cd.yml on j-bowhay/scikit-zeros
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
skzeros-0.0.2-py3-none-any.whl -
Subject digest:
80b478dc76c662cf02870121829bdd3b65d5e0c595d2976b59c9e0985a8ce039 - Sigstore transparency entry: 272664168
- Sigstore integration time:
-
Permalink:
j-bowhay/scikit-zeros@19bcfedc2432577390cfbb826ad8072739a75cac -
Branch / Tag:
refs/tags/0.0.2 - Owner: https://github.com/j-bowhay
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cd.yml@19bcfedc2432577390cfbb826ad8072739a75cac -
Trigger Event:
release
-
Statement type: