D-K iteration in Python
Project description
dkpy
dkpy is a D-K iteration library written in Python, aiming to build upon python-control.
The package is currently a work-in-progress, and no API stability guarantees will be made until version 1.0.0.
Example
import dkpy
import numpy as np
dk_iter = dkpy.DkIterFixedOrder(
controller_synthesis=dkpy.HinfSynLmi(
lmi_strictness=1e-7,
solver_params=dict(
solver="MOSEK",
eps=1e-9,
),
),
structured_singular_value=dkpy.SsvLmiBisection(
bisection_atol=1e-5,
bisection_rtol=1e-5,
max_iterations=1000,
lmi_strictness=1e-7,
solver_params=dict(
solver="MOSEK",
eps=1e-9,
),
),
transfer_function_fit=dkpy.TfFitSlicot(),
n_iterations=3,
fit_order=4,
)
omega = np.logspace(-3, 3, 61)
block_structure = np.array([[1, 1], [1, 1], [2, 2]])
K, N, mu, info = dk_iter.synthesize(P, n_y, n_u, omega, block_structure)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dkpy-0.1.3.tar.gz
(22.2 kB
view details)
Built Distribution
dkpy-0.1.3-py3-none-any.whl
(17.7 kB
view details)
File details
Details for the file dkpy-0.1.3.tar.gz
.
File metadata
- Download URL: dkpy-0.1.3.tar.gz
- Upload date:
- Size: 22.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 057779afb518801113901ff25c253be41af4e313c317a180ec75b442ce2e7ab2 |
|
MD5 | 480c442ffd35c89e1b1f5db2e259e506 |
|
BLAKE2b-256 | 1391e4903b06b282e95db6ef325fdead1485d0da3b18c3ebd8138d9aa582f182 |
Provenance
The following attestation bundles were made for dkpy-0.1.3.tar.gz
:
Publisher:
release-package.yml
on decargroup/dkpy
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
dkpy-0.1.3.tar.gz
- Subject digest:
057779afb518801113901ff25c253be41af4e313c317a180ec75b442ce2e7ab2
- Sigstore transparency entry: 150608845
- Sigstore integration time:
- Predicate type:
File details
Details for the file dkpy-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: dkpy-0.1.3-py3-none-any.whl
- Upload date:
- Size: 17.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ef6bb9fd19404d1d17cf8db7a2ec89274a635329cc105bfa063ef666efa8ebb |
|
MD5 | a692ce5b3ec6551c7040bc86443a0689 |
|
BLAKE2b-256 | 442293659d7a1c621319060ad8ca37b5b6607f0a69aef7111e18984fb87e574c |
Provenance
The following attestation bundles were made for dkpy-0.1.3-py3-none-any.whl
:
Publisher:
release-package.yml
on decargroup/dkpy
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
dkpy-0.1.3-py3-none-any.whl
- Subject digest:
4ef6bb9fd19404d1d17cf8db7a2ec89274a635329cc105bfa063ef666efa8ebb
- Sigstore transparency entry: 150608846
- Sigstore integration time:
- Predicate type: